Dashticz - Module - Garbage collector Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Lando
Posts: 6
Joined: Friday 30 April 2021 12:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lando »

Hoi lokonli,

Can you tel me what you have fixed exactly. I am not using the beta version, but the master v3. 8.0.2. Does your fix also works in the master version?
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lokonli »

Probably within a month I'll create a new master version.

For the exact changes, see:
https://github.com/Dashticz/dashticz/pull/866
Lando
Posts: 6
Joined: Friday 30 April 2021 12:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lando »

Thnx for your support
Lando
Posts: 6
Joined: Friday 30 April 2021 12:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lando »

Lokonli,

Ik heb de dashticz versie omgezet naar de Beta versie en deze werkt. Super.
stephanvdplas
Posts: 74
Joined: Wednesday 13 February 2019 18:09
Target OS: Windows
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by stephanvdplas »

Alas to say that, also with latest beta V3.8.4 the gatbage module still doesn't work. Keeps saying: Loading...
- Running LMS, Domoticz and Dashticz on a windows 11 laptop.
- LMS (11 players) / Hue (26 lights, 2 switches) / Z-wave (14 devices) / Toon (unrooted) / Chromecast
Lando
Posts: 6
Joined: Friday 30 April 2021 12:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lando »

Stephan,

heb je de cors prefix op 1 staan? Bij 0 geeft hij bij mij ook aan: 'laden".
config['garbage_use_cors_prefix'] = 1;
stephanvdplas
Posts: 74
Joined: Wednesday 13 February 2019 18:09
Target OS: Windows
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by stephanvdplas »

Lando wrote: Tuesday 17 August 2021 12:57 Stephan,

heb je de cors prefix op 1 staan? Bij 0 geeft hij bij mij ook aan: 'laden".
config['garbage_use_cors_prefix'] = 1;
Ja
- Running LMS, Domoticz and Dashticz on a windows 11 laptop.
- LMS (11 players) / Hue (26 lights, 2 switches) / Z-wave (14 devices) / Toon (unrooted) / Chromecast
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lokonli »

stephanvdplas wrote: Tuesday 17 August 2021 14:14
Lando wrote: Tuesday 17 August 2021 12:57 Stephan,

heb je de cors prefix op 1 staan? Bij 0 geeft hij bij mij ook aan: 'laden".
config['garbage_use_cors_prefix'] = 1;
Ja
What's your zipcode and housenumber? I'll test here. You can send it to me by PM.

If you open DevTools (press F12) and refresh Dashticz, which errors are reported in the DevTools console tab?
On the DevTools network tab, can you try to find the request to get the garbage data. What is the response status? and the result?
BlueMotion
Posts: 10
Joined: Thursday 04 June 2020 15:10
Target OS: NAS (Synology & others)
Domoticz version: 2020.2
Location: Subtropical Scandinavia (Fryslan)
Contact:

Re: Dashticz - Module - Garbage collector

Post by BlueMotion »

running Dashticz 3.8.0.2

Having trouble with the garbage collector for a couple of months now. So as well in version 3.8.0.1. Had still some hope that the update would fix the issue. Read that you solved it for Venlo.

Troubledescription:
popup in dashticz at startup:
Error loading garbage date: Undefined

Block keeps "laden".

Data to test with: (headquater of Omrin)

Code: Select all

blocks['mygarbage'] = {
    company: 'omrin',
    zipcode: '8938BA',
    street: 'Hidalgoweg',
    housenumber: 5,
	maxitems: 5,
    width: 12,
}
Did some test with other another company and that one worked fine. Must be a change on the site of omrin I think.
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz - Module - Garbage collector

Post by pvklink »

Hi, after a long holiday i updated to the latest new dashticz beta (scriptautomatic), and have some (small) problems.
One of them is the garbage functionality.

dashticz 3.8.4
domoticz docker 2021.1 (13422)
python 3.7.3
php 7.4.22

This is my config that works with the latest beta from july, no idea what is wrong, but i also have problems with 112/alarmmeldingen and agenda/f1 agenda/football and some news stuff... these give no records or are hanging...
Looks if some sync programm is not working anymore in this beta version..
Can i go back to a previous version of dashticz, or is there a workaround?

