After a spate of prowlers, I am looking for a way to have ST connected devices (lamps) turn on for a set period of time in response to an alert from our IP security camera.
The camera has options to send an email or post a file to FTP when movement is detected.
I suspect it’s possible to use IFTTT to trigger on receipt of an email and have ST turn on a single device.
However I want a little more.
I want more than one device to turn on when triggered
Devices should turn off after a set period
Automation should only run at defined times (overnight or dusk to dawn etc etc).
I have ST hub; IFTTT; iOS shortcuts; Alexa; gmail ID/s available to me.
Any and all guidance on approaching this would be much appreciated. I can code, but would need pointers / samples to get going.