I have just finished building a Device Handler for the Hue Motion sensor and thought I would share it with the community.
Note that this is very much beta and rather potatoe quality code as its my first device handler but it is working for me. I will happilly entertain suggestions and improvements.
- Detects motion and illuminates a red LED on the device
- Sleeps for about 60 seconds before sending a no motion response
- Seems Accurate
- Works but likely not calibrated very well
- Returns a value that changes based on lighting, However I am not familiar with lux measurements and have nothing to compare it to for calibration. I get around 160 with normal indoor lighting and about 40 in my dimly lit bedroom, but I think that is wrong