Back
iSpy Agent Motion detected. TRIGGERcmd Trigger Command.

Run TRIGGERcmd command when iSpy Agent detects motion

Connect

How this automation works

Automate your PC by running a TRIGGERcmd command whenever iSpy Agent detects motion. This Applet runs your specified computer command when motion is detected on a selected camera. Ideal for home security setups or smart automation enthusiasts connecting surveillance with desktop actions.

If
iSpy Agent icon
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when motion is detected on the selected camera.
CreatedAt Device
Then
TRIGGERcmd icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will run a command on your computer.
command params

Services used in this Applet

Create your own TRIGGERcmd and iSpy Agent workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

20 triggers, queries, and actions

Alert

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires when an alert is raised by the selected device.

Any command

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when any command runs

Motion detected

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when motion is detected on the selected camera.

Sound detected

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when sound is detected on the selected microphone

Specific command

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger files when a command you choose is triggered.

History of Alerts

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of when an alert was raised by the selected device.

History of sound detections

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of when sound was detected on the selected microphone

Alert

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
Trigger an alert on the selected device.

Arm a device

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
Arm the selected device (switch alerts on).

Arm server

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will arm the master alerts switch on Agent DVR.

Disable a device

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will disable the selected device.

Disable detection

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will disable motion detection on cameras or sound detection on microphones.

Disarm a device

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
Disarm the selected device (switch alerts off).

Disarm server

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will disarm the master alerts on Agent DVR.

Enable a device

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will enable (switch on) the selected device.

Enable detection

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will enable motion detection on cameras or sound detection on microphones.

Run a command

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will execute a command on the computer running Agent DVR.

Set profile

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will apply the specified profile (home, away or night).

Take a photo

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will make the selected camera take a photo.

Alert

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires when an alert is raised by the selected device.

Alert

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
Trigger an alert on the selected device.

Any command

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when any command runs

Arm a device

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
Arm the selected device (switch alerts on).

Arm server

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will arm the master alerts switch on Agent DVR.

Disable a device

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will disable the selected device.

Disable detection

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will disable motion detection on cameras or sound detection on microphones.

Disarm a device

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
Disarm the selected device (switch alerts off).

Disarm server

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will disarm the master alerts on Agent DVR.

Enable a device

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will enable (switch on) the selected device.

Enable detection

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will enable motion detection on cameras or sound detection on microphones.

History of Alerts

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of when an alert was raised by the selected device.

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on TRIGGERcmd and iSpy Agent

About TRIGGERcmd

Run commands on your computers remotely

  • Go to triggercmd.com and create an account
  • Install an agent on your Windows, Mac, Linux, or Raspberry Pi computer
  • Setup commands you want to run on the computer

Trigger your commands via IFTTT

Explore TRIGGERcmd

More integrations with TRIGGERcmd

About iSpy Agent

iSpy Agent Applets enable you to connect your cameras and microphones to the internet of things. Using iSpy Agent you can trigger events when motion or sound is detected and view live from anywhere on desktop and mobile devices. iSpy Agent works on Windows PCs and supports an enormous range of devices.

Explore iSpy Agent

More integrations with iSpy Agent

IFTTT helps all your apps and devices work better together

Get started for free