@update with the manual install procedure i got this latest version working.
But With the automatic one i get the problems described

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: '#FFFFFF', name: 'GFT (groene bak)', icon: 'img/garbage/kliko_green.png'},
pmd: {kliko: 'orange', code: '#FFFFFF', name: 'PMD', icon: 'img/garbage/kliko_orange.png'},
rest: {kliko: 'grey', code: '#FFFFFF', name: 'Restafval', icon: 'img/garbage/kliko_grey.png'},
papier: {kliko: 'blue', code: '#FFFFFF', name: 'Papier', icon: 'img/garbage/kliko_blue.png'},
kca: {kliko: 'red', code: '#FFFFFF', name: 'Chemisch afval', icon: 'img/garbage/kliko_red.png'},
brown: {kliko: 'brown', code: '#FFFFFF', name: 'Bruin', icon: 'img/garbage/kliko_brown.png'},
black: {kliko: 'black', code: '#FFFFFF', name: 'Zwart', icon: 'img/garbage/kliko_black.png'},
milieu: {kliko: 'yellow', code: '#FFFFFF', name: 'Geel', icon: 'img/garbage/kliko_yellow.png'},
kerstboom: {kliko: 'green', code: '#FFFFFF', name: 'Kerstboom', icon: 'img/garbage/tree.png'},};

blocks['mygarbage'] =
{
icalurl: '',
google_api_key:'',
garbage_calendar_id: '',
garbage_use_colors: 1,
garbage_use_names: 1,
garbage_icon_use_colors: 1,
garbage_hideicon: 0,
garbage_use_cors_prefix: 1,
company: 'avalex',
zipcode: 'xxxxxxxx',
street: 'xxxxxxxxxxxx',
housenumber: xx,
housenumberadd: '',
maxitems: 12,
width: 5
}
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lokonli »

pvklink wrote: Wednesday 25 August 2021 16:24 Hi, after a long holiday i updated to the latest new dashticz beta (scriptautomatic), and have some (small) problems.
One of them is the garbage functionality.

dashticz 3.8.4
domoticz docker 2021.1 (13422)
python 3.7.3
php 7.4.22

This is my config that works with the latest beta from july, no idea what is wrong, but i also have problems with 112/alarmmeldingen and agenda/f1 agenda/football and some news stuff... these give no records or are hanging...
Looks if some sync programm is not working anymore in this beta version..
Can i go back to a previous version of dashticz, or is there a workaround?

@update with the manual install procedure i got this latest version working.
But With the automatic one i get the problems described

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: '#FFFFFF', name: 'GFT (groene bak)', icon: 'img/garbage/kliko_green.png'},
pmd: {kliko: 'orange', code: '#FFFFFF', name: 'PMD', icon: 'img/garbage/kliko_orange.png'},
rest: {kliko: 'grey', code: '#FFFFFF', name: 'Restafval', icon: 'img/garbage/kliko_grey.png'},
papier: {kliko: 'blue', code: '#FFFFFF', name: 'Papier', icon: 'img/garbage/kliko_blue.png'},
kca: {kliko: 'red', code: '#FFFFFF', name: 'Chemisch afval', icon: 'img/garbage/kliko_red.png'},
brown: {kliko: 'brown', code: '#FFFFFF', name: 'Bruin', icon: 'img/garbage/kliko_brown.png'},
black: {kliko: 'black', code: '#FFFFFF', name: 'Zwart', icon: 'img/garbage/kliko_black.png'},
milieu: {kliko: 'yellow', code: '#FFFFFF', name: 'Geel', icon: 'img/garbage/kliko_yellow.png'},
kerstboom: {kliko: 'green', code: '#FFFFFF', name: 'Kerstboom', icon: 'img/garbage/tree.png'},};

blocks['mygarbage'] =
{
icalurl: '',
google_api_key:'',
garbage_calendar_id: '',
garbage_use_colors: 1,
garbage_use_names: 1,
garbage_icon_use_colors: 1,
garbage_hideicon: 0,
garbage_use_cors_prefix: 1,
company: 'avalex',
zipcode: 'xxxxxxxx',
street: 'xxxxxxxxxxxx',
housenumber: xx,
housenumberadd: '',
maxitems: 12,
width: 5
}
Looking at the issues you have with the auto install version I think it relates to the CORS proxy. And probably that is caused by the PHP version that is used. It might be Synology related. I'll do some tests and try to reproduce. Thanks for reporting.
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lokonli »

