Page 37 of 48

Re: Dashticz - Module - Garbage collector

Posted: Sunday 27 September 2020 22:48
by HansieNL
herbod wrote: Sunday 27 September 2020 22:16
HansieNL wrote: Sunday 27 September 2020 21:48 @herbod
Thank you! it is working again. I have sett ['garbage_use_cors_prefix'] to true but wat does it do? I am trying to understand what i did.
Answer: You can find a description here: https://dashticz.readthedocs.io/en/mast ... cors-proxy

What is the option "calendar_parse_locally" - This is an old setting and not used anymore.
So I can remove it?
Answer: Yes

The days are mentioned in English, can I get them in Dutch?
I have : var config = {}
config['language'] = 'nl_NL';
So I expected them to be in dutch.
Answer: try adding

Code: Select all

config['calendarlanguage'] = 'nl_NL';
to your config.js

Thanks!! Sometimes it can be so simple. Was looking for this for a while.
Can I change the date 06-10-2020 in the garbage collector dinsdag (tuesday) 06-10-2020, so adding the day?
As far as I know is this not possible.
If the garbage pickup is within a week/day, the date will be changed to the weekday, tomorrow. If it’s today, today will be shown.

Re: Dashticz - Module - Garbage collector

Posted: Tuesday 29 September 2020 14:46
by geertvercamer
recycleapp is not working here.
not in 3.5.2 anymore, not in 3.6
cors setting is set to true

3.5.2 has garbage_company still on 'ophaalkalender'
3.6 has garbage_company set to 'recycleapp'

both just show 'loading'

Re: Dashticz - Module - Garbage collector

Posted: Wednesday 30 September 2020 7:41
by geertvercamer
3.6.2 now gives 'no data found' (in Dutch)
garbage_company set to 'recycleapp'

garbage.js line 999: shouldn't that read 'identifier' instead of 'identified'?

Re: Dashticz - Module - Garbage collector

Posted: Wednesday 30 September 2020 13:41
by Lokonli
It seems recycleapp.be doesn't work at the moment:
recycleappbe.jpg
recycleappbe.jpg (112.03 KiB) Viewed 1544 times
(and you are right on your remark on line 999. Thanks! but not related to this issue)

Re: Dashticz - Module - Garbage collector

Posted: Wednesday 30 September 2020 22:48
by sammyke007
The recycleapp website is working again after being down for some days. However the dashticz garbage doesn't get any data on 3.6.0 and 3.6.2 beta.
Probably the API that's still down...

Re: Dashticz - Module - Garbage collector

Posted: Thursday 01 October 2020 0:01
by Lokonli
sammyke007 wrote:The recycleapp website is working again after being down for some days. However the dashticz garbage doesn't get any data on 3.6.0 and 3.6.2 beta.
Probably the API that's still down...
No, it was my mistake. I filtered the data until September. I'll create a fix tomorrow.

Sent from my SM-A320FL using Tapatalk


Re: Dashticz - Module - Garbage collector

Posted: Thursday 01 October 2020 8:07
by Lokonli
sammyke007 wrote: Wednesday 30 September 2020 22:48 The recycleapp website is working again after being down for some days. However the dashticz garbage doesn't get any data on 3.6.0 and 3.6.2 beta.
Probably the API that's still down...
Fixed in latest beta.

Re: Dashticz - Module - Garbage collector

Posted: Thursday 01 October 2020 8:45
by sammyke007
Fast fix once again and working again. Tnx Lokonli!

Re: Dashticz - Module - Garbage collector

Posted: Friday 30 October 2020 19:10
by cever
Just updated to 3.6.5 beta, the garbage doesn't work with recycleapp (BE), looking (very) quickly in garbage.js I could not find any url to fetch the data, is this a known issue ?

Re: Dashticz - Module - Garbage collector

Posted: Friday 30 October 2020 22:50
by Lokonli
I just discovered a bug in 3.6.5.

Please update to beta 3.6.6 and retry.

recycleapp is working on my system.

Re: Dashticz - Module - Garbage collector

Posted: Saturday 31 October 2020 22:32
by Ultimato
hi,

Mijn Afvalwijzer is not working here.
The error I get is because it is trying to get it's info from http://192.168.1.247:8083/0https://www. ... /*censored*/

this is the part of the config concerning the garbage collection:
Spoiler: show
config['garbage_company'] = 'mijnafvalwijzer';
config['garbage_icalurl'] = 0;
config['google_api_key'] = 0;
config['garbage_calendar_id'] = 0;
config['garbage_zipcode'] = '*censored*';
config['garbage_street'] = 0;
config['garbage_housenumber'] = '*censored*';
config['garbage_housenumberadd'] = 0;
config['garbage_maxitems'] = 0;
config['garbage_width'] = 0;
config['garbage_hideicon'] = 0;
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = 0;
config['garbage_use_names'] = 0;
config['calendarlanguage'] = 'nl_NL';

