And last days I changed index.html to be more dynamic. Sorry for the inconvenience
Dashticz - General Discussions
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: New Dashboard Design
I understand but sometimes, when adding functionality, I have to add variables to CONFIG.js...
And last days I changed index.html to be more dynamic. Sorry for the inconvenience
And last days I changed index.html to be more dynamic. Sorry for the inconvenience
- HansieNL
- Posts: 969
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: New Dashboard Design
@robgeerts
Great job you do with this dashboard. Three thumbs up!
My Toon thermostat (setpoint) is still recognized as switch. Should this one be recognized as thermostat already? Am I missing something maybe? Would be great if this one is gonna be recognized as setpoint.
Can you add a Paypal button to this project Gitlab page... then we can buy you a drink
This is for the Toon Thermostat setpoint:
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "19.0",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 7,
"HardwareName" : "Toon Thermostaat",
"HardwareType" : "Toon Thermostat",
"HardwareTypeVal" : 34,
"HaveTimeout" : false,
"ID" : "0000001",
"LastUpdate" : "2017-03-27 17:36:55",
"Name" : "Thermostaatinstelling",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"SetPoint" : "19.0",
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "SetPoint",
"Timers" : "false",
"Type" : "Thermostat",
"TypeImg" : "override_mini",
"Unit" : 0,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "35"
},
Great job you do with this dashboard. Three thumbs up!
My Toon thermostat (setpoint) is still recognized as switch. Should this one be recognized as thermostat already? Am I missing something maybe? Would be great if this one is gonna be recognized as setpoint.
Can you add a Paypal button to this project Gitlab page... then we can buy you a drink
This is for the Toon Thermostat setpoint:
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "19.0",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 7,
"HardwareName" : "Toon Thermostaat",
"HardwareType" : "Toon Thermostat",
"HardwareTypeVal" : 34,
"HaveTimeout" : false,
"ID" : "0000001",
"LastUpdate" : "2017-03-27 17:36:55",
"Name" : "Thermostaatinstelling",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"SetPoint" : "19.0",
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "SetPoint",
"Timers" : "false",
"Type" : "Thermostat",
"TypeImg" : "override_mini",
"Unit" : 0,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "35"
},
Blah blah blah
- Dynamic
- Posts: 109
- Joined: Friday 12 July 2013 14:50
- Target OS: -
- Domoticz version:
- Location: Enschede
- Contact:
Re: New Dashboard Design
I downloaded the latest files, to add my sonos speakers. But now the icons with current energy consumption etc. are gone. How can I add them back in?
-
pvm
- Posts: 550
- Joined: Tuesday 17 June 2014 22:14
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10538
- Location: NL
- Contact:
Re: New Dashboard Design
Would be nice to have the configurable domoboard setup. No need to change multiple files and code html. Too bad I'm not able to do that
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: New Dashboard Design
And I see that you again have already fixed the Buienradar wind block. Thanks for your quick responses and fixes.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
robgeerts
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: New Dashboard Design
https://www.paypal.com/cgi-bin/webscr?c ... ostedGuestHansieNL wrote:@robgeerts
Can you add a Paypal button to this project Gitlab page... then we can buy you a drink![]()
Thanks!
In the latest version it's a button with a temperature-icon. (Moved to middle column because the other toon-blocks (temperature and energy are also positioned in that column)HansieNL wrote: This is for the Toon Thermostat setpoint:
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "19.0",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 7,
"HardwareName" : "Toon Thermostaat",
"HardwareType" : "Toon Thermostat",
"HardwareTypeVal" : 34,
"HaveTimeout" : false,
"ID" : "0000001",
"LastUpdate" : "2017-03-27 17:36:55",
"Name" : "Thermostaatinstelling",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"SetPoint" : "19.0",
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "SetPoint",
"Timers" : "false",
"Type" : "Thermostat",
"TypeImg" : "override_mini",
"Unit" : 0,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "35"
},
Do you have a screenshot, they do work on my dashboard...Dynamic wrote:I downloaded the latest files, to add my sonos speakers. But now the icons with current energy consumption etc. are gone. How can I add them back in?
Everyday I'm trying to make the dashboard better, piece by piece..pvm wrote: Would be nice to have the configurable domoboard setup. No need to change multiple files and code html. Too bad I'm not able to do that
Are you also changing the index.html manually every time you update? If yes, what are you changing? Maybe I can make a quickfix for you (So you wont have to change anything).
You're welcome!EdKo66 wrote:And I see that you again have already fixed the Buienradar wind block. Thanks for your quick responses and fixes.
- HansieNL
- Posts: 969
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: New Dashboard Design
@robgeerts
Enjoy your beer
Something is going wrong with the Toon thermostat setpoint. Every second there's added a new setpoint button

