Can I automate the turning off of lights attached to a HS200?
I have a Ring security system with sensors on doors/windows and cameras in several rooms. I have an Echo Show and Echo Dot (i.e., Amazon Alexa) in a couple rooms. For the garage, the light switch is on the wall by the door leading into the garage. Since the switch is not inside the garage, I cannot use a Kasa Smart motion activated switch. So, via an Alexa routine, I have the HS200 turning on the lights in the garage as soon as the Ring system realizes the door is open and then there is another routine that turns on the lights in the garage when the Ring camera in the garage detects motion. Those routines work smoothly. Since the kids always forget to turn the lights off, I figured I would create a routine to turn them off. So, I set up an Alexa routine that is supposed to turn off the lights when the Ring camera does not recognize motion for 5 minutes, but it does not work.
The routine to turn off the lights looks like this:
Name: Garage Lights Off
Trigger: When the House Garage Camera detects no motion for 5 minutes then
Action: Garage Lights Power: Off
It works just fine if I press the "play" button in the Alexa app to run the routine. However, it does not work in real life. If I open the door, the light comes on, I get something out of the garage, I do not click the HS200 after leaving the garage, and the lights stay on until I turn them off with the Kasa app or I manually click the HS200 some 10+ minutes later.
I looked at IFTTT and there did not appear to be an option to run an "applet" to turn off the lights, only turn them on.
Is there any way to create some routine that will turn off lights when a camera or motion sensor does not detect motion? I have several Ring motion sensors that I could use to accomplish this, if need be.