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 »

I've fixed Swifty's problem with latest beta!
Do you have latest beta? Otherwise, could you send me your ical-link by PM ?
raymond
Posts: 71
Joined: Monday 12 October 2015 15:46
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10232
Contact:

Re: Dashticz - Module - Garbage collector

Post by raymond »

raymond wrote:
robgeerts wrote:
htilburgs wrote:Currently my Trashcan plugin won't load, it's only saying "Loading......"
Has anybody else this problem right now?
Please send me the piece of code of the trashcan in config.js..
Have the very same problem all of a sudden. It says Loading...

Did this get resolved in the end? And how can I try to fix?

Ray
My problem is fixed also in the latest beta of today !

Thanks,

Ray
lukev
Posts: 66
Joined: Friday 21 October 2016 10:42
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by lukev »

Mmm... I too, have the 'loading' problem with my garbage from Afvalwijzer.

Here is my code:

Code: Select all

var trashcan = {}
trashcan.afvalwijzer = { trashapp: 'mijnafvalwijzer', maxitems: 6, width:12, zipcode:'xxxxxx', housenumber:'xx' }
Just updated to the latest beta...
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 PM me your zipcode and housenumber?
lukev
Posts: 66
Joined: Friday 21 October 2016 10:42
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by lukev »

robgeerts wrote:Could you PM me your zipcode and housenumber?

Done!
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 »

Check with latest beta :)
lukev
Posts: 66
Joined: Friday 21 October 2016 10:42
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by lukev »

robgeerts wrote:Check with latest beta :)
whoop whoop! Everything seems OK again!
JohD50
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

Post by JohD50 »

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
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by HansieNL »

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
Have you tried...
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
User avatar
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

Post by htilburgs »

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
JohD50
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

Post by JohD50 »

Thx HansieNL and htilburgs, tips helped to bring the info on the dashboard.
Blueone
Posts: 130
Joined: Friday 29 November 2013 11:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Blueone »

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

@Blueone, in latest beta it refreshes every 15 minutes now.
axelbaas
Posts: 28
Joined: Thursday 14 January 2016 20:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by axelbaas »

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!
stlaha2007
Posts: 370
Joined: Monday 05 October 2015 10:16
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by stlaha2007 »

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
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 »

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!
Just added to latest BETA!
Add in config.js:

Code: Select all

var trashcan = {}
trashcan.vianen = { trashapp: 'vianen', maxitems: 6, width:12, zipcode:'4125RG', housenumber:'12' }
webrazor
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

Post by webrazor »

Wow thats a great module can you add the waste calender for Hellendoorn to?
http://hellendoornafvalkalender.2go-mobile.com/
benbammens
Posts: 29
Joined: Tuesday 30 May 2017 19:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by benbammens »

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
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 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' }
benbammens
Posts: 29
Joined: Tuesday 30 May 2017 19:43
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by benbammens »

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' }
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...
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests