I am using NodeRed for doing my home automation with HASSIO. I have Blue Iris integrated with MQTT and use the cameras as motion sensors for my lighting. The issue is sometimes they false trigger from another lighting zone turning off/on so I end up with lights staying on when they shouldn’t.
What I am looking to do is when the off command is sent it will start a 30 second timer that while that timer is running it will discard any ON commands sent to that light until the timer expires.
Flow would look like this:
Light Off > 30 Second timer running > Light on from false trigger gets discarded
After timer is expired the motion sensor/light on would function as normal. What node would I use to accomplish this? Thanks in advance!