Can you do something with this?
Code: Select all
{
"ActTime" : 1492273407,
"ServerTime" : "2017-04-15 18:23:27",
"Sunrise" : "06:46",
"Sunset" : "20:38",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "Off",
"Description" : "",
"Favorite" : 1,
"HardwareID" : 20,
"HardwareName" : "Hue Scenes",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "000140AB",
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2017-04-15 09:53:48",
"Level" : 0,
"LevelActions" : "http%3A//192.168.0.10%3A8084/json.htm%3Ftype%3Dcommand%26param%3Dswitchlight%26idx%3D86%26switchcmd%3DOff|http%3A//192.168.0.10%3A8084/json.htm%3Ftype%3Dcommand%26param%3Dswitchlight%26idx%3D71%26switchcmd%3DOn|http%3A//192.168.0.10%3A8084/json.htm%3Ftype%3Dcommand%26param%3Dswitchlight%26idx%3D72%26switchcmd%3DOn|http%3A//192.168.0.10%3A8084/json.htm%3Ftype%3Dcommand%26param%3Dswitchlight%26idx%3D74%26switchcmd%3DOn|http%3A//192.168.0.10%3A8084/json.htm%3Ftype%3Dcommand%26param%3Dswitchlight%26idx%3D88%26switchcmd%3DOn",
"LevelInt" : 0,
"LevelNames" : "Off|Concentreren|Gedimd|Lezen|Film",
"LevelOffHidden" : false,
"MaxDimLevel" : 100,
"Name" : "Hue Scenes",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"SelectorStyle" : 0,
"ShowNotifications" : true,
"SignalLevel" : "-",
"Status" : "Off",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "Selector Switch",
"SwitchType" : "Selector",
"SwitchTypeVal" : 18,
"Timers" : "false",
"Type" : "Light/Switch",
"TypeImg" : "Light",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "91"
}
],
"status" : "OK",
"title" : "Devices"
}
No need to rush, enjoy your Easter-weekend.