Dashticz - Module - Garbage collector Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

robgeerts
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

Post by robgeerts »

Could you remove your cache or try another browser?
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Dashticz - Module - Garbage collector

Post by DewGew »

robgeerts wrote:Could you remove your cache or try another browser?
Still not ok, maybe its my setup see my config...
CONFIG.js
DewGew
(7.61 KiB) Downloaded 211 times
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
robgeerts
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

Post by robgeerts »

Your config is ok.
I tested and it worked. Maybe you get another error in your console (f12) ?
Otherwise, we can have a teamviewer-session tonight..
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Dashticz - Module - Garbage collector

Post by DewGew »

robgeerts wrote: Wednesday 09 August 2017 9:35 Your config is ok.
I tested and it worked. Maybe you get another error in your console (f12) ?
Otherwise, we can have a teamviewer-session tonight..
There is no errors in the console.
It´s not working garbage plugin. But I can get my garbage calender work with ' var calanders ={} '
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
Ebbelaar
Posts: 2
Joined: Thursday 10 August 2017 21:03
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Ebbelaar »

Rob is it possible to inculde https://www.avalex.nl/kalender/
Zip 2286lz 341
thanks
robgeerts
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

Post by robgeerts »

Avalex works in latest beta!

Code: Select all

config['garbage_company'] = 'avalex';
config['garbage_icalurl'] = '';
config['garbage_zipcode'] = '2286lz';
config['garbage_street'] = '';
config['garbage_housenumber'] = '341';
User avatar
Dynamic
Posts: 109
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: Dashticz - Module - Garbage collector

Post by Dynamic »

I can't get the Garbage collector to work.... I entered all the parameters using the webbased config-utility, but nothing is displayed. Is there something else I should activate/add?

FYI: I'm using 'Twente Milieu'.

This is my config-file:

Code: Select all

config['garbage_company'] = 'twentemilieu';
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = '7544 XX';
config['garbage_street'] = 'STRAATNAAM';
config['garbage_housenumber'] = '1';
config['garbage_maxitems'] = '3';
config['garbage_width'] = '12';
User avatar
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

Post by EdwinK »

Did you add 'Garbage' in a column?

Code: Select all

columns[3] = {};
columns[3]['blocks'] = [185,buttons.webcam,buttons.moon,'garbage'];
columns[3]['width'] = 2;
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
Dynamic
Posts: 109
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: Dashticz - Module - Garbage collector

Post by Dynamic »

Nope... I was only using the webconfig-utility. I'll try to add this to the CONFIG.js.

Edit: some progress. I can see the trash-can icon, but it keeps saying 'laden' (loading).
robgeerts
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

Post by robgeerts »

Try removing the space in the zipcode..
User avatar
Dynamic
Posts: 109
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: Dashticz - Module - Garbage collector

Post by Dynamic »

robgeerts wrote: Friday 11 August 2017 14:30 Try removing the space in the zipcode..
The 'loading' has disappeared, but now the text is a little bit strange (see screenshot).
Attachments
11-8-2017 14-44-54.png
11-8-2017 14-44-54.png (54.3 KiB) Viewed 3432 times
robgeerts
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

Post by robgeerts »

You could add this to config.js:

Code: Select all

var trashnames = {}
trashnames['En zl02 wo gft oneven'] = 'GFT';
trashnames['En al03di vec'] = 'Watisdit?';
trashnames['En zl02 wo rest even'] = 'Restafval';
User avatar
Dynamic
Posts: 109
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: Dashticz - Module - Garbage collector

Post by Dynamic »

Yep, that's a nice workaround.
User avatar
madpatrick
Posts: 639
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by madpatrick »

IS it possible to get the garbage to work for Hellevoetsluis ?

Looks like it is possible, but how do i put this in the config ?
http://www.gemhellevoetsluis.nl/applica ... l?OpenForm
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
User avatar
CRaZee
Posts: 2
Joined: Friday 13 March 2015 10:08
Target OS: Linux
Domoticz version: V3.8153
Contact:

Re: Dashticz - Module - Garbage collector

Post by CRaZee »

Is it possible to add Heeze/Leende?

http://afvalkalender.heeze-leende.nl/
Ubuntu on Cubietruck
robgeerts
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

Post by robgeerts »

Hellevoetsluis is not possible.
The are not returning the right format..

HeezeLeende is added to latest beta, BUT, for some reason the calendar they return in the ical-url is empty...
(Also when I download the ical from the website)

Code: Select all

config['garbage_company'] = 'heezeleende';
config['garbage_icalurl'] = '';
config['garbage_zipcode'] = '5591 HS';
config['garbage_street'] = '';
config['garbage_housenumber'] = '2';
config['garbage_maxitems'] = '5';
config['garbage_width'] = '12';
In both cases you can create an ical yourself and use the ical-option..
h143
Posts: 27
Joined: Tuesday 28 October 2014 22:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by h143 »

robgeerts
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

Post by robgeerts »

Not directly but you can do it like:
1.) Enter your zipcode
2.) On the resultpage, push with you right mousebutton on 'Persoonlijke afvalkalender' and copy url
3.) In Dashticz, choose the ical-option and paste this url in the ical-url-field.
User avatar
Luxtux
Posts: 31
Joined: Monday 14 August 2017 15:16
Target OS: Linux
Domoticz version: 2021.1 β
Location: Luxembourg
Contact:

Re: Dashticz - Module - Garbage collector

Post by Luxtux »

Hey,

Im trying to add the ICAL of Luxembourg city. here an example of a file:
https://service.vdl.lu/hygiene/calendri ... er=complet.

I didnt see anything appear in Dashticz. so I had a look at your garbage.js file and noticed that all ical files get send to
https://wedevise.nl/dashticz/ical/demo/?url= .
so i added the the url of the garabage collection in my city. This didn't return anything. Then i tried some other urls that were in the garabage.js e.g.

Code: Select all

testuser@testserver~$ curl -s 'https://wedevise.nl/dashticz/ical/demo/?url=https://calendar.google.com/calendar/ical/o44qrtdhls8saftmesm5rqb85o%40group.calendar.google.com/public/basic.ics'
[]testuser@testserver~$
only [] is returned. is this webservice still working?


url where you can find examples of the calendar:
https://www.vdl.lu/vivre/domicile-au-qu ... -collectes
robgeerts
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

Post by robgeerts »

Are you able to save the ical you get as download to a webserver?
Then you could enter that url after: https://wedevise.nl/dashticz/ical/demo/?url=

The url you check is indeed not working ;)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests