Hi,
I have one of the brand new Hue Motion Sensors and would like to use it to trigger rules only at certain times of the day (e.g. after the childrens bedtime, but not during). The Hue Motion Sensor also has a light and temperature sensor built in.
As these are brand new (only released about 2 weeks ago) and .: not included in the Hue Binding, how can I create Items to read/monitor their values? Specifically if Motion is detected (true/false, ON/OFF), the light level (perhaps 0-65500ish like the Hue Bulb brightness settings) and temperature value (a number in 1/100ths of a degee C?).
I would expect the Motion Sensor is a Switch, and the Light and Temperature to be Dimmers?
Using the Hue API CLIP debugger I can see the below information from the Motion Sensor âŠ
5 is the Temperature, 6 is the Motion Sensor, 7 is the Light Sensor, not sure what 8 is.
<IPAddress>/api/<SecretID>/sensors
{
"5": {
"state": {
"temperature": 1796,
"lastupdated": "2016-10-15T12:10:46"
},
"config": {
"on": true,
"battery": 100,
"reachable": true,
"alert": "none",
"ledindication": false,
"usertest": false,
"pending": []
},
"name": "Hue temperature sensor 1",
"type": "ZLLTemperature",
"modelid": "SML001",
"manufacturername": "Philips",
"swversion": "6.1.0.18912",
"uniqueid": "##:##:##:##:##:##:##:##-##-####"
},
"6": {
"state": {
"presence": false,
"lastupdated": "2016-10-15T12:05:35"
},
"config": {
"on": true,
"battery": 100,
"reachable": true,
"alert": "none",
"ledindication": false,
"usertest": false,
"sensitivity": 2,
"sensitivitymax": 2,
"pending": []
},
"name": "Landing MS",
"type": "ZLLPresence",
"modelid": "SML001",
"manufacturername": "Philips",
"swversion": "6.1.0.18912",
"uniqueid": "##:##:##:##:##:##:##:##-##-####"
},
"7": {
"state": {
"lightlevel": 15351,
"dark": false,
"daylight": true,
"lastupdated": "2016-10-15T12:15:09"
},
"config": {
"on": true,
"battery": 100,
"reachable": true,
"alert": "none",
"tholddark": 2054,
"tholdoffset": 7000,
"ledindication": false,
"usertest": false,
"pending": []
},
"name": "Hue ambient light sensor 1",
"type": "ZLLLightLevel",
"modelid": "SML001",
"manufacturername": "Philips",
"swversion": "6.1.0.18912",
"uniqueid": "##:##:##:##:##:##:##:##-##-####"
},
"8": {
"state": {
"status": 0,
"lastupdated": "2016-10-15T12:05:35"
},
"config": {
"on": true,
"reachable": true
},
"name": "MotionSensor 6.Companion",
"type": "CLIPGenericStatus",
"modelid": "PHA_STATE",
"manufacturername": "Philips",
"swversion": "1.0",
"uniqueid": "MotionSensor 6.Companion",
"recycle": true
}
}
Many thanks in advance!