0

I am coding a little app that is checking whenever a Philips HUE motion sensor detects presence in a quite reactive way.

At the moment I am polling its presence status every 2 seconds using the HUE V1 API: get-sensor

I am wondering if there is a better/efficient way to do it since this application is running on a little controller, so I would like to avoid to stress it with continuous polling and I also wondering if doing that will also drain out the sensor battery in a few days.

Kill KRT
  • 1,101
  • 2
  • 17
  • 37

0 Answers0