Dashticz, alternative dashboard based on HTML, CSS, jQuery
Moderators: leecollings , htilburgs , robgeerts
pkrabben
Posts: 55 Joined: Sunday 09 April 2017 15:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: Almere
Contact:
Post
by pkrabben » Sunday 07 May 2017 20:49
Hi All
The recycle manager is working only I can't get the block wider then 4.
I tried
Code: Select all
blocks['trashcan.recyclemanager'] = {}
blocks['trashcan.recyclemanager']['width'] = 12;
but for some reason it stays width 4 do you have any clue?
robgeerts
Posts: 1273 Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:
Post
by robgeerts » Sunday 07 May 2017 20:52
In latest beta you can change the names for the type of garbage, add to config.js:
Code: Select all
var trashnames = {}
trashnames['Gft'] = 'GFT';
trashnames['Pmd'] = 'Plastic';
(Gft becomes GFT and Pmd becomes Plastic)
Also you can change the colors:
Code: Select all
var trashcolors = {}
trashcolors['Gft'] = 'Green';
trashcolors['Pmd'] = 'Orange';
robgeerts
Posts: 1273 Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:
Post
by robgeerts » Sunday 07 May 2017 20:52
pkrabben wrote: Hi All
The recycle manager is working only I can't get the block wider then 4.
I tried
Code: Select all
blocks['trashcan.recyclemanager'] = {}
blocks['trashcan.recyclemanager']['width'] = 12;
but for some reason it stays width 4 do you have any clue?
You have to set the width here:
Code: Select all
trashcan.recyclemanager = { trashapp: 'recyclemanager', width:12, zipcode:'3161lh', housenumber:'27' }
pkrabben
Posts: 55 Joined: Sunday 09 April 2017 15:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: Almere
Contact:
Post
by pkrabben » Sunday 07 May 2017 20:56
robgeerts wrote: pkrabben wrote: Hi All
The recycle manager is working only I can't get the block wider then 4.
I tried
Code: Select all
blocks['trashcan.recyclemanager'] = {}
blocks['trashcan.recyclemanager']['width'] = 12;
but for some reason it stays width 4 do you have any clue?
You have to set the width here:
Code: Select all
trashcan.recyclemanager = { trashapp: 'recyclemanager', width:12, zipcode:'3161lh', housenumber:'27' }
Thanks Rob for your quick reply.
I just overlooked that option
remb0
Posts: 499 Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:
Post
by remb0 » Monday 08 May 2017 9:58
I will user the trashcan module but get:
Undefined
var trashcan = {}
trashcan.hvc = { trashapp: 'hvc', width:12, zipcode:'3328LN', housenumber:'39'}
columns[1] = {}
columns[1]['blocks'] = ['clock',buttons.buienradar,buttons.nzbget,buttons.radio,trashcan.hvc,'streamplayer'];
columns[1]['width'] = 2;
blacksn0w
Posts: 99 Joined: Friday 10 March 2017 22:27
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany
Contact:
Post
by blacksn0w » Monday 08 May 2017 10:05
remb0 wrote: I will user the trashcan module but get:
Undefined
var trashcan = {}
trashcan.hvc = { trashapp: 'hvc', width:12, zipcode:'3328LN', housenumber:'39'}
columns[1] = {}
columns[1]['blocks'] = ['clock',buttons.buienradar,buttons.nzbget,buttons.radio,trashcan.hvc,'streamplayer'];
columns[1]['width'] = 2;
You are missing a ; at the end of your second line.
robgeerts
Posts: 1273 Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:
Post
by robgeerts » Monday 08 May 2017 10:32
The missing ; does not matter in Javascript
Remco, could you check if you are using the latest /js/trash.js ?
qwerk
Posts: 222 Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:
Post
by qwerk » Monday 08 May 2017 12:11
I know there is a difference in firefox and chrome, with ""invalid date"
but also in chrome it goes without logic
Firefox:
firefox-afval.JPG (18.27 KiB) Viewed 2812 times
Chrome:
chrome-afval.JPG (16.09 KiB) Viewed 2812 times
running the latest beta. "oud papier" is next saterday
gielie
Posts: 290 Joined: Tuesday 12 January 2016 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:
Post
by gielie » Monday 08 May 2017 14:00
I have the same problem, i use Safari on OsX and iPad.
How do i increase the trash icon?
- Aeon Labs USB Stick met Z-wave plus
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
robgeerts
Posts: 1273 Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:
Post
by robgeerts » Tuesday 09 May 2017 10:42
Could you test in latest beta if you still gets invalid date?
pvdhelm
Posts: 29 Joined: Tuesday 14 March 2017 17:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Skendel
Contact:
Post
by pvdhelm » Tuesday 09 May 2017 10:56
Nope invalid date is gone. Good work Rob
qwerk
Posts: 222 Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:
Post
by qwerk » Tuesday 09 May 2017 11:21
Nice, invalid date in chrome and firefox gone.
you are doing great, Rob. Kudo's
bsmeding
Posts: 34 Joined: Tuesday 28 October 2014 18:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by bsmeding » Tuesday 09 May 2017 15:47
Yes working perfect now on iPad (safari)
THANKS!
gielie
Posts: 290 Joined: Tuesday 12 January 2016 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:
Post
by gielie » Tuesday 09 May 2017 16:50
I have different colours for the text corresponding to the afval, is it possible to change the color of the trashcan, corresponding to the trash of that week.
- Aeon Labs USB Stick met Z-wave plus
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
robgeerts
Posts: 1273 Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:
Post
by robgeerts » Tuesday 09 May 2017 17:36
No.. but in my case I have weeks where everything is getting picked up at separate days..what colour do you want it to be
gielie
Posts: 290 Joined: Tuesday 12 January 2016 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:
Post
by gielie » Tuesday 09 May 2017 18:22
robgeerts wrote: No.. but in my case I have weeks where everything is getting picked up at separate days..what colour do you want it to be
Haha that would-be a big mesh. Is it possible to only show the next trash date, so only one line and then correspond the color of the trash icon.
- Aeon Labs USB Stick met Z-wave plus
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
robgeerts
Posts: 1273 Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:
Post
by robgeerts » Tuesday 09 May 2017 18:24
I can still show multiple lines but color the icon corresponding to the first pickup date to come..
remb0
Posts: 499 Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:
Post
by remb0 » Tuesday 09 May 2017 18:53
When I did git pull i got: already up to date.
But I did not had the right js file.
I have updated manually and it works! thanks! great module!
mvveelen
Posts: 687 Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:
Post
by mvveelen » Tuesday 09 May 2017 19:49
robgeerts wrote: I can still show multiple lines but color the icon corresponding to the first pickup date to come..
Would be nice. The invalid date is gone here too
!
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
Users browsing this forum: No registered users and 1 guest