Great work - really nice - shame this isn't built in to Domoticz - perhaps this could happen?
Did this supersede your Dashticz project?
A few requests if possible please and of course I will buy you a beer for your efforts
.
1. Any chance of an FAQ/Readme/in-line comments that shows us how/where to modify the main.js and CONFIG.js in such a way as it is re-usable by others - I took a look but I wasn't entirely clear what section to change to get the desired result but I managed to get it to display Temp from Oregon Temp + Humidy (via RFXCOM) with some trial and error - of course would be nice to combine the temp and humidity in a single block to make it better... here is the json from that device for your reference:
Code: Select all
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 100,
"CustomImage" : 0,
"Data" : "13.9 C, 58 %",
"Description" : "",
"DewPoint" : "5.77",
"Favorite" : 1,
"HardwareID" : 6,
"HardwareName" : "RFXCOM",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveTimeout" : false,
"Humidity" : 58,
"HumidityStatus" : "Normal",
"ID" : "4A02",
"LastUpdate" : "2017-04-04 13:18:39",
"Name" : "Outside",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 4,
"SubType" : "THGN122/123, THGN132, THGR122/228/238/268",
"Temp" : 13.90,
"Timers" : "false",
"Type" : "Temp + Humidity",
"TypeImg" : "temperature",
"Unit" : 2,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "189"
},
I also got an Owl current meter "usage" included - here are the device details:
Code: Select all
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 100,
"CounterToday" : "4.369 kWh",
"CustomImage" : 0,
"Data" : "8947.761 kWh",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 6,
"HardwareName" : "RFXCOM",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveTimeout" : false,
"ID" : "00008A82",
"LastUpdate" : "2017-04-04 13:19:02",
"Name" : "Owl-energy",
"Notifications" : "false",
"Options" : "",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 5,
"SubType" : "kWh",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "General",
"TypeImg" : "current",
"Unit" : 1,
"Usage" : "486.3 Watt",
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "46"
},
2. Could we have a PIR icon as currently these "switches" appear as light bulbs. Perhaps a red one to indicate activated
Code: Select all
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "Off",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 6,
"HardwareName" : "RFXCOM",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "00911C8",
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2017-04-04 12:56:42",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 15,
"Name" : "Upstairs PIR",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 4,
"Status" : "Off",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "AC",
"SwitchType" : "Motion Sensor",
"SwitchTypeVal" : 8,
"Timers" : "false",
"Type" : "Lighting 2",
"TypeImg" : "motion",
"Unit" : 10,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "55"
},
and
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" : 2,
"HardwareName" : "AeonZW",
"HardwareType" : "OpenZWave USB",
"HardwareTypeVal" : 21,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "00000400",
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2017-04-04 10:28:35",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 100,
"Name" : "Fibaro-PIR",
"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" : "5"
},
3. Is it possible to list power usage against plugs (appearing as switches currently) - that have a power consumption feature
Code: Select all
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "7.0 Watt",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 2,
"HardwareName" : "AeonZW",
"HardwareType" : "OpenZWave USB",
"HardwareTypeVal" : 21,
"HaveTimeout" : false,
"ID" : "0000601",
"LastUpdate" : "2017-04-04 13:16:37",
"Name" : "Pumps-Watts",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Electric",
"Timers" : "false",
"Type" : "Usage",
"TypeImg" : "current",
"Unit" : 2,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "12"
4. Would be great to have a language / location section which brings different options for Wunderground settings, radio, traffic (
www.trafficengland.com) etc.
Thanks again!
Ian