
Verstuurd vanaf mijn HUAWEI NXT-L29 met Tapatalk
Moderators: leecollings, htilburgs, robgeerts
Thanks.robgeerts wrote:Ah, great!
I didn't see it
It's fixed in the next version (not pushed to Gitlab yet but will be when I finished the arrange-function, hopefully tonight)
Could you send me the json-output?heggink wrote:Hey Rob, is the thermostat already generic enough to cover my Nest? If so then I can safely upgrade as well️.
You have left some personal data in the config_default.js. Your Wunderground API-key is still thererobgeerts wrote:BETA BETA BETA
Want to test the latest version where you can arrange the blocks yourself?
Download the ZIP from https://drive.google.com/file/d/0B3wQhk ... dON2s/view
Copy the contents to a NEW SUBFOLDER, so do not overwrite your existing dashboard.
Copy CONFIG-DEFAULT.js to CONFIG.js and change according your needs.
You need to know the IDX of every device you want to show!!
You can create extra/less columns with a desired width and with the desired blocks.
Disclaimer:
Remember it may possible things wont work correctly so dont use it as your main dashboard.
Your wife/husband could get angry
Wich one do you wanna see with the P1?heggink wrote:Nest:
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "21.3",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 40,
"HardwareName" : "Thermostat",
"HardwareType" : "Nest Thermostat/Protect",
"HardwareTypeVal" : 52,
"HaveTimeout" : false,
"ID" : "0000001",
"LastUpdate" : "2017-04-05 18:14:55",
"Name" : "Home Temp",
"Notifications" : "false",
"PlanID" : "3",
"PlanIDs" : [ 3 ],
"Protected" : false,
"SetPoint" : "21.3",
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "SetPoint",
"Timers" : "false",
"Type" : "Thermostat",
"TypeImg" : "override_mini",
"Unit" : 0,
"Used" : 1,
"XOffset" : "545",
"YOffset" : "204",
"idx" : "388"
}
Dummy P1 device:
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"Counter" : "38624.279",
"CounterDeliv" : "8124.372",
"CounterDelivToday" : "1.083 kWh",
"CounterToday" : "20.460 kWh",
"CustomImage" : 0,
"Data" : "19911754;18712525;2239784;5884588;0;190",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 52,
"HardwareName" : "P1 Meter",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveTimeout" : false,
"ID" : "82603",
"LastUpdate" : "2017-04-05 18:15:07",
"Name" : "Energy Grid",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Energy",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "P1 Smart Meter",
"TypeImg" : "counter",
"Unit" : 1,
"Usage" : "0 Watt",
"UsageDeliv" : "190 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "603"
},
Cheers!
Code: Select all
"Counter" : "38624.279",
"CounterDeliv" : "8124.372",
"CounterDelivToday" : "1.083 kWh",
"CounterToday" : "20.460 kWh",
"Usage" : "0 Watt",
I have to implement this, i'm thinking of prepend an S like:Dynamic wrote:How can I manual add a scene? They can have the same IDX as a device.
Code: Select all
columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1',1,2,'s233']
columns[1]['width'] = 3;
Its already working. I to have a nest thermosaat.heggink wrote:Hey Rob, is the thermostat already generic enough to cover my Nest? If so then I can safely upgrade as well️.
Verstuurd vanaf mijn HUAWEI NXT-L29 met Tapatalk
Looks good to me...robgeerts wrote:I have to implement this, i'm thinking of prepend an S like:
(s233 would be a scene)Code: Select all
columns[1] = {} columns[1]['blocks'] = ['blocktitle_1',1,2,'s233'] columns[1]['width'] = 3;
Should be better now!Dynamic wrote: I've been playing around and I love to customize the dashboard! However, I'm having some small isues with the icons. There are not correct positioned:
issue_moving_around.jpg
I've just fixed that if you dont want to position every device, he tries to do this automatically, I added these variables (default=true) in the BETA-version:EdKo66 wrote:Not going to dive into this just yet. All those numbers are confusing me. Maybe I will give it a try next weekend.
Code: Select all
var _USE_AUTO_POSITIONING = true;
var _USE_FAVORITES = true;
SwordFish wrote: I really appreciate how quick you jump in the problems we send![]()
Thanks!EdKo66 wrote:Yes, I think Rob is doing an awful lot of work for us. Fixing problems almost as soon as we have send them.
Could you send me your nest output?SwordFish wrote: Its already working. I to have a nest thermosaat.
Users browsing this forum: No registered users and 1 guest