Hi Team.
I have a Node Red automation and just looking for some help or ideas. The Good-Bye-Good-Night is a boolean is on when we are in bed or away from home and its off when home.
So if motion is detected and we are home and the time is between 7AM and 7PM turn the light on Full otherwise turn on dimmed. Thats all good and working.
What i am trying to do is if motion is detected and we are not at home and the time is between 00:00 and 23:59 to turn the lights off after 15 seconds. Basically my cats trip the motion sensor and i want the light to stay on only briefly. I dont want to just have the light off in case a human trips the motion. Basically to save electricity and money as there is no need for the light to be on for 5 minutes when the cat trips it which is what it is when normally detected