- Posted on
Thu Mar 30, 2017 1:05 am
-
nsheldon
offline
-
- Posts: 2469
- Joined: Aug 09, 2010
- Location: CA
-
@joesan: In short... no, not reliably. The Hue Motion sensor communicates directly with the Hue hub (a.k.a. bridge), but Philips has not developed any mechanism for the bridge to notify any external applications like the Hue Lights plugin that a motion sensor (or any sensor or switch, for that matter) has been triggered. So the only solution developers have is to very frequently ask the Hue bridge the status oaf all sensors and compare the reported status to the last reported status. The problem is that the bridge will only allow you to ask it for status updates so often before it stops answering. So at best, any application wanting to know if a motion sensor has detected motion can only ask the bridge about once every 2 or 3 seconds, or longer if you're nearing the maximum of 50 connected Hue devices. That's not fast enough for real-time actions like turning on lights as you enter a room or hallway. It may be okay for a security alarm, but that's about it. The Hue Lights plugin only asks for status updates about every 8 seconds and for people with lots of Hue devices, that's nearing the fastest I'd like to do updates (more due to plugin performance issues than to the Hue bridge).
If Philips ever adds the ability for the bridge to send notifications to external applications, I'd likely add support for that. But for now, there's no sensor support. CliveS's type of solution is the one most Indigo people use, from what I've seen so far anyway.