// --------------------------------------- afvalinzameling -----------------------------------------------------------

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'},
};
any idea how I could solve this?

I'm running dashticz 3.6.6

Re: Dashticz - Module - Garbage collector

Posted: Saturday 31 October 2020 23:26
by Lokonli
Ultimato wrote: Saturday 31 October 2020 22:32 hi,

Mijn Afvalwijzer is not working here.
The error I get is because it is trying to get it's info from http://192.168.1.247:8083/0https://www. ... /*censored*/

this is the part of the config concerning the garbage collection:
Spoiler: show
config['garbage_company'] = 'mijnafvalwijzer';
config['garbage_icalurl'] = 0;
config['google_api_key'] = 0;
config['garbage_calendar_id'] = 0;
config['garbage_zipcode'] = '*censored*';
config['garbage_street'] = 0;
config['garbage_housenumber'] = '*censored*';
config['garbage_housenumberadd'] = 0;
config['garbage_maxitems'] = 0;
config['garbage_width'] = 0;
config['garbage_hideicon'] = 0;
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = 0;
config['garbage_use_names'] = 0;
config['calendarlanguage'] = 'nl_NL';

// --------------------------------------- afvalinzameling -----------------------------------------------------------

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'},
};
any idea how I could solve this?

I'm running dashticz 3.6.6
It seems that your CORS proxy setting is incorrectly set to 0.

Did you add a config['default_cors_url'] setting in CONFIG.js? I would recommend to remove it.

Re: Dashticz - Module - Garbage collector

Posted: Sunday 01 November 2020 8:53
by Ultimato
:shock: when I checked the previous posts I found a ['default_cors_url'] setting set to 1.
I thought that might have been the problem so I removed it.
This morning, checking the config line by line again, I did indeed find another instance of ['default_cors_url'] which was set to 0

Garbage collection working as expected now, thanks!

Re: Dashticz - Module - Garbage collector

Posted: Monday 02 November 2020 9:13
by Timbau
Do you have the option to add?
https://afvalstoffendienstkalender.nl/
My zipcode 5251 be

Regards Tim

Re: Dashticz - Module - Garbage collector

Posted: Monday 02 November 2020 15:21
by madpatrick
Hi,

Is it possible to make a custom block of the Garbage output.
Now the only way is to are the line to the columns, but not configure it as a block.
I like to reduce the width to 6 instead of the stand 12 (complete width of the column)

Re: Dashticz - Module - Garbage collector

Posted: Monday 02 November 2020 17:06
by Lokonli
I'm rewriting the garbage module at the moment. It will then just behave like any other custom block. I'll also use it for auto testing as well. Currently I'm more or less half way testing all the garbage providers. See below for an intermediate result:
garbage.jpg
garbage.jpg (239.81 KiB) Viewed 1357 times
As soon as I've finalized the conversion, I'll add afvalstoffendienstkalender.nl

Re: Dashticz - Module - Garbage collector

Posted: Tuesday 03 November 2020 19:55
by smaus
since a month I no longer receive a notification about residual waste, and I get the following notification in my log.

@AFOpzet Error: Waste type not defined in the "waste type_cfg" table for found Waste type: Residual waste.

concerns the city of Purmerend

Re: Dashticz - Module - Garbage collector

Posted: Thursday 05 November 2020 20:49
by Lokonli
smaus wrote: Tuesday 03 November 2020 19:55 since a month I no longer receive a notification about residual waste, and I get the following notification in my log.

@AFOpzet Error: Waste type not defined in the "waste type_cfg" table for found Waste type: Residual waste.

concerns the city of Purmerend
I don't recognize your log. Is it related to Dashticz?

Support for purmerend garbage collection has been added to latest beta.

Re: Dashticz - Module - Garbage collector

Posted: Thursday 05 November 2020 21:10
by Lokonli
Timbau wrote: Monday 02 November 2020 9:13 Do you have the option to add?
https://afvalstoffendienstkalender.nl/
My zipcode 5251 be

Regards Tim
afvalstoffendienst has been added to latest beta.

Re: Dashticz - Module - Garbage collector

Posted: Sunday 08 November 2020 21:27
by Antoinne
Previsously I used this module with a custom 'ical' calender. After the recent update, I now get an "Error loading garbage data" on start-up. Would love to use the new block method. But can you add support for Grondstoffen- en Afvalstoffendienst regio Gooi en Vechtstreek (https://inzamelkalender.gad.nl)?