And last days I changed index.html to be more dynamic. Sorry for the inconvenience

Moderators: leecollings, htilburgs, robgeerts
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![]()
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
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.
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"
}
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"
}
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).
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.
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.
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![]()
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'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?
Code: Select all
<div class="players"></div>
Code: Select all
<div id="switches"></div>
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.
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.
Users browsing this forum: No registered users and 1 guest