Dashticz - Module - Garbage collector Topic is solved
Moderators: leecollings, htilburgs, 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
I've fixed Swifty's problem with latest beta!
Do you have latest beta? Otherwise, could you send me your ical-link by PM ?
Do you have latest beta? Otherwise, could you send me your ical-link by PM ?
-
- Posts: 71
- Joined: Monday 12 October 2015 15:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10232
- Contact:
Re: Dashticz - Module - Garbage collector
My problem is fixed also in the latest beta of today !raymond wrote:Have the very same problem all of a sudden. It says Loading...robgeerts wrote:Please send me the piece of code of the trashcan in config.js..htilburgs wrote:Currently my Trashcan plugin won't load, it's only saying "Loading......"
Has anybody else this problem right now?
Did this get resolved in the end? And how can I try to fix?
Ray
Thanks,
Ray
-
- Posts: 66
- Joined: Friday 21 October 2016 10:42
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Mmm... I too, have the 'loading' problem with my garbage from Afvalwijzer.
Here is my code:
Just updated to the latest beta...
Here is my code:
Code: Select all
var trashcan = {}
trashcan.afvalwijzer = { trashapp: 'mijnafvalwijzer', maxitems: 6, width:12, zipcode:'xxxxxx', housenumber:'xx' }
-
- 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
Could you PM me your zipcode and housenumber?
-
- Posts: 66
- Joined: Friday 21 October 2016 10:42
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
robgeerts wrote:Could you PM me your zipcode and housenumber?
Done!
-
- 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
Check with latest beta
-
- Posts: 66
- Joined: Friday 21 October 2016 10:42
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
whoop whoop! Everything seems OK again!robgeerts wrote:Check with latest beta
-
- Posts: 2
- Joined: Friday 30 June 2017 20:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8015
- Location: Renkum
- Contact:
Re: Dashticz - Module - Garbage collector
Ik hope somebody can help me. I try to use the afvalwijzer, but nothing on the dashboard.
I added this lines to CONFIG.js
var trashcan = {}
trashcan.afvalwijzer = { trashapp: 'mijnafvalwijzer', maxitems: 10, width:12, zipcode:'6871XX', housenumber:'YY' }
I tried also with and without:
columns[1] = {}
columns[1]['width'] = 2;
columns[1]['blocks'] = [trashcan.mijnafvalwijzer]
also tried:
var _USE_FAVORITES = false or true, do difference
When i use in the browser http://www.mijnafvalwijzer.nl/nl/6871XX/YY, I get the right answer
I use latest betas of DomoticZ and Dahticz
What did i wrong
I added this lines to CONFIG.js
var trashcan = {}
trashcan.afvalwijzer = { trashapp: 'mijnafvalwijzer', maxitems: 10, width:12, zipcode:'6871XX', housenumber:'YY' }
I tried also with and without:
columns[1] = {}
columns[1]['width'] = 2;
columns[1]['blocks'] = [trashcan.mijnafvalwijzer]
also tried:
var _USE_FAVORITES = false or true, do difference
When i use in the browser http://www.mijnafvalwijzer.nl/nl/6871XX/YY, I get the right answer
I use latest betas of DomoticZ and Dahticz
What did i wrong
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Have you tried...JohD50 wrote:Ik hope somebody can help me. I try to use the afvalwijzer, but nothing on the dashboard.
I added this lines to CONFIG.js
var trashcan = {}
trashcan.afvalwijzer = { trashapp: 'mijnafvalwijzer', maxitems: 10, width:12, zipcode:'6871XX', housenumber:'YY' }
I tried also with and without:
columns[1] = {}
columns[1]['width'] = 2;
columns[1]['blocks'] = [trashcan.mijnafvalwijzer]
also tried:
var _USE_FAVORITES = false or true, do difference
When i use in the browser http://www.mijnafvalwijzer.nl/nl/6871XX/YY, I get the right answer
I use latest betas of DomoticZ and Dahticz
What did i wrong
var _USE_AUTO_POSITIONING =false; //don't want to configure positions, use auto positioning
var _USE_FAVORITES = false; //only used when using auto positioning
Don't forget to add a screen and add var columns = {}
Last edited by HansieNL on Friday 30 June 2017 22:21, edited 1 time in total.
Blah blah blah
- htilburgs
- Posts: 464
- Joined: Tuesday 03 November 2015 11:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Dashticz - Module - Garbage collector
I think in your case it's trashcan.afvalwijzer and not trashcan.mijnafvalwijzer in the blocks section.
Code: Select all
[columns[1]['blocks'] = [trashcan.afvalwijzer]
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
-
- Posts: 2
- Joined: Friday 30 June 2017 20:58
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8015
- Location: Renkum
- Contact:
Re: Dashticz - Module - Garbage collector
Thx HansieNL and htilburgs, tips helped to bring the info on the dashboard.
-
- Posts: 130
- Joined: Friday 29 November 2013 11:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Is it possible to refresh the trash calendar a bit more often? For example, I have the complete dashtics refresh every 24hour. but I often have trash"tomorrow" while it should already be today because it isn't refreshed. It would be nice if that part could have a separate refresh, the same as the weather.
-
- 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
@Blueone, in latest beta it refreshes every 15 minutes now.
-
- Posts: 28
- Joined: Thursday 14 January 2016 20:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Hi Rob,
Is it possible to add https://www.vianen.nl/afval/afvalkalender/ ?
When i fill in my zipcode, there is an option to download a ICS file. According to http://ical-to-json.herokuapp.com/ it is a JSON file.
For testing purposes you can use this zipcode ; 4125RG / number 12.
I'll hope you can add this! Tnx in advance!
Is it possible to add https://www.vianen.nl/afval/afvalkalender/ ?
When i fill in my zipcode, there is an option to download a ICS file. According to http://ical-to-json.herokuapp.com/ it is a JSON file.
For testing purposes you can use this zipcode ; 4125RG / number 12.
I'll hope you can add this! Tnx in advance!
-
- Posts: 370
- Joined: Monday 05 October 2015 10:16
- Target OS: -
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Nice work... Finally got the TrashCollector running...
Running behind a 'very' restricted firewall/router with Advertisement-/Misbehaving Hosts Blocker.
Within the script theres a host that transforms the json reply from several sites to eliminate crosssite ssl failures. Not a big deal however the host used is located under herokuapp.com where some are listed as misbehaving software hosters.
To resolve this i figured the following solution:
Simple but affective for those running a centrally located AdBlocker like me, or on there smartphone/tablets. Just exclude the host cors-anywhere.herokuapp.com.
In my specific case with dnsmasq it did NOT listen to the exclusion, so a had to add a specific nameserver redirect for cors-anywhere.herokuapp.com to an external nameserver. It is mentioned on several forums like: server=/cors-anywhere.herokuapp.com/8.8.8.8
Sent from my K00C using Tapatalk
Running behind a 'very' restricted firewall/router with Advertisement-/Misbehaving Hosts Blocker.
Within the script theres a host that transforms the json reply from several sites to eliminate crosssite ssl failures. Not a big deal however the host used is located under herokuapp.com where some are listed as misbehaving software hosters.
To resolve this i figured the following solution:
Simple but affective for those running a centrally located AdBlocker like me, or on there smartphone/tablets. Just exclude the host cors-anywhere.herokuapp.com.
In my specific case with dnsmasq it did NOT listen to the exclusion, so a had to add a specific nameserver redirect for cors-anywhere.herokuapp.com to an external nameserver. It is mentioned on several forums like: server=/cors-anywhere.herokuapp.com/8.8.8.8
Sent from my K00C using Tapatalk
-
- 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
Just added to latest BETA!axelbaas wrote:Hi Rob,
Is it possible to add https://www.vianen.nl/afval/afvalkalender/ ?
When i fill in my zipcode, there is an option to download a ICS file. According to http://ical-to-json.herokuapp.com/ it is a JSON file.
For testing purposes you can use this zipcode ; 4125RG / number 12.
I'll hope you can add this! Tnx in advance!
Add in config.js:
Code: Select all
var trashcan = {}
trashcan.vianen = { trashapp: 'vianen', maxitems: 6, width:12, zipcode:'4125RG', housenumber:'12' }
-
- Posts: 61
- Joined: Monday 09 November 2015 9:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Dashticz - Module - Garbage collector
Wow thats a great module can you add the waste calender for Hellendoorn to?
http://hellendoornafvalkalender.2go-mobile.com/
http://hellendoornafvalkalender.2go-mobile.com/
-
- Posts: 29
- Joined: Tuesday 30 May 2017 19:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Where I live in Belgium we have an other way of defining the days the garbage is collected. It works with a google calendar. Would this be possible to implement in Dashticz?
Here is an example of the calendar: webcal://www.limburg.net/ics/afvalkalender/71011/9744/119/0
Here is an example of the calendar: webcal://www.limburg.net/ics/afvalkalender/71011/9744/119/0
-
- 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
Try something like:
(Add your own ical url)
(Add your own ical url)
Code: Select all
Var trashcan = {}
trashcan.ical = { width:6, maxitems: 10, trashapp:'ical', icalurl: 'https://calendar.google.com/calendar/basic.ics' }
-
- Posts: 29
- Joined: Tuesday 30 May 2017 19:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz - Module - Garbage collector
Does not work I'm afraid. I can generate an ical url from my google calendar but since it is not a shared calendar dashticz can not see it. And I can not share it so it seems since it is an external calendar...robgeerts wrote:Try something like:
(Add your own ical url)
Code: Select all
Var trashcan = {} trashcan.ical = { width:6, maxitems: 10, trashapp:'ical', icalurl: 'https://calendar.google.com/calendar/basic.ics' }
Who is online
Users browsing this forum: Google [Bot] and 1 guest