If your SpotCam detect motion, then turn on your D-link Smart Plug
This Trigger fires every time a motion event is detected.
This Action will turn on your Smart Plug.