I am playing around with the HASS with ZHA (with Sonoff dongle E) and Philips Hue. And other devices, but the Hue motion sensor is the topic right now.
I connected the Philips Hue motion sensor directly to ZHA (not via Philips Hue bridge). I see multiple possible sensors - as expected. Illuminance, Occupancy, Opening and Temperature.
My observations is, that once the “Occupancy” (motion) is detected (set to “Detected”), the “Opening” sensor is set to “Open”.
Me sitting on the chair writing this with the sensor behind me does not trigger the “Occupancy” (motion) sensor so it is soon (very soon) switched to “Clear”. After couple of minutes, the “Opening” sensor is switched to “Closed”. Only after I wave my hands, the motion is detected and both sensors are triggered. “Occupancy” is set to “Detected” and “Opening” is set to “Open”. And the whole cycle repeats.
I assume the “opening” is for alarm functions, so you have different channels for you motion detection and alarm function and you can enable/disable separately
Like you guys, I found this thread because I was curious.
You should be using Occupancy for regular motion detection. . I believe the “Opening” thing is if the sensor is active. The reason you were seeing it every 5 minutes is because it’s something else.
I originally thought this was if the motion sensor is actively seeking motion or not, but based on your data, that’s not the case. So it must be another motion detection that has a much higher “off” delay.
In some detectors, you can configure the “off” delay: