Dashticz - Module - Garbage collector Topic is solved
Moderators: leecollings, htilburgs, robgeerts
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
@NilsNijenhuis Did test again. Dashticz on Nginx webserver +PHP on Raspberry Pi works ok. WebStation +PHP on Syno NAS -> Geen gegevens gevonden?
Maybe with the extra info of @mojojojo490 someone knows what can be the problem and hopefully has a solution.
Maybe with the extra info of @mojojojo490 someone knows what can be the problem and hopefully has a solution.
Blah blah blah
-
- Posts: 81
- Joined: Friday 10 July 2020 22:56
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
@mojojojo490
if i use your code for the garbage collector i get no result...
if i use your code for the garbage collector i get no result...
- Attachments
-
- garbage.JPG (12.19 KiB) Viewed 1290 times
-
- Posts: 81
- Joined: Friday 10 July 2020 22:56
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
@hansienl
can it be a difference in php between raspberry pi and synology?
what version of php do you use on the raspberry
can it be a difference in php between raspberry pi and synology?
what version of php do you use on the raspberry
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Version on Raspberry Pi is 7.3.19-1. Mijn AfvalWijzer calendar is correct on both RPi and NAS.NilsNijenhuis wrote: ↑Wednesday 15 July 2020 21:23 @hansienl
can it be a difference in php between raspberry pi and synology?
what version of php do you use on the raspberry
Blah blah blah
-
- Posts: 32
- Joined: Saturday 03 August 2019 7:32
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: Netherlands, Heiloo
- Contact:
Re: Dashticz - Module - Garbage collector
@NilsNijenhuis what do you see when you follow the link:
Code: Select all
https://afvalkalender.circulus-berkel.nl/adres/7423GV:50
Starter RPi3B, Domoticz Stable 2020.2, 10x Qubino Mini Dimmer, 1x Qubino shutter
Plugwise Anna + Adam + 2x Koen-4 & 1x Floor; SolarEdge SE3000H
Dashticz v3
Plugwise Anna + Adam + 2x Koen-4 & 1x Floor; SolarEdge SE3000H
Dashticz v3
-
- Posts: 81
- Joined: Friday 10 July 2020 22:56
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
i see the picture below if i use the link on the laptop
- Attachments
-
- circulus berkel.JPG (115.66 KiB) Viewed 1223 times
-
- Posts: 81
- Joined: Friday 10 July 2020 22:56
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
my php version on my synology is 7.3.16-0006
strange that mijnafvalwijzer works on both your synology en raspberry and that Cirkuslus berkel doesn't work on your Synology nas…
does anyone else have the same problem? and has a solution
strange that mijnafvalwijzer works on both your synology en raspberry and that Cirkuslus berkel doesn't work on your Synology nas…
does anyone else have the same problem? and has a solution
-
- Posts: 81
- Joined: Friday 10 July 2020 22:56
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
is there nobody else who knows a solution for the circulusberkel garbage calender on a synology NAS?
-
- Posts: 81
- Joined: Friday 10 July 2020 22:56
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Gentlemen, I am a little further where things go wrong with getting the garbage query from Circulus-Berkel, the one below between the "" is a response from a friend of mine who tested it on his NAS.
"Put it on the NAS at my company and it doesn't work there either. At the bottom right you can see that things are going wrong with getGeneralData (eval). Dashticz has its own twisted jquery.min.js file. If they used If I had a standard, I could have tried a different version. Now I can't do anything with it. "
Is there someone here from the developers who put the 'jquery.min.js' together and could see what goes wrong on line 224: 4 ????
"Put it on the NAS at my company and it doesn't work there either. At the bottom right you can see that things are going wrong with getGeneralData (eval). Dashticz has its own twisted jquery.min.js file. If they used If I had a standard, I could have tried a different version. Now I can't do anything with it. "
Is there someone here from the developers who put the 'jquery.min.js' together and could see what goes wrong on line 224: 4 ????
- Attachments
-
- garbage fout in Json.jpg (201.58 KiB) Viewed 1170 times
-
- Posts: 81
- Joined: Friday 10 July 2020 22:56
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
beneath is some extra information after reading the error log on the synology NAS on my friends NAS.
the same problem occurs at my synology NAS. so the garbage collector (circulus-berkel) in combination with a synology nas doesn't work!!!
Can anyone tell me who the creator of this file is, and can he check what is going wrong....
------------------------------------------------------------------------------------------------------------------------
Hey Nils,
Had enabled error log on the NAS, so that more information is visible.
The following error message is given.
Warning: file_get_contents (): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /volume1/web/dashticz/vendor/dashticz/garbage/index.php on line 103
Call Stack:
0.0037 386960 1. {main} () /volume1/web/dashticz/vendor/dashticz/garbage/index.php:0
0.0038 387192 2. file_get_contents () /volume1/web/dashticz/vendor/dashticz/garbage/index.php:103
Warning: file_get_contents (https://afvalkalender.circulus-berkel.n ... /7423gv-50): failed to open stream: No such file or directory in / volume1 / web / dashticz / vendor / dashticz / garbage / index .php on line 103
Call Stack:
0.0037 386960 1. {main} () /volume1/web/dashticz/vendor/dashticz/garbage/index.php:0
0.0038 387192 2. file_get_contents () /volume1/web/dashticz/vendor/dashticz/garbage/index.php:103
If the creators can make an adjustment in the script based on the above error, that would be nice.
the same problem occurs at my synology NAS. so the garbage collector (circulus-berkel) in combination with a synology nas doesn't work!!!
Can anyone tell me who the creator of this file is, and can he check what is going wrong....
------------------------------------------------------------------------------------------------------------------------
Hey Nils,
Had enabled error log on the NAS, so that more information is visible.
The following error message is given.
Warning: file_get_contents (): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /volume1/web/dashticz/vendor/dashticz/garbage/index.php on line 103
Call Stack:
0.0037 386960 1. {main} () /volume1/web/dashticz/vendor/dashticz/garbage/index.php:0
0.0038 387192 2. file_get_contents () /volume1/web/dashticz/vendor/dashticz/garbage/index.php:103
Warning: file_get_contents (https://afvalkalender.circulus-berkel.n ... /7423gv-50): failed to open stream: No such file or directory in / volume1 / web / dashticz / vendor / dashticz / garbage / index .php on line 103
Call Stack:
0.0037 386960 1. {main} () /volume1/web/dashticz/vendor/dashticz/garbage/index.php:0
0.0038 387192 2. file_get_contents () /volume1/web/dashticz/vendor/dashticz/garbage/index.php:103
If the creators can make an adjustment in the script based on the above error, that would be nice.
-
- Posts: 81
- Joined: Friday 10 July 2020 22:56
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
We found the sollution for a working garbage collector for Circulus-Berkel on the Synology NAS
In de map dashticz:
/vendor/dashticz/garbage/index.php -> you need to maken a adjustment in de index.php file.
see the attachment to get it work!!!
In de map dashticz:
/vendor/dashticz/garbage/index.php -> you need to maken a adjustment in de index.php file.
see the attachment to get it work!!!
- Attachments
-
- php bestand.jpg (113.06 KiB) Viewed 1134 times
-
- Posts: 2261
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Great you found a solution!NilsNijenhuis wrote: ↑Wednesday 29 July 2020 20:50 We found the sollution for a working garbage collector for Circulus-Berkel on the Synology NAS
In de map dashticz:
/vendor/dashticz/garbage/index.php -> you need to maken a adjustment in de index.php file.
see the attachment to get it work!!!
It seems that the SSL checks that are used for the https connection are not handled correctly on a synology NAS.
Can you double check that you enabled the php openssl extension on your Synology?
(I couldn't see it in one of your previous posts https://www.domoticz.com/forum/viewtopi ... 40#p252306.
Just want to be sure ...)
In your fix you disable the https address checking. It will not do too much harm, so I'll include your workaround in the next beta.
Again, thanks for finding this workaround!
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
@Lokonli I tested on a Syno NAS and found out it was not working (empty string). I tried with different php versions / webservers, all with same result.
Php openssl was enabled.
Php openssl was enabled.
Blah blah blah
-
- Posts: 2261
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
ok, thanks for testing.
The garbage module uses the PHP function file_get_contents(). This function however also is used by the CORS proxy, no-cache, calendar module. Could you maybe test those modules on a Synology as well? (with a https address).
Probably they won't work neither,
or:
maybe there was only an issue with the Circulus-Berkel https certificate.
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Calendar and garbage is working o.k. on my Syno NAS. For the calendars I used https addresses. The problem is only with Circules-Berkel for some reason.
Blah blah blah
-
- Posts: 2261
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
The SSL certificate for circules-berkel.nl is issued by Sectigo. On Synology the Sectigo root certificate expired. I don't know how to update the root certificates on a Synology. If anyone knows how to do this please leave a message here.
-
- Posts: 84
- Joined: Friday 12 May 2017 20:03
- Target OS: -
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
ophaalkalender.be isn't working anymore. it redirects to recycleapp.be After that, it's not clear to me how to build the appropriate URL to get the info.
-
- Posts: 64
- Joined: Wednesday 11 September 2019 21:24
- Target OS: -
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Could it be that the data feed form Almere changed again? For GFT the module now publish zwart (black) instead of GFT with the current data.
- clinkadink
- Posts: 417
- Joined: Tuesday 31 December 2019 1:15
- Target OS: Linux
- Domoticz version: 2020.2
- Location: Swindon, UK
- Contact:
Re: Dashticz - Module - Garbage collector
"UI is the saddle, the stirrups, & the reins. UX is the feeling you get being able to ride the horse."
-
- Posts: 2261
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Support for recycleapp has been added to latest beta.geertvercamer wrote: ↑Monday 03 August 2020 22:20 ophaalkalender.be isn't working anymore. it redirects to recycleapp.be After that, it's not clear to me how to build the appropriate URL to get the info.
Who is online
Users browsing this forum: No registered users and 1 guest