Dashticz - Module - Garbage collector Topic is solved
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 81
- Joined: Friday 10 July 2020 22:56
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Ik having a problem with Garbage collector in Dashticz v3.
i use the code beneath and only get a empty window.
what am i doing wrong?
//configuring Garbage company
config['garbage_company'] = 'circulusberkel';
config['garbage_zipcode'] = '7423gv';
config['garbage_street'] = 'Dagpauwoog';
config['garbage_housenumber'] = '50';
config['garbage_maxitems'] = '3';
config['garbage_hideicon'] = false;
config['garbage_use_names'] = true;
config['garbage_use_colors'] = true;
config['garbage_icon_use_colors'] = true;
config['garbage'] = {
gft: {kliko: 'green', code: '#375b23', name: 'GFT'},
pmd: {kliko: 'orange', code: '#db5518', name: 'Plastic'},
rest: {kliko: 'grey', code: '#5e5d5c', name: 'Restafval'},
}
i use the code beneath and only get a empty window.
what am i doing wrong?
//configuring Garbage company
config['garbage_company'] = 'circulusberkel';
config['garbage_zipcode'] = '7423gv';
config['garbage_street'] = 'Dagpauwoog';
config['garbage_housenumber'] = '50';
config['garbage_maxitems'] = '3';
config['garbage_hideicon'] = false;
config['garbage_use_names'] = true;
config['garbage_use_colors'] = true;
config['garbage_icon_use_colors'] = true;
config['garbage'] = {
gft: {kliko: 'green', code: '#375b23', name: 'GFT'},
pmd: {kliko: 'orange', code: '#db5518', name: 'Plastic'},
rest: {kliko: 'grey', code: '#5e5d5c', name: 'Restafval'},
}
- Attachments
-
- dashboard.jpg (290.25 KiB) Viewed 1614 times
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
I've tested your garbage settings on my system, and it's working.NilsNijenhuis wrote: ↑Friday 10 July 2020 23:01 Ik having a problem with Garbage collector in Dashticz v3.
i use the code beneath and only get a empty window.
what am i doing wrong?
//configuring Garbage company
config['garbage_company'] = 'circulusberkel';
config['garbage_zipcode'] = '7423gv';
config['garbage_street'] = 'Dagpauwoog';
config['garbage_housenumber'] = '50';
config['garbage_maxitems'] = '3';
config['garbage_hideicon'] = false;
config['garbage_use_names'] = true;
config['garbage_use_colors'] = true;
config['garbage_icon_use_colors'] = true;
config['garbage'] = {
gft: {kliko: 'green', code: '#375b23', name: 'GFT'},
pmd: {kliko: 'orange', code: '#db5518', name: 'Plastic'},
rest: {kliko: 'grey', code: '#5e5d5c', name: 'Restafval'},
}
Maybe your PHP setup is not correct.
Did you install Dashticz on a Synology? On your Nas, PHP settings, did you enable the 'curl' and 'openssl' PHP extensions?
-
- Posts: 81
- Joined: Friday 10 July 2020 22:56
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
I have got a Symology NAS (DS213) with php 7.3 installed (see print screen) and curl and every other possibility enabled
- Attachments
-
- php 7.3.JPG (90.03 KiB) Viewed 1581 times
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Then we have to do some debugging.
In chrome press F12 to open DevTools.
Refresh Dashticz.
In DevTools, network tab, filter on your zipcode. You should see one network request.
What is the reply code?
Can you post the response?
Sent from my SM-A320FL using Tapatalk
In chrome press F12 to open DevTools.
Refresh Dashticz.
In DevTools, network tab, filter on your zipcode. You should see one network request.
What is the reply code?
Can you post the response?
Sent from my SM-A320FL using Tapatalk
-
- Posts: 81
- Joined: Friday 10 July 2020 22:56
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
if i use the code of someone else his garbage collector it does work.
But this is a different region and garbage collector company
// --------------------------------------------------------------------------------------------
// Garbage Collector
// --------------------------------------------------------------------------------------------
config['garbage_company'] = 'mijnafvalwijzer';
config['garbage_zipcode'] = '4891ZW';
config['garbage_street'] = 'Polanen';
config['garbage_housenumber'] = '1';
config['garbage_maxitems'] = '3';
config['garbage_hideicon'] = false;
config['garbage_use_names'] = true;
config['garbage_use_colors'] = true;
config['garbage_icon_use_colors'] = true;
config['garbage'] = {
gft: {kliko: 'green', code: '#375b23', name: 'GFT'},
pmd: {kliko: 'orange', code: '#db5518', name: 'Plastic'},
rest: {kliko: 'grey', code: '#5e5d5c', name: 'Restafval'},
But this is a different region and garbage collector company
// --------------------------------------------------------------------------------------------
// Garbage Collector
// --------------------------------------------------------------------------------------------
config['garbage_company'] = 'mijnafvalwijzer';
config['garbage_zipcode'] = '4891ZW';
config['garbage_street'] = 'Polanen';
config['garbage_housenumber'] = '1';
config['garbage_maxitems'] = '3';
config['garbage_hideicon'] = false;
config['garbage_use_names'] = true;
config['garbage_use_colors'] = true;
config['garbage_icon_use_colors'] = true;
config['garbage'] = {
gft: {kliko: 'green', code: '#375b23', name: 'GFT'},
pmd: {kliko: 'orange', code: '#db5518', name: 'Plastic'},
rest: {kliko: 'grey', code: '#5e5d5c', name: 'Restafval'},
-
- Posts: 81
- Joined: Friday 10 July 2020 22:56
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
see the print screen below @lokonli
is that what you need?
is that what you need?
- Attachments
-
- reply.JPG (93.78 KiB) Viewed 1579 times
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
The status code is 200 which is ok. Can you also click on response and show the result?
Sent from my SM-A320FL using Tapatalk
Sent from my SM-A320FL using Tapatalk
-
- Posts: 81
- Joined: Friday 10 July 2020 22:56
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
see the print screen
- Attachments
-
- response.JPG (74.56 KiB) Viewed 1558 times
-
- Posts: 2290
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
The response is empty. I dont know why. I will double check again on my system later this week.
Sent from my SM-A320FL using Tapatalk
Sent from my SM-A320FL using Tapatalk
-
- Posts: 81
- Joined: Friday 10 July 2020 22:56
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
oke thanks
i hope your reply later this week resolves some problems
i hope your reply later this week resolves some problems

-
- 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
Hey NilsNijenhuis, Can you share your CONFIG.js?NilsNijenhuis wrote: ↑Friday 10 July 2020 23:01 Ik having a problem with Garbage collector in Dashticz v3.
i use the code beneath and only get a empty window.
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
- HansieNL
- Posts: 964
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
@NilsNijenhuis and @Lokonli I checked the settings again and get garbage info.
Papier: maandag, GFT: 23-7-202, Rest: 30-7-2020
Papier: maandag, GFT: 23-7-202, Rest: 30-7-2020
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
hearby my config file, maybe you can see what i am doing wrong here...
hearby my config file, maybe you can see what i am doing wrong here...
- Attachments
-
- CONFIG.js
- (9.84 KiB) Downloaded 59 times
-
- 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
Thanks. It's strange. I will not get it work like that ...NilsNijenhuis wrote: ↑Tuesday 14 July 2020 20:06 @mojojojo490
hearby my config file, maybe you can see what i am doing wrong here...
I will try something else, continues...
[update: 21:23h] now i get the info: Plastic Donderdag ; GFT 23-7-2020; Restafval... not readable, cause the CSS is missing

But i do get the info. I changed my firewall temporary on port 8080, but I doubt this is it.
I also did update the dashticz. I run now version 3.5 (the latest).
On what kind of hardware are you running Dashticz / Domoticz?
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
- HansieNL
- Posts: 964
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
@NilsNijenhuis If I use your settings from my raspberry (Nginx webserver) it loads the data. From my Syno NAS it doesn't load.
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
@mojojojojo490 i run domoticz and dashticz on a synology ds213
domoticz v3.9483
dashticz v3.5 master
dashticz running on port 80 so i haven't made firewall settings
@hansienl, enig idee wat het verschil tussen beide is? of waar dit aan zou kunnen liggen?
(is english preferred or is dutch fine for this topic?)
domoticz v3.9483
dashticz v3.5 master
dashticz running on port 80 so i haven't made firewall settings
@hansienl, enig idee wat het verschil tussen beide is? of waar dit aan zou kunnen liggen?
(is english preferred or is dutch fine for this topic?)
- HansieNL
- Posts: 964
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
English is the only allowed language on this forum.NilsNijenhuis wrote: ↑Tuesday 14 July 2020 22:48 @mojojojojo490 i run domoticz and dashticz on a synology ds213
domoticz v3.9483
dashticz v3.5 master
dashticz running on port 80 so i haven't made firewall settings
@hansienl, enig idee wat het verschil tussen beide is? of waar dit aan zou kunnen liggen?
(is english preferred or is dutch fine for this topic?)
I don’t know (yet) why it doesn’t load. I tried with WebStation. What webserver do you use on your NAS?
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
i use webstation on my synology NAS
-
- 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
Hi Nils, for now i caný find why you don't get the info.
When i put your PC and number in the garbage collector, i do get the information.
Only the strainge situation is:
When i put my adress and number in it, it won't work. (1851VE, 106) It stays with: loading.....
The online site info gives the information, but the collector won't...
The PHP function isn't it also...
When i put your PC and number in the garbage collector, i do get the information.
Only the strainge situation is:
When i put my adress and number in it, it won't work. (1851VE, 106) It stays with: loading.....
The online site info gives the information, but the collector won't...
The PHP function isn't it also...
Code: Select all
// --------------------------------------------------------------------------------------------
// Garbage Collector
// --------------------------------------------------------------------------------------------
config['garbage_company'] = 'mijnafvalwijzer';
config['garbage_zipcode'] = '1851VE';
config['garbage_housenumber'] = '106';
config['garbage_maxitems'] = '3';
config['garbage_hideicon'] = false;
config['garbage_use_names'] = true;
config['garbage_use_colors'] = true;
config['garbage_icon_use_colors'] = true;
config['garbage_mapping'] = {
rest: ['grof', 'grey', 'rest', 'grijs','grijze'],
gft: ['gft', 'tuin', 'refuse bin', 'green', 'groen', 'Biodégradables', 'snoei'],
pmd: ['plastic', 'pmd', 'verpakking', 'kunststof', 'valorlux'],
papier: ['papier', 'blauw', 'blue', 'recycling bin collection'],
kca: ['chemisch', 'kca','kga'],
brown: ['brown', 'verre'],
black: ['black', 'zwart'],
milieu: ['milieu'],
kerstboom: ['kerst'],
};
config['garbage'] = {
gft: {kliko: 'green', code: '#375b23', name: 'GFT', icon: 'img/garbage/kliko_green.png'},
pmd: {kliko: 'orange', code: '#db5518', name: 'PMD', icon: 'img/garbage/kliko_orange.png'},
rest: {kliko: 'grey', code: '#5e5d5c', name: 'Restafval', icon: 'img/garbage/kliko_grey.png'},
papier: {kliko: 'blue', code: '#153477', name: 'Papier', icon: 'img/garbage/kliko_blue.png'},
kca: {kliko: 'red', code: '#b21807', name: 'Chemisch afval', icon: 'img/garbage/kliko_red.png'},
brown: {kliko: 'brown', code: '#7c3607', name: 'Bruin', icon: 'img/garbage/kliko_brown.png'},
black: {kliko: 'black', code: '#000000', name: 'Zwart', icon: 'img/garbage/kliko_black.png'},
milieu: {kliko: 'yellow', code: '#f9e231', name: 'Geel', icon: 'img/garbage/kliko_yellow.png'},
kerstboom: {kliko: 'green', code: '#375b23', name: 'Kerstboom', icon: 'img/garbage/tree.png'},
};
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: 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
When i press F12 (in Chrome) to open DevTools.mojojojo490 wrote: ↑Wednesday 15 July 2020 17:25 The online site info gives the information, but the collector won't...
The result in red is:
Code: Select all
<br />
<b>Warning</b>: Invalid argument supplied for foreach() in <b>/var/www/html/vendor/dashticz/garbage/index.php</b> on line <b>43</b><br />
[]
Code: Select all
foreach($return as $row){

[UPDATE 20:23h] when i follow the json link: http://json.mijnafvalwijzer.nl/?method= ... nummer=106 then the output = "NOK"
When i try the zipcode from a earlier comment on this tread (from mijnafvalwijzer.nl), then i get json info..... So i will contact AddComm for more info.
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
Who is online
Users browsing this forum: No registered users and 1 guest