I have again a few wish
Some new type of devices.. no hurry
PIR sensor via domoticz slave
Code: Select all
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 13,
"Data" : "Off",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 5,
"HardwareName" : "Mokkislave",
"HardwareType" : "Domoticz - Remote Server",
"HardwareTypeVal" : 3,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "00000C00",
"Image" : "Alarm",
"IsSubDevice" : false,
"LastUpdate" : "2017-04-08 14:25:38",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 100,
"Name" : "Workroom PIR sensor",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "Off",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "Switch",
"SwitchType" : "On/Off",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "Light/Switch",
"TypeImg" : "lightbulb",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "131"
},
Door sensor via domoticz slave
Code: Select all
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 13,
"Data" : "Off",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 5,
"HardwareName" : "Mokkislave",
"HardwareType" : "Domoticz - Remote Server",
"HardwareTypeVal" : 3,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "00000E34",
"Image" : "Alarm",
"IsSubDevice" : false,
"LastUpdate" : "2017-04-02 13:58:41",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 100,
"Name" : "Workroom door",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "Off",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "Switch",
"SwitchType" : "On/Off",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "Light/Switch",
"TypeImg" : "lightbulb",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "142"
},
PIR sensor
Code: Select all
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 91,
"CustomImage" : 13,
"Data" : "Off",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 4,
"HardwareName" : "Razberry",
"HardwareType" : "OpenZWave USB",
"HardwareTypeVal" : 21,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "00000700",
"Image" : "Alarm",
"IsSubDevice" : false,
"LastUpdate" : "2017-04-02 14:01:52",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 100,
"Name" : "Summerhouse PIR",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "Off",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "Switch",
"SwitchType" : "On/Off",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "Light/Switch",
"TypeImg" : "lightbulb",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "171"
},
Door sensor
Code: Select all
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 68,
"CustomImage" : 13,
"Data" : "Off",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 4,
"HardwareName" : "Razberry",
"HardwareType" : "OpenZWave USB",
"HardwareTypeVal" : 21,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "00000E34",
"Image" : "Alarm",
"IsSubDevice" : false,
"LastUpdate" : "2017-04-02 14:01:30",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 100,
"Name" : "Summerhouse door sensor",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "Off",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "Switch",
"SwitchType" : "On/Off",
"SwitchTypeVal" : 0,
"Timers" : "false",
"Type" : "Light/Switch",
"TypeImg" : "lightbulb",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "251"
},
Do you have any plan to add feature to that user can define what image is displayed for every per block (lamp, water drop...)? And do you have any idea why some of the devices gives graph that makes sense and some not
examples
Code: Select all
json.htm?type=graph&sensor=counter&idx=237&range=day
{
"ValueQuantity" : "",
"ValueUnits" : "",
"result" : [
{
"d" : "2017-04-11 17:00",
"v" : "4.000"
},
{
"d" : "2017-04-11 18:00",
"v" : "628.000"
},...
Code: Select all
json.htm?type=graph&sensor=counter&idx=198&range=day
{
"ValueQuantity" : "",
"ValueUnits" : "",
"status" : "OK",
"title" : "Graph counter day"
}