I did add the red text and adding new setpoint button stopped, but I don't know if it has other side effects?
if(!sliding){
$('.solar').remove();
$('#mains').html('');
$('#switches').html('');
$('#groups').html('');
$('#sliders').html('');
$('.states').html('');
for(r in data.result){
I also did change the text in the Toon thermostat setpoint button a little:
switchHTML+='<strong class="state">'+data.result[r]['SetPoint']+'°C</strong><br />';
switchHTML+='<span class="title">'+data.result[r]['Name']+'</span>';
Now the temperature (value) is on top like the other values.

Enjoy your beer
Something is going wrong with the Toon thermostat setpoint. Every second there's added a new setpoint button

I did add the red text and adding new setpoint button stopped, but I don't know if it has other side effects?
if(!sliding){
$('.solar').remove();
$('#mains').html('');
$('#switches').html('');
$('#groups').html('');
$('#sliders').html('');
$('.states').html('');
for(r in data.result){
I also did change the text in the Toon thermostat setpoint button a little:
switchHTML+='<strong class="state">'+data.result[r]['SetPoint']+'°C</strong><br />';
switchHTML+='<span class="title">'+data.result[r]['Name']+'</span>';
Now the temperature (value) is on top like the other values.

Blah blah blah
Re: New Dashboard Design
Thanks for creating this. I've been wanting to build a better dashboard to use with a mounted iPad for a while now but could never get started. I run Domoticz on Synology NAS with the Aeon Z-stick.
I downloaded the files and was able to connect to my server, adjust language to english and weather to fahrenheit. My favorites come in, but everything shows as light switches. I'm trying to get contact sensors (doors) and motion sensors to say open/closed and motion/no motion.
Also, I added the following code to index.html get the page to load as a standalone app in iOS if you save it to the home screen.
Sample door sensor:
And a sample motion sensor:
Two wish-list features would be 1) having the background switch based on time of day or weather and 2) the ability to control Synology's Audio Station like you did for Sonos and Logitech Media Server. I have Audio Station running to several Airport Expresses around the house and would love to just be able to start and stop a single playlist.
I downloaded the files and was able to connect to my server, adjust language to english and weather to fahrenheit. My favorites come in, but everything shows as light switches. I'm trying to get contact sensors (doors) and motion sensors to say open/closed and motion/no motion.
Also, I added the following code to index.html get the page to load as a standalone app in iOS if you save it to the home screen.
Code: Select all
<meta name="apple-mobile-web-app-capable" content="yes">
Code: Select all
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "Closed",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 3,
"HardwareName" : "Aeon Z-Stick",
"HardwareType" : "OpenZWave USB",
"HardwareTypeVal" : 21,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "00001A00",
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2017-03-06 08:04:07",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 100,
"Name" : "Sensor-Garage",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "Closed",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "Switch",
"SwitchType" : "Contact",
"SwitchTypeVal" : 2,
"Timers" : "false",
"Type" : "Light/Switch",
"TypeImg" : "contact",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "62"
}
And a sample motion sensor:
Code: Select all
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 100,
"CustomImage" : 0,
"Data" : "Off",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 3,
"HardwareName" : "Aeon Z-Stick",
"HardwareType" : "OpenZWave USB",
"HardwareTypeVal" : 21,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "00000A00",
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2017-03-31 21:07:28",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 100,
"Name" : "Multisensor Motion",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "Off",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "Switch",
"SwitchType" : "Motion Sensor",
"SwitchTypeVal" : 8,
"Timers" : "false",
"Type" : "Light/Switch",
"TypeImg" : "motion",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "32"
}
-
pvm
- Posts: 550
- Joined: Tuesday 17 June 2014 22:14
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10538
- Location: NL
- Contact:
Re: New Dashboard Design
I had the same issue as Dynamic. That was a reason for my remark, it took me some time to get things back to original. Indeed changing the html.robgeerts wrote:Dynamic wrote:I downloaded the latest files, to add my sonos speakers. But now the icons with current energy consumption etc. are gone. How can I add them back in?Everyday I'm trying to make the dashboard better, piece by piece..pvm wrote: Would be nice to have the configurable domoboard setup. No need to change multiple files and code html. Too bad I'm not able to do that
Are you also changing the index.html manually every time you update? If yes, what are you changing? Maybe I can make a quickfix for you (So you wont have to change anything).
I totally agree with your however, it's good in basis and gets even better every day (or even multiple times a day:) )
Hope to have some more time next week to pay with this and get the parts which are not showing on my tablet to work.
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
-
pvm
- Posts: 550
- Joined: Tuesday 17 June 2014 22:14
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10538
- Location: NL
- Contact:
Re: New Dashboard Design
At you able to do this from Domoticz now?irishv wrote:2) the ability to control Synology's Audio Station like you did for Sonos and Logitech Media Server. I have Audio Station running to several Airport Expresses around the house and would love to just be able to start and stop a single playlist.
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
-
robgeerts
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: New Dashboard Design
Thank you very much!HansieNL wrote:@robgeerts
Enjoy your beer![]()
Fixed both in latest versionHansieNL wrote:@robgeerts
Something is going wrong with the Toon thermostat setpoint. Every second there's added a new setpoint button![]()
![]()
I did add the red text and adding new setpoint button stopped, but I don't know if it has other side effects?
if(!sliding){
$('.solar').remove();
$('#mains').html('');
$('#switches').html('');
$('#groups').html('');
$('#sliders').html('');
$('.states').html('');
for(r in data.result){
I also did change the text in the Toon thermostat setpoint button a little:
switchHTML+='<strong class="state">'+data.result[r]['SetPoint']+'°C</strong><br />';
switchHTML+='<span class="title">'+data.result[r]['Name']+'</span>';
Now the temperature (value) is on top like the other values.
Added in latest version!irishv wrote: Also, I added the following code to index.html get the page to load as a standalone app in iOS if you save it to the home screen.
Try to add this asap!irishv wrote:I'm trying to get contact sensors (doors) and motion sensors to say open/closed and motion/no motion.
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: New Dashboard Design
Almost all of the cells nice and orderly on the screen.

These are the only ones refusing to play nice.
it must have something to do with the name of the 'Energie vandaag' cell, being a bit to big.
Also, would it be possible to move those to the left of the 'muziekspelers' section instead of under it?

These are the only ones refusing to play nice.
it must have something to do with the name of the 'Energie vandaag' cell, being a bit to big. Also, would it be possible to move those to the left of the 'muziekspelers' section instead of under it?
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: New Dashboard Design
Enjoy your coffee(s)robgeerts wrote:https://www.paypal.com/cgi-bin/webscr?c ... ostedGuestHansieNL wrote:@robgeerts
Can you add a Paypal button to this project Gitlab page... then we can buy you a drink![]()
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
robgeerts
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: New Dashboard Design
Well, in the current version I've added a CONFIG-DEFAULT.js.pvm wrote: I had the same issue as Dynamic. That was a reason for my remark, it took me some time to get things back to original. Indeed changing the html.
I totally agree with your however, it's good in basis and gets even better every day (or even multiple times a day:) )
Hope to have some more time next week to pay with this and get the parts which are not showing on my tablet to work.
I will extend this file with new variables. If there are new variables, you can copy them to the CONFIG.js.
In this way your config.js wont be overwritten again.
About index.html; I'm trying to edit this file not too much.
I just released a new version of the dashboard. I'm hoping I dont have to edit index.html again soon...
I've changes the CSS, I think its better now, otherwise, you could rename 'Energie vandaag' in /lang/nl_NL.js (just added multiple language support)
Do you mean under the switches?EdKo66 wrote: Also, would it be possible to move those to the left of the 'muziekspelers' section instead of under it?
Thanks for the coffee!
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: New Dashboard Design
Yes, under the switches would be good for me.I don't have a big tablet, so if I can save on scrolling, it would be nice 
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
robgeerts
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: New Dashboard Design
In index.html you can move:
to just after:
Code: Select all
<div class="players"></div>
Code: Select all
<div id="switches"></div>
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: New Dashboard Design
Ow,. That is easy. Even *I* can do that
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: New Dashboard Design
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Re: New Dashboard Design
pvm wrote:At you able to do this from Domoticz now?irishv wrote:2) the ability to control Synology's Audio Station like you did for Sonos and Logitech Media Server. I have Audio Station running to several Airport Expresses around the house and would love to just be able to start and stop a single playlist.
No, I should have been more clear. I can't currently do this in Domoticz, but some others have found the right way to send requests. More of a longer term thing I would need to figure out on my own.
Re: New Dashboard Design
Added in latest version!irishv wrote: Also, I added the following code to index.html get the page to load as a standalone app in iOS if you save it to the home screen.
Try to add this asap!irishv wrote:I'm trying to get contact sensors (doors) and motion sensors to say open/closed and motion/no motion.
Awesome, thanks for your work!
Last edited by irishv on Saturday 01 April 2017 15:28, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 1 guest