BlueMotion wrote: Wednesday 25 August 2021 14:47 running Dashticz 3.8.0.2

Having trouble with the garbage collector for a couple of months now. So as well in version 3.8.0.1. Had still some hope that the update would fix the issue. Read that you solved it for Venlo.

Troubledescription:
popup in dashticz at startup:
Error loading garbage date: Undefined

Block keeps "laden".

Data to test with: (headquater of Omrin)

Code: Select all

blocks['mygarbage'] = {
    company: 'omrin',
    zipcode: '8938BA',
    street: 'Hidalgoweg',
    housenumber: 5,
	maxitems: 5,
    width: 12,
}
Did some test with other another company and that one worked fine. Must be a change on the site of omrin I think.
The Omrin address is not a valid pickup address for Omrin...

First try your zipcode on omrin.nl. If that's working, please send your zipcode to me by PM and I'll do some tests.
geertvercamer
Posts: 84
Joined: Friday 12 May 2017 20:03
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by geertvercamer »

Hi,

calendar blocks display date/time - subject
Garbage displays item - date

I would appreciate to have the garbage also display date - item. Maybe by a setting?
User avatar
HansieNL
Posts: 960
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by HansieNL »

geertvercamer wrote: Friday 27 August 2021 12:06 Hi,

calendar blocks display date/time - subject
Garbage displays item - date

I would appreciate to have the garbage also display date - item. Maybe by a setting?
What layout are you using for the garbage block?
The layout refers to a template in the tpl folder. You can copy a template and rename it to garbage_3.tpl. Edit it to your needs. Then you can use layout:3 in your block.
Blah blah blah
geertvercamer
Posts: 84
Joined: Friday 12 May 2017 20:03
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by geertvercamer »

Yes HansieNL, this is really useful.
Do you have any idea where I can find more info about the tpl system?
Thanks
BlueMotion
Posts: 10
Joined: Thursday 04 June 2020 15:10
Target OS: NAS (Synology & others)
Domoticz version: 2020.2
Location: Subtropical Scandinavia (Fryslan)
Contact:

Re: Dashticz - Module - Garbage collector

Post by BlueMotion »

Is there any update on this issue?

Did sent you a message lokonli.
User avatar
Rolandet
Posts: 95
Joined: Thursday 31 January 2019 21:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: The Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by Rolandet »

I haven't gotten any updates from my garbage collector (omrin) since Sept 28th. Is there any way to trigger the script manual?
Custodes Septentrionum
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lokonli »

It refreshes automatically. Can you send me your zip code+house number? Then I'll check.

Verstuurd vanaf mijn AC2003 met Tapatalk

User avatar
Rolandet
Posts: 95
Joined: Thursday 31 January 2019 21:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: The Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by Rolandet »

Lokonli wrote: Thursday 07 October 2021 19:00 It refreshes automatically. Can you send me your zip code+house number? Then I'll check.

Verstuurd vanaf mijn AC2003 met Tapatalk
8925LC 5

Thanks. Can't figure out what 's wrong here. It used to work just fine.
Custodes Septentrionum
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Lokonli »

Rolandet wrote: Thursday 07 October 2021 19:03
Lokonli wrote: Thursday 07 October 2021 19:00 It refreshes automatically. Can you send me your zip code+house number? Then I'll check.

Verstuurd vanaf mijn AC2003 met Tapatalk
8925LC 5

Thanks. Can't figure out what 's wrong here. It used to work just fine.
It's working on my system.

Can you open the following url in a browser, and post the output here?

Code: Select all

http://dashticz ip:port/vendor/dashticz/garbage/index.php?service=omrin&sub=undefined&zipcode=8925LC&nr=5&t=
(Use your own dashticz ip:port address)

Further:
What's your Dashticz version?
And your PHP version as reported by Dashticz?

You can find the version info via the Dashticz settings icon (upper right) -> info tab
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests