Dashticz - Module - Garbage collector

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: htilburgs, robgeerts

User avatar
robgeerts
Posts: 1140
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - Module - Garbage collector

Post by robgeerts » Tuesday 08 August 2017 15:53

Could you remove your cache or try another browser?
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
DewGew
Posts: 109
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi
Domoticz version: V3.8153
Location: Sweden
Contact:

Re: Dashticz - Module - Garbage collector

Post by DewGew » Wednesday 09 August 2017 8:13

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 60 times
Raspberry Pi 2B - domoticz - Aeon Labs Z-Stick GEN5 - RFlink gateway
NanoPi NEO-air - domoticz - REGO6XX interface

User avatar
robgeerts
Posts: 1140
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - Module - Garbage collector

Post by robgeerts » 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..
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
DewGew
Posts: 109
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi
Domoticz version: V3.8153
Location: Sweden
Contact:

Re: Dashticz - Module - Garbage collector

Post by DewGew » Friday 11 August 2017 8:38

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 2B - domoticz - Aeon Labs Z-Stick GEN5 - RFlink gateway
NanoPi NEO-air - domoticz - REGO6XX interface

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 » Friday 11 August 2017 8:43

Rob is it possible to inculde https://www.avalex.nl/kalender/
Zip 2286lz 341
thanks

User avatar
robgeerts
Posts: 1140
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - Module - Garbage collector

Post by robgeerts » Friday 11 August 2017 9:23

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';
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
Dynamic
Posts: 213
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: Dashticz - Module - Garbage collector

Post by Dynamic » Friday 11 August 2017 13:28

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: 922
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - Module - Garbage collector

Post by EdwinK » Friday 11 August 2017 13:54

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 | RFxcom | Dashticz V2 |

User avatar
Dynamic
Posts: 213
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: Dashticz - Module - Garbage collector

Post by Dynamic » Friday 11 August 2017 13:57

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).

User avatar
robgeerts
Posts: 1140
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - Module - Garbage collector

Post by robgeerts » Friday 11 August 2017 14:30

Try removing the space in the zipcode..
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
Dynamic
Posts: 213
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: Dashticz - Module - Garbage collector

Post by Dynamic » Friday 11 August 2017 14:45

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 889 times

User avatar
robgeerts
Posts: 1140
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - Module - Garbage collector

Post by robgeerts » Friday 11 August 2017 14:50

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';
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
Dynamic
Posts: 213
Joined: Friday 12 July 2013 14:50
Target OS: -
Domoticz version:
Location: Enschede
Contact:

Re: Dashticz - Module - Garbage collector

Post by Dynamic » Friday 11 August 2017 15:02

Yep, that's a nice workaround.

User avatar
madpatrick
Posts: 22
Joined: Monday 26 December 2016 13:17
Target OS: Linux
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by madpatrick » Friday 11 August 2017 15:33

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

User avatar
CRaZee
Posts: 5
Joined: Friday 13 March 2015 11:08
Target OS: Linux
Domoticz version: V3.8153
Contact:

Re: Dashticz - Module - Garbage collector

Post by CRaZee » Saturday 12 August 2017 17:34

Is it possible to add Heeze/Leende?

http://afvalkalender.heeze-leende.nl/
Ubuntu on Cubietruck

User avatar
robgeerts
Posts: 1140
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - Module - Garbage collector

Post by robgeerts » Sunday 13 August 2017 20:51

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..
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

h143
Posts: 28
Joined: Tuesday 28 October 2014 23:26
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by h143 » Sunday 13 August 2017 21:08


User avatar
robgeerts
Posts: 1140
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - Module - Garbage collector

Post by robgeerts » Sunday 13 August 2017 21:25

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.
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

User avatar
Luxtux
Posts: 13
Joined: Monday 14 August 2017 15:16
Target OS: Linux
Domoticz version: 3.8153
Location: Luxembourg
Contact:

Re: Dashticz - Module - Garbage collector

Post by Luxtux » Monday 14 August 2017 15:58

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

[email protected]~$ curl -s 'https://wedevise.nl/dashticz/ical/demo/?url=https://calendar.google.com/calendar/ical/o44qrtdhls8saftmesm5rqb85o%40group.calendar.google.com/public/basic.ics'
[][email protected]~$
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

User avatar
robgeerts
Posts: 1140
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: Son, NL
Contact:

Re: Dashticz - Module - Garbage collector

Post by robgeerts » Monday 14 August 2017 20:19

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 ;)
Creator of Dashticz, Do you appreciate my work and want to buy me a beer? You can send Bitcoins to 17Qy4bsLM9J238fCZt5kaRc2bD5S1Aw6og or donate via PayPal: https://www.paypal.me/robgeerts

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests