Page 23 of 48
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 17 January 2018 13:51
by aiolos
EdwinK wrote: ↑Wednesday 17 January 2018 10:29
Looks there is something more happening.
As seen on
https://www.mijnafvalwijzer.nl/nl/3161LH/27/ today is 'grof vuil' and on Friday we have 'rest'. But on dashticz it shows all the dates as 'rest'. Only 'gft' is changing colors in the text.
Part of config.js
That makes sense. 'Grof' and 'Grijs' both resolve to a grey bin. A while ago someone also asked for a similar change in this behaviour and I think we have to refactor this a bit (and maybe even give the option to add some config options for this). Some of the requests are a bit conflicting, since bin colours and their type of garbage differ per region.
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 17 January 2018 14:08
by EdwinK
Off course.. Didn't even see that. Maybe I can fix this myself for now with just another color bin for one of them.
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 17 January 2018 20:58
by maceddy
Thanks, I cannot get it to work though..
- Spoiler: show
-
config['garbage_company'] = 'area';
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = '1234XX';
config['garbage_street'] = 'Streetname;
config['garbage_housenumber'] = '83';
config['garbage_maxitems'] = '3';
config['garbage_width'] = '5';
config['garbage_hideicon'] = 0;
config['garbage'] = {
gft: {kliko: 'green', code: '#375b23', name: 'GFT'},
pmd: {kliko: 'orange', code: '#db5518', name: 'PMD'},
rest: {kliko: 'grey', code: '#5e5d5c', name: 'Restafval'},
papier: {kliko: 'blue', code: '#153477', name: 'Papier'},
kca: {kliko: 'red', code: '#b21807', name: 'Chemisch afval'},
brown: {kliko: 'brown', code: '#7c3607', name: 'Bruin'},
black: {kliko: 'black', code: '#000000', name: 'Zwart'},
};
config['garbage_use_names'] = true;
config['garbage_use_colors'] = true;
It just gives 'Loading' next to the Kliko icon... Have I done something wrong? Also tried without Streetname and few other options.
aiolos wrote: ↑Tuesday 16 January 2018 0:44
maceddy wrote: ↑Saturday 13 January 2018 21:16
Any chance you will implement 'Area Reiniging'?
</ snip>
Both these garbage collection calendars are added. See this
PR
The garbage company configuration is:
config['garbage_company'] = 'area';
and
config['garbage_company'] = 'almere';
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 17 January 2018 21:09
by aiolos
maceddy wrote: ↑Wednesday 17 January 2018 20:58
Thanks, I cannot get it to work though..
- Spoiler: show
-
config['garbage_company'] = 'area';
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = '1234XX';
config['garbage_street'] = 'Streetname;
config['garbage_housenumber'] = '83';
config['garbage_maxitems'] = '3';
config['garbage_width'] = '5';
config['garbage_hideicon'] = 0;
config['garbage'] = {
gft: {kliko: 'green', code: '#375b23', name: 'GFT'},
pmd: {kliko: 'orange', code: '#db5518', name: 'PMD'},
rest: {kliko: 'grey', code: '#5e5d5c', name: 'Restafval'},
papier: {kliko: 'blue', code: '#153477', name: 'Papier'},
kca: {kliko: 'red', code: '#b21807', name: 'Chemisch afval'},
brown: {kliko: 'brown', code: '#7c3607', name: 'Bruin'},
black: {kliko: 'black', code: '#000000', name: 'Zwart'},
};
config['garbage_use_names'] = true;
config['garbage_use_colors'] = true;
It just gives 'Loading' next to the Kliko icon... Have I done something wrong? Also tried without Streetname and few other options.
aiolos wrote: ↑Tuesday 16 January 2018 0:44
maceddy wrote: ↑Saturday 13 January 2018 21:16
Any chance you will implement 'Area Reiniging'?
</ snip>
Both these garbage collection calendars are added. See this
PR
The garbage company configuration is:
config['garbage_company'] = 'area';
and
config['garbage_company'] = 'almere';
Can you send me your postalcode/housenumber (can also be your neighbours

) by PM, there might be a new type of garbage in there which I haven't seen yet and on which it is failing.
Edit: A fix for the waste api is available in a
PR. There is also some preparation in it for a configurable mapping of the colours of the bin. More about that later, not sure about the solution yet, and I don't want people to have to update their config every time.
Re: Dashticz - Module - Garbage collector
Posted: Thursday 18 January 2018 10:54
by Zoekm
Zoekm wrote: ↑Friday 08 December 2017 13:10
Just recently installed Dashticz and I like it very much, great work! Yesterday was the first time the garbage ("Restafval") pickupdate passed by and I noticed that on the day of pickup of "Restafval", in my case Thursdays ("donderdag"), the block already shows the next pickup days/dates and garbage type, so on Thursday I see the next weeks messages and later. Yesterday, Thursday, they came to pickup "Restafval", but the Dashticz shows "GFT":"Thursday". For me this is confusing, is it possible that the first line displays the garbage type until that day has passed? Is there a configuration setting for this?
Updated Dahticz and now using iCal, same issue pops up again, see picture. At the day of pick-up (18th of January) it does not show what will be picked up.
Re: Dashticz - Module - Garbage collector
Posted: Thursday 18 January 2018 19:24
by aiolos
Zoekm wrote: ↑Thursday 18 January 2018 10:54
Zoekm wrote: ↑Friday 08 December 2017 13:10
Just recently installed Dashticz and I like it very much, great work! Yesterday was the first time the garbage ("Restafval") pickupdate passed by and I noticed that on the day of pickup of "Restafval", in my case Thursdays ("donderdag"), the block already shows the next pickup days/dates and garbage type, so on Thursday I see the next weeks messages and later. Yesterday, Thursday, they came to pickup "Restafval", but the Dashticz shows "GFT":"Thursday". For me this is confusing, is it possible that the first line displays the garbage type until that day has passed? Is there a configuration setting for this?
Updated Dahticz and now using iCal, same issue pops up again, see picture. At the day of pick-up (18th of January) it does not show what will be picked up.
What iCal calendar do you use? I tried this with my own google calendar (as iCal link) and there the appointment for today shows up (no matter if it is a full-day appointment or just for an hour). It can be that the source only delivers the appointments in the future, which can mean that on the day itself, it is already disappeared. But that's just a guess.
Re: Dashticz - Module - Garbage collector
Posted: Thursday 18 January 2018 20:48
by maceddy
aiolos wrote: ↑Wednesday 17 January 2018 21:09
Can you send me your postalcode/housenumber (can also be your neighbours

) by PM, there might be a new type of garbage in there which I haven't seen yet and on which it is failing.
Edit: A fix for the waste api is available in a
PR. There is also some preparation in it for a configurable mapping of the colours of the bin. More about that later, not sure about the solution yet, and I don't want people to have to update their config every time.
It's working now! Is there anything to do about the days and date in American notation? It says 'monday' and 1/29/2018...
Sorry, I'm a Pietje Precies haha!!
Re: Dashticz - Module - Garbage collector
Posted: Thursday 18 January 2018 23:39
by aiolos
maceddy wrote: ↑Thursday 18 January 2018 20:48
aiolos wrote: ↑Wednesday 17 January 2018 21:09
Can you send me your postalcode/housenumber (can also be your neighbours

) by PM, there might be a new type of garbage in there which I haven't seen yet and on which it is failing.
Edit: A fix for the waste api is available in a
PR. There is also some preparation in it for a configurable mapping of the colours of the bin. More about that later, not sure about the solution yet, and I don't want people to have to update their config every time.
It's working now! Is there anything to do about the days and date in American notation? It says 'monday' and 1/29/2018...
Sorry, I'm a Pietje Precies haha!!
You can use
Code: Select all
config['calendarlanguage'] = 'nl_NL';
to get it in Dutch.
Re: Dashticz - Module - Garbage collector
Posted: Sunday 21 January 2018 13:11
by Regdul
aiolos wrote: ↑Tuesday 16 January 2018 23:58
Regdul wrote: ↑Sunday 14 January 2018 23:36
is there any change to add "de friese meren' garbage calendar? same as maceddy, i cant get it to work. there is an option for Ical
https://dfm.afvalalert.nl/#
thanks!
In
this PR the support for this garbage calendar is added.
Configuration:
config['garbage_company'] = 'afvalalert';
It is very likely this company also works for other regions than 'De Friese Meren'
EdwinK wrote: ↑Tuesday 16 January 2018 18:25
Is it right that the colors of the trashbin's dont change anymore?
It does with my config (which is pretty standard for development) For various garbage companies and addresses I saw different colours of bins.
thanks a lot!
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 24 January 2018 9:56
by snadderr
Hi all,
i'm trying to change some display names in the garbage module. This is working fine for almost all types of garbage, but i can't change the "luiers" name. It's not showing at all in the module when i enable the "use names" config. When i set the "use names" config to false, Luier is showing.
I'm using the "mijnafvalwijzer" service. When i open the url (
http://dashticz.nl/afval/?service=mijna ... er&zipcode...) manually, i get the following output:
[{"date":"2018-01-05","title":"tuinafval"},{"date":"2018-01-05","title":"restafval"},{"date":"2018-01-05","title":"luiers"},{"date":"2018-01-05","title":"keukenafval"},{"date":"2018-01-12","title":"luiers"},{"date":"2018-01-12","title":"pmd"},
How do i change the "luier" name in the Dashticz garbage module? This is not working:
config['garbage'] = {
luiers: {kliko: 'green', code: '#375b23', name: 'LUIERS'},
For example, if i want to change "restafval" to "RESTAFVAL" i need to configure this:
config['garbage'] = {
rest: {kliko: 'green', code: '#375b23', name: 'RESTAFVAL'},
In the service URL i see also restafval (instead of rest), so i think luiers is also a different name, but i can't see where the match is made.
Thanks!
Re: Dashticz - Module - Garbage collector
Posted: Tuesday 30 January 2018 20:58
by PeJeWe
My kliko icon stay's grey.
CONFIG.js
Code: Select all
//AFVAL PROGRAMMA
config['garbage'] = {
gft: {kliko: 'green', code: '#98fb98', name: 'GFT'},
pmd: {kliko: 'orange', code: '#faa500', name: 'Plastic'},
rest: {kliko: 'grey', code: '#5e5d5c', name: 'Restafval'},
papier: {kliko: 'blue', code: '#0198E1', name: 'Papier'},
kca: {kliko: 'red', code: '#b21807', name: 'Chemisch afval'},
brown: {kliko: 'brown', code: '#7c3607', name: 'Bruin'},
black: {kliko: 'black', code: '#000000', name: 'Zwart'},
};
config['garbage_use_names'] = true;
config['garbage_use_colors'] = true;
config['garbage_icon_use_colors'] = true;
the files are in the garbage map are
kliko_black.png
kliko_green.png
etc.
Re: Dashticz - Module - Garbage collector
Posted: Wednesday 31 January 2018 0:17
by Buzzje
Re: Dashticz - Module - Garbage collector
Posted: Thursday 01 February 2018 13:07
by naitsirhc
Hi,
I own a Synology which has Owncloud installed. I managed to get an Ical file from the "garbagewebsite" and imported it to my Owncloud calendar. I can create a link. (
http://10.0.0.149/owncloud/remote.php/d ... /personal/)
Is it possible to import data by the garbage module from my Owncloud? I have to say that my Synology is protected by password.
Kind regards
Re: Dashticz - Module - Garbage collector
Posted: Thursday 01 February 2018 21:25
by marcel19
is it possible to get my city on this?
https://www.gad.nl/ophaalschema.aspx
Re: Dashticz - Module - Garbage collector
Posted: Monday 05 February 2018 21:19
by rbeech
I got google ical working, thanks for previous help. However, my events have disappeared.
I think repeating events don't seem to be captured after the first event?
Re: Dashticz - Module - Garbage collector
Posted: Thursday 08 February 2018 12:56
by Martinvdm
Did you ever got this working? I want to use Reinis also.
Re: Dashticz - Module - Garbage collector
Posted: Friday 09 February 2018 16:23
by gielie
mijnafvalwijzer is not working anymore, i read something about adding an ical link, how do i change that?
Re: Dashticz - Module - Garbage collector
Posted: Friday 09 February 2018 17:22
by Jendemen
Hi,
I installed Dashticz this week and want to use the garbage info.
Read throught all 23 pages of this forum, came across multiple problems with screen stays on 'loading', implemented the suggestions but.....
Also my screen just shows 'loading'. I removed everything in the CONFIG.js to prevent that something else is causing the problem.
Hope anyone has suggestions?
This is my config|:|
var config = {}
config['domoticz_ip'] = '
http://192.xx.xx.xx:8080';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '50';
config['dashticz_refresh'] = '600';
config['garbage_use_names'] = true;
config['garbage_use_colors'] = true;
config['garbage_icon_use_colors'] = true;
config['garbage_company'] = 'mijnafvalwijzer';
config['garbage_zipcode'] = '4822RL';
config['garbage_housenumber'] = '15';
var columns = {};
columns['bar'] = {};
columns['bar']['blocks'] = ['logo','miniclock','settings'];
columns[1] = {};
columns[1]['blocks'] = ['garbage'];
columns[1]['width'] = 12;
var screens = {};
screens[1] = {};
screens[1]['background'] = 'bg2.jpg';
screens[1]['columns'] = [1];
Re: Dashticz - Module - Garbage collector
Posted: Friday 09 February 2018 21:12
by RobertK
It's likely not a problem in the scripts, but rather an issue with mijnafvalwijzer itself (I have the same 'Loading...' issue myself
as well for the last 2 days).
Trying to load the json url in a plain browser does not return anything useful either.
Using the DEMO postalcode+number from the mijnafvalwijzer website and putting it into the json URL:
http://json.mijnafvalwijzer.nl/?method= ... oevoeging=
returns:
Op dit moment is het erg druk. Probeert u het later nog eens. Onze excuses voor het ongemak.
Re: Dashticz - Module - Garbage collector
Posted: Tuesday 13 February 2018 7:54
by renerene
MijnAfvalwijzer is not working anymore. Noticed it some days ago.
GIT PULL tells me I got the latest Dashticz. The
website works OK
Her is my config.js:
Code: Select all
config['garbage_company'] = 'mijnafvalwijzer';
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = 'xxxxyy';
config['garbage_street'] = '<name>';
config['garbage_housenumber'] = '30';
config['garbage_maxitems'] = '2';
config['garbage_width'] = '12';
config['garbage_hideicon'] = 0;