SpotCam Motion event detected. D-Link Smart Plug Toggle on/off 30 sec.

Toggle D-Link Smart Plug on/off when SpotCam detect motion

Connect

If SpotCam detect motion then toggle D-Link Smart Plug on/off for 30 seconds automatically

Then

D-Link Smart Plug icon

Toggle on/off 30 sec

This Action will toggle your Smart Plug on/off for 30 seconds.