Tasker - Add a Task to activate Motion Detection

How do you activate motion detection when you are at home?

Add a task (motion detection enabled)

Start Tasker and switch to the Task tab. Press the plus down in the middle.

Tasker - Add a Task

  1. Start the Android app and press the + at the bottom.

Tasker - Add a Task

  1. Name the task and confirm the entry.

Tasker - Add a Task

  1. Press the + again to open the Action Category dialogue.

Tasker - Add a Task

  1. Select the Net tile in the Category dialog.

Tasker - Add a Task

  1. Then select the HTTP GET action.

Now we have to define the CGI command that will be sent to the camera every time your smart phone connects to your home Wi-Fi network. Enter the local IP of your camera as the server address - do not forget to attach the web port of your camera if it does not correspond to 80. If the address of your camera is e.g. 192.168.178.200 and you have changed the local port to 8081 (in the web interface of the camera under Network / IP Configuration - and not the external port you may have passed in your router), you have 192.168.178.200:8081 as a server Specify address. After that, only the matching CGI command in the Path field is missing.

The CGI command to enable all 4 motion detection areas of your INSTAR HD camera is:

/web/param.cgi?cmd=setmdattr&-name=1&-enable=1&cmd=setmdattr&-name=2&-enable=1&cmd=setmdattr&-name=3&-enable=1&cmd=setmdattr&-name=4&-enable=1?usr=admin&pwd=instar

Please change the username (usr) admin and password (pwd) instar according to your camera login.

Tasker - Add a Task

  1. Enter the HTTP Get command that you want to send to the IP address of your camera.

Tasker - Add a Task

  1. Leave all other settings - just go back to save the action.