Dashticz - Module - Garbage collector Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
User avatar
mvveelen
Posts: 692
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by mvveelen »

Do you have

Code: Select all

var _DO_NOT_USE_COLORED_TRASHCAN 	= false;
in your CONFIG.js ?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
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 »

Currently my Trashcan plugin won't load, it's only saying "Loading......"
Has anybody else this problem right now?
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
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 »

geertvercamer wrote:Thanks Sonar, figured that out around midnight and would post it this morning.

And thanks to Rob, of course!

Working in latest beta! :)
In config.js use:

Code: Select all

var trashcan = {}
trashcan.ophaalkalender = { trashapp: 'ophaalkalender', width:12,street:'Door Verstraetelei',zipcode:'2930', country:'BE' }
@others:
Can someone provide me a font for a 'wheelie bin' (kliko) ?
Just like FontAwesome but the with an icon for the bin in it?
This way we doent have to use a set of png's with fixed colors...
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 »

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

robgeerts wrote: @others:
Can someone provide me a font for a 'wheelie bin' (kliko) ?
Just like FontAwesome but the with an icon for the bin in it?
This way we doent have to use a set of png's with fixed colors...
Just submitted a request at FontAwesome for a new font 'fa-wheelie-bin' ;)
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
User avatar
capman
Posts: 153
Joined: Friday 12 July 2013 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Dashticz - Module - Garbage collector

Post by capman »

robgeerts wrote:
geertvercamer wrote:Thanks Sonar, figured that out around midnight and would post it this morning.

And thanks to Rob, of course!

Working in latest beta! :)
In config.js use:

Code: Select all

var trashcan = {}
trashcan.ophaalkalender = { trashapp: 'ophaalkalender', width:12,street:'Door Verstraetelei',zipcode:'2930', country:'BE' }
Thanks Rob , working like charm !! My happy now :D never forget to set the bin outside .
sonar
Posts: 18
Joined: Saturday 31 January 2015 11:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Contact:

Re: Dashticz - Module - Garbage collector

Post by sonar »

capman wrote:Thanks Geert to figured this out. This dashboard goes still better and better ... also thanks to Rob !
@ Sonar , how did you become to this url ? Did you find this in some code when using the F12 on that page ? Also thanks for this :D
Yes found it when using F12. When searching for an address these two URL's were visible in the console tab.
jake
Posts: 744
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Dashticz - Module - Garbage collector

Post by jake »

Since 2-3 days I have for my 'HVC-address' garbage block 3 rows (my limit) of GFT on Monday. When I change max to 10, I get 3 rows of GFT, followed by 3 or 4 rows of 'Plastic' and 4 rows of 'Restafval' with their respective dates.
geertvercamer
Posts: 84
Joined: Friday 12 May 2017 20:03
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by geertvercamer »

Thanks for the 'ophaalkalender' for Belgium.

Just a somewhat off topic question: wouldn't it be useful to define the URL of the cross-origin service also in the config.js. When one service gets out of service, the switch could be easy and swift. Also nice for the people with their own service running.
jake
Posts: 744
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: RE: Re: Dashticz - Module - Garbage collector

Post by jake »

jake wrote:Since 2-3 days I have for my 'HVC-address' garbage block 3 rows (my limit) of GFT on Monday. When I change max to 10, I get 3 rows of GFT, followed by 3 or 4 rows of 'Plastic' and 4 rows of 'Restafval' with their respective dates.
Am I the only one with this strange behaviour for the garbage pickup? Multiple instances of the same day?

Code: Select all

var trashcan = {}
trashcan.hvc = { maxitems: 10, trashapp: 'hvc', width:6, zipcode:'3317hl', housenumber:'1'  }

var trashnames = {}
trashnames['Rest'] = 'Restafval';
trashnames['Gft'] = 'GFT';
trashnames['Pmd'] = 'Plastic';

var trashcolors = {}
trashcolors['Gft'] = 'Lime';
trashcolors['Pmd'] = 'Orange';

var _DO_NOT_USE_COLORED_TRASHCAN = true
It doesn't matter what postal code / house number I use within my neighbourhood or adjacent ones, the pick up dates differ, but the behaviour of multiple dates remains.Image
jake
Posts: 744
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: RE: Re: Dashticz - Module - Garbage collector

Post by jake »

jake wrote:I tried to increase the font for all devices in the custom.css, by adding the lines

Code: Select all

.title{
 font-size:15px;
 }
This didn't work for the trashcan block.
Then I looked into the code to increase the font of 1 specific block

Code: Select all

.block_233 {
 font-size:120px !important;
 color:red !important;
 }
and then, hmm... the block definition doesn't seem to cover a trashcan.xyz block
Can we please have font scaling on the garbage bin pickup date list? Would be nice, especially for the lines with a date in them (today and tomorrow are more easy to read with a small font.
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: RE: Re: Dashticz - Module - Garbage collector

Post by robgeerts »

jake wrote:
jake wrote:I tried to increase the font for all devices in the custom.css, by adding the lines

Code: Select all

.title{
 font-size:15px;
 }
This didn't work for the trashcan block.
Then I looked into the code to increase the font of 1 specific block

Code: Select all

.block_233 {
 font-size:120px !important;
 color:red !important;
 }
and then, hmm... the block definition doesn't seem to cover a trashcan.xyz block
Can we please have font scaling on the garbage bin pickup date list? Would be nice, especially for the lines with a date in them (today and tomorrow are more easy to read with a small font.
Try latest beta and add to custom.css

Code: Select all

.trash .state div.trashrow {
    font-size: 12px;
}
.trash .state div.trashtoday {
    font-size: 16px;
}
.trash .state div.trashtomorrow {
    font-size: 14px;
}
qwerk
Posts: 222
Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by qwerk »

and again a nice change.
thanks Rob.
jake
Posts: 744
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: RE: Re: RE: Re: Dashticz - Module - Garbage collector

Post by jake »

robgeerts wrote: Try latest beta and add to custom.css

Code: Select all

.trash .state div.trashrow {
    font-size: 12px;
}
.trash .state div.trashtoday {
    font-size: 16px;
}
.trash .state div.trashtomorrow {
    font-size: 14px;
}
Excellent, works like a dream now! Double values are also gone!
gixxersuperbike
Posts: 3
Joined: Wednesday 07 October 2015 19:40
Target OS: Windows
Domoticz version: 2.3267
Location: The Netherlands
Contact:

Re: Dashticz - Module - Garbage collector

Post by gixxersuperbike »

Can you get this one to work ?

http://afvalkalender.rova.nl/
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 »

Just checked but cannot get a json-output.
Or has anybody found this output for Rova?
Trigun
Posts: 390
Joined: Wednesday 30 November 2016 11:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Dashticz - Module - Garbage collector

Post by Trigun »

@robgeerts,
Hi Rob,

Is there chance you can add https://www.twentemilieu.nl/borne to be part this great feature.
I guess I can't do without as i put the wrong bin outside today :)

Thnx in advance!

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

Is it possible to enlarge the icon?
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
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Module - Garbage collector

Post by HansieNL »

Derik wrote:Is it possible to enlarge the icon?

Code: Select all

.trashcan { 
    height 48px;
    width: 48px;
} 

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

HansieNL wrote:
Derik wrote:Is it possible to enlarge the icon?

Code: Select all

.trashcan { 
    height 48px;
    width: 48px;
} 

Thanks
Where to place in ccs or under config files..?
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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest