Page 44 of 48

Re: Dashticz - Module - Garbage collector

Posted: Friday 13 August 2021 17:44
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?

Re: Dashticz - Module - Garbage collector

Posted: Friday 13 August 2021 19:44
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

Re: Dashticz - Module - Garbage collector

Posted: Friday 13 August 2021 19:49
by Lando
Thnx for your support

Re: Dashticz - Module - Garbage collector

Posted: Tuesday 17 August 2021 12:31
by Lando
Lokonli,

Ik heb de dashticz versie omgezet naar de Beta versie en deze werkt. Super.

Re: Dashticz - Module - Garbage collector

Posted: Tuesday 17 August 2021 12:53
by stephanvdplas
Alas to say that, also with latest beta V3.8.4 the gatbage module still doesn't work. Keeps saying: Loading...

Re: Dashticz - Module - Garbage collector

Posted: Tuesday 17 August 2021 12:57
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;

Re: Dashticz - Module - Garbage collector

Posted: Tuesday 17 August 2021 14:14
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

Re: Dashticz - Module - Garbage collector

Posted: Tuesday 17 August 2021 14:34
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?

Re: Dashticz - Module - Garbage collector

Posted: Wednesday 25 August 2021 14:47
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.

Re: Dashticz - Module - Garbage collector

Posted: Wednesday 25 August 2021 16:24
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
}

Re: Dashticz - Module - Garbage collector

Posted: Thursday 26 August 2021 20:49
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.

Re: Dashticz - Module - Garbage collector

Posted: Thursday 26 August 2021 21:03
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.

Re: Dashticz - Module - Garbage collector

Posted: Friday 27 August 2021 12:06
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?

Re: Dashticz - Module - Garbage collector

Posted: Friday 27 August 2021 21:05
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.

Re: Dashticz - Module - Garbage collector

Posted: Tuesday 31 August 2021 11:50
by geertvercamer
Yes HansieNL, this is really useful.
Do you have any idea where I can find more info about the tpl system?
Thanks

Re: Dashticz - Module - Garbage collector

Posted: Monday 20 September 2021 13:16
by BlueMotion
Is there any update on this issue?

Did sent you a message lokonli.

Re: Dashticz - Module - Garbage collector

Posted: Wednesday 06 October 2021 20:47
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?

Re: Dashticz - Module - Garbage collector

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

Verstuurd vanaf mijn AC2003 met Tapatalk


Re: Dashticz - Module - Garbage collector

Posted: Thursday 07 October 2021 19:03
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.

Re: Dashticz - Module - Garbage collector

Posted: Thursday 07 October 2021 21:33
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