But then you're using config['garbage_icalurl'] and not config['garbage_zipcode'] and config['garbage_housenumber']? Zipcode and housenumber are used by the veldhoven parser.
Dashticz - Module - Garbage collector Topic is solved
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 127
- Joined: Sunday 13 September 2015 18:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: Nieuwegein, NL
- Contact:
Re: Dashticz - Module - Garbage collector
-
- Posts: 14
- Joined: Thursday 30 November 2017 19:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Hi Rob/aiolos,
I’ve requested to have our city to be included to the ‘mijnafvalwijzer.nl’ website, it works if I use another ‘postcode’....
-
- Posts: 742
- Joined: Saturday 30 May 2015 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: Dashticz - Module - Garbage collector
garbage.js needs an update. Indeed kliko.png has moved, but not yet in the code.htilburgs wrote:When using config['garbage_icon_use_colors'] = false; in your config.js, no icon is showed.
When checking I think the problem is:
While it should be img/trashcan/kliko.pngCode: Select all
<img class="trashcan" src="img/kliko.png" style="opacity: 1;">
instead of "img/kliko.png", it should be "img/garbage/kliko.png"
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - Module - Garbage collector
Was just going to post about thisjake wrote: ↑Thursday 11 January 2018 22:25garbage.js needs an update. Indeed kliko.png has moved, but not yet in the code.htilburgs wrote:When using config['garbage_icon_use_colors'] = false; in your config.js, no icon is showed.
When checking I think the problem is:
While it should be img/trashcan/kliko.pngCode: Select all
<img class="trashcan" src="img/kliko.png" style="opacity: 1;">
instead of "img/kliko.png", it should be "img/garbage/kliko.png"
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 127
- Joined: Sunday 13 September 2015 18:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: Nieuwegein, NL
- Contact:
Re: Dashticz - Module - Garbage collector
Thanks for noticing. I made a PR to fix it.
-
- Posts: 84
- Joined: Friday 12 May 2017 20:03
- Target OS: -
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
There is a problem with the 'ophaalkalender' method for Belgium.
In the function mapGarbageType() a mapping is done from 'blue' to 'papier', however that should be 'PMD (line 350)'. 'brown' should map to 'papier'
In my region we only have 'pmd', 'restafval' and 'p-k', but there are more in ie. Gent:
- GFT: green
- Glas: yellow
- Grof huisvuil afroep: purple
- Kerstboom: lightgreen
- P-K: brown
- PMD: blue
- Restafval: grey
and it may be nice to have a config/setting variable for the date format.
Thanks.
In the function mapGarbageType() a mapping is done from 'blue' to 'papier', however that should be 'PMD (line 350)'. 'brown' should map to 'papier'
In my region we only have 'pmd', 'restafval' and 'p-k', but there are more in ie. Gent:
- GFT: green
- Glas: yellow
- Grof huisvuil afroep: purple
- Kerstboom: lightgreen
- P-K: brown
- PMD: blue
- Restafval: grey
and it may be nice to have a config/setting variable for the date format.
Thanks.
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - Module - Garbage collector
I still miss a 'thank you' button
So, thank you
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: Dashticz - Module - Garbage collector
It's merged
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - Module - Garbage collector
Thanks again
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 13
- Joined: Saturday 13 January 2018 21:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12723
- Location: Hoogeveen
- Contact:
Re: Dashticz - Module - Garbage collector
Any chance you will implement 'Area Reiniging'?
http://www.areareiniging.nl/home/bewone ... -digitaal/
It shows a Calendar in some sort of frame and there is a possibility to download iCal, but I can not get it to work..
You may use my ZIP and house number (request per DM please ) if you plan on testing it.
Thanks!
http://www.areareiniging.nl/home/bewone ... -digitaal/
It shows a Calendar in some sort of frame and there is a possibility to download iCal, but I can not get it to work..
You may use my ZIP and house number (request per DM please ) if you plan on testing it.
Thanks!
-
- Posts: 7
- Joined: Friday 28 October 2016 11:24
- Target OS: Linux
- Domoticz version: 3.8153
- Location: Lemmer - Netherlands
- Contact:
Re: Dashticz - Module - Garbage collector
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!
https://dfm.afvalalert.nl/#
thanks!
-
- Posts: 55
- Joined: Sunday 09 April 2017 15:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5877
- Location: Almere
- Contact:
Re: Dashticz - Module - Garbage collector
Hi All,
De Garbage collector is not working anymore in Almere
can you add http://afvalportaal2.2go-mobile.com/mod ... /calendar/
Thanks In advance
De Garbage collector is not working anymore in Almere
can you add http://afvalportaal2.2go-mobile.com/mod ... /calendar/
Thanks In advance
-
- Posts: 127
- Joined: Sunday 13 September 2015 18:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: Nieuwegein, NL
- Contact:
Re: Dashticz - Module - Garbage collector
pkrabben wrote: ↑Monday 15 January 2018 11:57 Hi All,
De Garbage collector is not working anymore in Almere
can you add http://afvalportaal2.2go-mobile.com/mod ... /calendar/
Thanks In advance
Both these garbage collection calendars are added. See this PRmaceddy wrote: ↑Saturday 13 January 2018 21:16 Any chance you will implement 'Area Reiniging'?
http://www.areareiniging.nl/home/bewone ... -digitaal/
It shows a Calendar in some sort of frame and there is a possibility to download iCal, but I can not get it to work..
You may use my ZIP and house number (request per DM please ) if you plan on testing it.
Thanks!
The garbage company configuration is:
config['garbage_company'] = 'area';
and
config['garbage_company'] = 'almere';
Please note that for Almere the GFT & Rest are combined, they show up as a green bin, this can of course be changed with selecting another bin for this type of garbage.
Both calendars use the same (or a very alike) API as 'Twente Milieu'. I expect more calendars are based on this API, which makes it very easy to add them.
I tested this with a random address in Emmen and Almere, please let me know if you experience any difficulties (after a merge of course, it is not in there yet)
I saw the 'De Friese Meren' request. Looks do-able, but I could not implement it in the short time I had available right now. I will look into it later.
-
- Posts: 55
- Joined: Sunday 09 April 2017 15:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5877
- Location: Almere
- Contact:
Re: Dashticz - Module - Garbage collector
Thanks Almere is working
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - Module - Garbage collector
Is it right that the colors of the trashbin's dont change anymore?
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 127
- Joined: Sunday 13 September 2015 18:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: Nieuwegein, NL
- Contact:
Re: Dashticz - Module - Garbage collector
In this PR the support for this garbage calendar is added.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!
Configuration:
config['garbage_company'] = 'afvalalert';
It is very likely this company also works for other regions than 'De Friese Meren'
It does with my config (which is pretty standard for development) For various garbage companies and addresses I saw different colours of bins.
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: Dashticz - Module - Garbage collector
PR is merged!
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - Module - Garbage collector
Then I've to look through all the settings (again).
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz - Module - Garbage collector
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
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
Code: Select all
config['garbage_company'] = 'mijnafvalwijzer';
config['garbage_icalurl'] = '0';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = '3161LH';
config['garbage_street'] = 'Jonkerhof';
config['garbage_housenumber'] = '27';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = 2;
config['garbage_width'] = '6';
config['garbage_hideicon'] = '0';
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = 1;
config['garbage_use_names'] = 1;
config['garbage_use_cors_prefix'] = '0';
...
//Afval
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: 'Grof Vuil'},
// black: {kliko: 'black', code: '#000000', name: 'Zwart'},
};
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 84
- Joined: Friday 12 May 2017 20:03
- Target OS: -
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Maybe this has also something to do with this function mapGarbageType()?
Who is online
Users browsing this forum: No registered users and 1 guest