Dashticz - Module - Garbage collector Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

krizzz
Posts: 200
Joined: Wednesday 20 November 2013 20:36
Target OS: Linux
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by krizzz »

robgeerts wrote:
krizzz wrote: var trashcan = {}
trashcan.hvc = { maxitems: 10, trashapp: 'hvc', width:6, zipcode:'XXXXxx', housenumber:'3X }
You are missing a ' ??
(After 3X)
Sorry for my shitty copy and paste skills. The ' is there. I just replaced the ' with an X accidently.

I just updated to the last beta, and still the same error....


Verzonden vanaf mijn iPhone met 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 »

Could you send me your zipcode and housenumber via pm so i can test with it?
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 »

Swifty wrote:@robgeerts

Any thoughts on the lack of localisation for pickup day text?

I had a look at some of the code to try and understand - it looks like today and tomorrow are localised, but anything else is hardcoded to NL ? (Trash.js line 335)
Could you try latest version?
Make sure you have the following line in config.js:

Code: Select all

var _ICALENDAR_LOCALE = 'de';
(change de to fr, en, pl or something else ;)
Swifty
Posts: 76
Joined: Saturday 31 December 2016 21:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Swifty »

robgeerts wrote:
Swifty wrote:@robgeerts

Any thoughts on the lack of localisation for pickup day text?

I had a look at some of the code to try and understand - it looks like today and tomorrow are localised, but anything else is hardcoded to NL ? (Trash.js line 335)
Could you try latest version?
Make sure you have the following line in config.js:

Code: Select all

var _ICALENDAR_LOCALE = 'de';
(change de to fr, en, pl or something else ;)
Awesome, many thanks.

Just tested out and working brilliantly :D
User avatar
Eddiever
Posts: 105
Joined: Thursday 27 April 2017 20:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: The Netherlands (Hoogeveen)
Contact:

Re: Dashticz - Module - Garbage collector

Post by Eddiever »

Hi Rob, great work!

And can you add Hoogeveen?
http://www.areareiniging.nl/home/bewone ... -digitaal/
(really don't know how to see if it uses JSON)
Last edited by Eddiever on Thursday 08 June 2017 20:01, edited 1 time in total.
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - Module - Garbage collector

Post by Derik »

How can i adjust the text to the right for only this block:
ScreenShot011.jpg
ScreenShot011.jpg (99.27 KiB) Viewed 2219 times

And my Klliko is not changing and i use:

Code: Select all

var _DO_NOT_USE_COLORED_TRASHCAN   	= true;

Code: Select all

var _DO_NOT_USE_COLORED_TRASHCAN   	= false;
Make no different s...
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Dashticz - Module - Garbage collector

Post by jake »

robgeerts wrote:
jake wrote:I updated to the latest beta and I lost the custom names and colors of the garbage types. Also the different font sizes is gone. Settings are still there in config.js and custom.css
Try latest beta version...
Fixed. Thanks again!
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 »

Derik wrote:How can i adjust the text to the right for only this block:
ScreenShot011.jpg


And my Klliko is not changing and i use:

Code: Select all

var _DO_NOT_USE_COLORED_TRASHCAN   	= true;

Code: Select all

var _DO_NOT_USE_COLORED_TRASHCAN   	= false;
Make no different s...
Try to add this to your custom.css (modify 15px to your needs):

Code: Select all

.trash .state div.trashrow {
     margin-left: 15px;
}
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
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - Module - Garbage collector

Post by Derik »

@ htilburgs

Thanks this wil do the trick!! :D

Now the changing colors of the KLIKO left... :oops:
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
Yustmenl
Posts: 24
Joined: Wednesday 28 September 2016 17:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5997
Contact:

Re: Dashticz - Module - Garbage collector

Post by Yustmenl »

Do you have the option to add
http://www.afvalstoffendienst.nl/bewone ... togenbosch ?
thanks!!
Rasberry Pi 3; Razberry 2.0; RFXCOM
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 dont think it has a JSON-source, but do you have an example zipcode?
krizzz
Posts: 200
Joined: Wednesday 20 November 2013 20:36
Target OS: Linux
Domoticz version:
Location: The Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by krizzz »

f.y.i

Rob solved my "LowerCase" error. It had nothing to do with dashticz but only my inferior programming skills :) Thanks Rob!
Yustmenl
Posts: 24
Joined: Wednesday 28 September 2016 17:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5997
Contact:

Re: Dashticz - Module - Garbage collector

Post by Yustmenl »

robgeerts wrote:I dont think it has a JSON-source, but do you have an example zipcode?
if i go to http://www.afvalstoffendienst.nl/afvalkalender and use 5236sg 160 i get the information.
hopefully that is of some use to you.

Edit: i send the question to the website, hopefully they can give us some good information.
Rasberry Pi 3; Razberry 2.0; RFXCOM
Swifty
Posts: 76
Joined: Saturday 31 December 2016 21:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Swifty »

Is ical trash broken in the current beta? - I am not able to get my calendar to load, it just says 'loading...' permanently.
I added the same ical url as a 'calendar' item` and it loads fine.

Is there somewhere I can view any log or anything relating to this? - I even converted my ical to json and saved it locally, then edited the js to point locally at my own apache server, but still no luck.
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Dashticz - Module - Garbage collector

Post by Derik »

perhaps ctrl and F5
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
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 only changed calendar function in last beta... could you send me your trash url via pm?
Swifty
Posts: 76
Joined: Saturday 31 December 2016 21:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Swifty »

@derik, unfortunately a forced refresh doesn't help :(

@robgeerts - I've sent you a PM with my current ical url.
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 did not receive a PM yesterday but the link you've sent to me a while ago gives me an error.
You can check if it is valid to call this url:

http://ical-to-json.herokuapp.com/conve ... R_ICAL_URL

Example:
http://ical-to-json.herokuapp.com/conve ... /basic.ics
Swifty
Posts: 76
Joined: Saturday 31 December 2016 21:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by Swifty »

@robgeerts - Sorry, not sure what happened to my PM yesterday! - I have resent.

Makes sense that the old URL I sent doesn't work, as I regenerated the ical links in Google Calendar when troubleshooting this issue.
New link works fine on ical-to-json though (worked ok when i tried yesterday, but that URL is blocked at the moment as i'm at work) :)
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 »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest