I’ve created a logicblock that turns on a light if Ring detects motion after dark.
What happens now, though, is when we go for a walk after dark (which is most of the time now in late November) we’re turning on the lights, even if we just turned them off because we’re leaving.
I’m trying to create a setup that solves that. Spoiler alert: it’s not working, and I need help figuring out what the problem is.
Here’s what I’ve done:
- Created Boolean variable called Light_Is_On
- Created condition that is called Light_Is_Off, with a required state of True and a Timeout that makes it only true the first minute. (this is where I think the problem is, but I don’t know)
- Created a logicblock that turns off lights if Light_Is_Off condition is met, and triggers an IFTTT event Light_Is_Off
- I created an Alexa link through IFTTT that if I say “Alexa, trigger Leaving The House” which launches that logicblock from 3.
- Created IFTTT link that sets Light_Is_On to false if it receives “Light_Is_Off” event
When I’ve created all of these things, it’s not working. After I tell Alexa we’re leaving the house, which triggers the logicblock that triggers the change in variable that should prevent the light from turning on, it seems to work – but the condition never changes back after the 1 minute delay, and so five minutes or ten minutes later I can walk by the sensor and it still doesn’t turn the lights on.
Does anyone have any ideas for solving this? It’s a very complex set of things, but I think it should be doable if I figure out what I’m doing wrong!
Thank you!