Greetings-
I want to be able to trigger an automation based on if HA/Synology Surveillance Station is receiving video from one of my security cameras. I have older cameras on a mesh wifi network and every so often I lose a camera in Synology Surveillance Station but have them plugged into wifi controlled outlets. So I am looking to do the following type of automation, and if this is can already be done I would love to learn how.
Camer_Video=false (noting the absence of video)
Power off outlet
Delay 10 seconds
Power on outlet
Everything to do this is already in HA I just can’t find the first item to trigger this automation. Thank you for your help!