You dont have to define every block in de blocks-variable:
Code: Select all
blocks[204] = {}
Code: Select all
blocks[204] = {}
blocks[204]['width'] = 6;
Moderators: leecollings, htilburgs, robgeerts
Code: Select all
blocks[204] = {}
Code: Select all
blocks[204] = {}
blocks[204]['width'] = 6;
Code: Select all
{
"ActTime" : 1491421162,
"ServerTime" : "2017-04-05 21:39:22",
"Sunrise" : "07:06",
"Sunset" : "20:18",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "20.4",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 23,
"HardwareName" : "NEST",
"HardwareType" : "Nest Thermostat/Protect",
"HardwareTypeVal" : 52,
"HaveTimeout" : false,
"ID" : "0000001",
"LastUpdate" : "2017-04-05 21:38:53",
"Name" : "Thermostaat ingesteld op",
"Notifications" : "false",
"PlanID" : "12",
"PlanIDs" : [ 12 ],
"Protected" : false,
"SetPoint" : "20.4",
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "SetPoint",
"Timers" : "false",
"Type" : "Thermostat",
"TypeImg" : "override_mini",
"Unit" : 0,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "195"
}
],
"status" : "OK",
"title" : "Devices"
}{
"ActTime" : 1491421162,
"ServerTime" : "2017-04-05 21:39:22",
"Sunrise" : "07:06",
"Sunset" : "20:18",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "20.4",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 23,
"HardwareName" : "NEST",
"HardwareType" : "Nest Thermostat/Protect",
"HardwareTypeVal" : 52,
"HaveTimeout" : false,
"ID" : "0000001",
"LastUpdate" : "2017-04-05 21:38:53",
"Name" : "Thermostaat ingesteld op",
"Notifications" : "false",
"PlanID" : "12",
"PlanIDs" : [ 12 ],
"Protected" : false,
"SetPoint" : "20.4",
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "SetPoint",
"Timers" : "false",
"Type" : "Thermostat",
"TypeImg" : "override_mini",
"Unit" : 0,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "195"
}
],
"status" : "OK",
"title" : "Devices"
}
Code: Select all
{
"ActTime" : 1491421297,
"ServerTime" : "2017-04-05 21:41:37",
"Sunrise" : "07:06",
"Sunset" : "20:18",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "20.0 C, 43 %",
"Description" : "",
"DewPoint" : "7.04",
"Favorite" : 1,
"HardwareID" : 23,
"HardwareName" : "NEST",
"HardwareType" : "Nest Thermostat/Protect",
"HardwareTypeVal" : 52,
"HaveTimeout" : false,
"Humidity" : 43,
"HumidityStatus" : "Comfortable",
"ID" : "0002",
"LastUpdate" : "2017-04-05 21:41:25",
"Name" : "Woonkamer",
"Notifications" : "true",
"PlanID" : "12",
"PlanIDs" : [ 12 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "WTGR800",
"Temp" : 20.0,
"Timers" : "false",
"Type" : "Temp + Humidity",
"TypeImg" : "temperature",
"Unit" : 0,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "196"
}
],
"status" : "OK",
"title" : "Devices"
}{
"ActTime" : 1491421297,
"ServerTime" : "2017-04-05 21:41:37",
"Sunrise" : "07:06",
"Sunset" : "20:18",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "20.0 C, 43 %",
"Description" : "",
"DewPoint" : "7.04",
"Favorite" : 1,
"HardwareID" : 23,
"HardwareName" : "NEST",
"HardwareType" : "Nest Thermostat/Protect",
"HardwareTypeVal" : 52,
"HaveTimeout" : false,
"Humidity" : 43,
"HumidityStatus" : "Comfortable",
"ID" : "0002",
"LastUpdate" : "2017-04-05 21:41:25",
"Name" : "Woonkamer",
"Notifications" : "true",
"PlanID" : "12",
"PlanIDs" : [ 12 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "WTGR800",
"Temp" : 20.0,
"Timers" : "false",
"Type" : "Temp + Humidity",
"TypeImg" : "temperature",
"Unit" : 0,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "196"
}
],
"status" : "OK",
"title" : "Devices"
}
Code: Select all
{
"ActTime" : 1491421622,
"ServerTime" : "2017-04-05 21:47:02",
"Sunrise" : "07:06",
"Sunset" : "20:18",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "On",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 23,
"HardwareName" : "NEST",
"HardwareType" : "Nest Thermostat/Protect",
"HardwareTypeVal" : 52,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "0000071",
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2017-04-05 20:23:28",
"Level" : 100,
"LevelInt" : 15,
"MaxDimLevel" : 15,
"Name" : "Statenlaan Family Room HeatingOn",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "On",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "AC",
"SwitchType" : "On/Off",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "Lighting 2",
"TypeImg" : "lightbulb",
"Unit" : 1,
"Used" : 0,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "197"
}
],
"status" : "OK",
"title" : "Devices"
}
Code: Select all
{
"ActTime" : 1491421670,
"ServerTime" : "2017-04-05 21:47:50",
"Sunrise" : "07:06",
"Sunset" : "20:18",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "Off",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 23,
"HardwareName" : "NEST",
"HardwareType" : "Nest Thermostat/Protect",
"HardwareTypeVal" : 52,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "0000003",
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2017-03-28 16:40:20",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 15,
"Name" : "Statenlaan Family Room Away",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "Off",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "AC",
"SwitchType" : "On/Off",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "Lighting 2",
"TypeImg" : "lightbulb",
"Unit" : 1,
"Used" : 0,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "198"
}
],
"status" : "OK",
"title" : "Devices"
}
SwordFish wrote:Here you go
The last 2 i haven't tested yet
This is what I get in the latest BETA.heggink wrote:Nest:
-------------
Dummy P1 device:
----------
Hmm weird... could you send me your current config (only the blocks/columns part) and the output of Venz M9?HansieNL wrote:Did something change in latest Beta (dashboard (2).zip)?
The Venz M9 button should be next to Mede8er button. It was ok in 1st beta. (dashboard.zip). CONFIG.js is not changed.
Yes, that's the planHansieNL wrote: Will it be possible in future version to add custom icons and text?
Looks good.This is what I get in the latest BETA.robgeerts wrote:SwordFish wrote:Here you go
The last 2 i haven't tested yetheggink wrote:Nest:
-------------
Dummy P1 device:
----------
![]()
I've tested with some of your device.whiteduck wrote:Thanks Rob - looking really good now with sunrise/sunset, the lux icon and the improved energy use.
There is still a gap with the Energy and Energy today shown the following as you don't know what has used the energy![]()
9.png
Thanks a lot
Ian
This will be possible in latest version, publishing today/tonight:SwordFish wrote:is it possible to change the textsize and image from the currentweather?
I want to replace "weersvoorspelling" with the currentweather
Thanks manrobgeerts wrote:This will be possible in latest version, publishing today/tonight:SwordFish wrote:is it possible to change the textsize and image from the currentweather?
I want to replace "weersvoorspelling" with the currentweather
Checkout the latest version in gitlab.SwordFish wrote: Thanks man
Code: Select all
columns[2] = {}
columns[2]['blocks'] = ['currentweather_big','weather',5,145,97];
columns[2]['width'] = 5;
Could you show me a screenshot of the console-window (F12) ?SwordFish wrote:I just downloaded the last version with auto position.
But when i set it to false and set use favorites to false or true and removed the quote's to custom positioning i get a white screen as dashboard.
When i set auto position to true and use favorites to true and out quote custom positioning it is working?
Found the problem. I had to quote out the text "CUSTOM POSITIONING:" in the config file.robgeerts wrote:Could you show me a screenshot of the console-window (F12) ?SwordFish wrote:I just downloaded the last version with auto position.
But when i set it to false and set use favorites to false or true and removed the quote's to custom positioning i get a white screen as dashboard.
When i set auto position to true and use favorites to true and out quote custom positioning it is working?
Users browsing this forum: No registered users and 1 guest