Re: Dashticz - Module - Garbage collector
Posted: Sunday 14 May 2017 12:32
Do you have
in your CONFIG.js ?
Code: Select all
var _DO_NOT_USE_COLORED_TRASHCAN = false;
Open source Home Automation System
https://forum.domoticz.com/
Code: Select all
var _DO_NOT_USE_COLORED_TRASHCAN = false;
geertvercamer wrote:Thanks Sonar, figured that out around midnight and would post it this morning.
And thanks to Rob, of course!
Code: Select all
var trashcan = {}
trashcan.ophaalkalender = { trashapp: 'ophaalkalender', width:12,street:'Door Verstraetelei',zipcode:'2930', country:'BE' }
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?
Just submitted a request at FontAwesome for a new font 'fa-wheelie-bin'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...
Thanks Rob , working like charm !! My happy nowrobgeerts 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' }
Yes found it when using F12. When searching for an address these two URL's were visible in the console tab.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
Am I the only one with this strange behaviour for the garbage pickup? Multiple instances of the same day?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.
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
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.jake wrote:I tried to increase the font for all devices in the custom.css, by adding the linesThis didn't work for the trashcan block.Code: Select all
.title{ font-size:15px; }
Then I looked into the code to increase the font of 1 specific blockand then, hmm... the block definition doesn't seem to cover a trashcan.xyz blockCode: Select all
.block_233 { font-size:120px !important; color:red !important; }
Try latest beta and add to custom.cssjake wrote: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.jake wrote:I tried to increase the font for all devices in the custom.css, by adding the linesThis didn't work for the trashcan block.Code: Select all
.title{ font-size:15px; }
Then I looked into the code to increase the font of 1 specific blockand then, hmm... the block definition doesn't seem to cover a trashcan.xyz blockCode: Select all
.block_233 { font-size:120px !important; color:red !important; }
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!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; }
Derik wrote:Is it possible to enlarge the icon?
Code: Select all
.trashcan {
height 48px;
width: 48px;
}
ThanksHansieNL wrote:Derik wrote:Is it possible to enlarge the icon?Code: Select all
.trashcan { height 48px; width: 48px; }