Webcore doesn't process motion event


#1

1) Give a description of the problem
My piston turns on a light when triggered by motion then back off 90 seconds after motion stops. Sometimes it will not process a motion event shortly after turning the light off.

2) What is the expected behaviour?
The piston should always fire when motion is detected.

3) What is happening/not happening?
Logs show that motion is seen but the piston does not fire.

**4) Post a Green Snapshot of the piston![image|45x37]
The piston may look complex but I use this logic in several pistons and I’m a bit OCD.


5) Attach logs after turning logging level to Full
Hubitat logs:
image

webCore logs:


#2

Nevermind, I found it!

I also check the illuminance in that room and only turn the light on if below a certain level. When this piston re-executes it hasn’t yet received the updated illuminance reading so it thinks the room is still bright. Duh.

Thanks anyway.