Skip to content

Replicate the behavior of the Philips Hue sensor

Replicate the behavior of the Philips Hue sensor

Hi, I recently received a philips shade sensor for my kitchen, as I installed a light strip at the bottom of my units. I’m no stranger to Philips Hue sensors or lights, and I like the way it works when it comes to shutting down after a minute without downtime. I’m trying to replicate this behavior in the homekit for the simple reason that I want to use dynamic lighting in the homekit so that the white hue of my light strip changes during the day. Although it sounds simple, it has some problems: if I set an automation to turn off the lights when the sensor stops detecting movement (which can do if you stay still for even a few seconds), it immediately turns off the lights. This is frustrating because the lights may continue to turn on and off while you are doing things in the kitchen. If I set it to turn off after a set time in the automation to turn on the lights, whether you turn on the motion sensor again at that time, it will turn off the light. So if set to 1 minute, it will always turn off the light after 1 minute of being activated, regardless of reactivating the sensor in this time scale. What I need is to check for a minute when the sensor stops moving for me to activate it again. If I turn it on again, do nothing to the lights and keep them running. If 60 consecutive seconds have elapsed without movement, turn off the light. I would appreciate if anyone has any idea how I can do this, if you are confused about what I want, I just want it to behave the same way it behaves when configured through the Hue app. I tried to use Eve’s conditions and shortcuts to accomplish this, but I hit a wall.