Tasker Android App - Schedule PTZ Task
Add a task for timed start-up of stored positions
You want to see your camera in a different direction during the day than at night? In the following example, we will create 2 tasks that will drive our INSTAR HD camera's stored locations. In the second step, we will then adjust the motion detection for these 2 positions and then automate these tasks time-controlled. By the same principle, you can address almost all camera functions - both for our HD cameras, as well as the VGA models.
Add a task (go to position 1)
In the following, we will create a task that sends our camera to the stored position 1.
- Make sure Tasker is enabled and click + to add a new task.
- Name the task and confirm the entry.
- Select the plus to open the Action Category dialogue.
- Select the Net tile here.
- And then the HTTP GET action.
- Then configure the HTTP Get command to send the CGI command to the IP address (s.u.).
- Press the play button to test the action.
- Via the button on the bottom right we can assign an icon to the task.
- Then return to the task overview to save the settings.
Now (see 6 above) we need to create the HTTP command, which will be sent to the camera when the task is activated. Enter the IP address of your camera as Server Address - do not forget to attach the camera to web port if it is not 80. If your camera has e.g. 192.168.178.200 and the camera can be accessed locally via port 8081 (the HTTP port can be viewed in the web interface under Network / IP Configuration), you must enter 192.168.178.200:8081 as the server address. This is followed by the corresponding CGI command in the Path input field.
The CGI command that sends your INSTAR HD camera to saved position 1 is:
/cgi-bin/hi3510/param.cgi?cmd=preset&-act=goto&-number=0?usr=admin&pwd=instar
Please change in the command the username (usr) admin and password (pwd) instar according to your camera login.
Add a task (go to position 2)
In the following, we will create a task that sends our camera to the stored position 2.
- Click + to add a new task.
- Name the task and confirm the entry.
- Select the plus to open the Action Category dialogue.
- Select the Net tile here.
- And then the HTTP GET action.
- Then configure the HTTP Get command to send the CGI command to the IP address (s.u.).
- Press the play button to test the action.
- Via the button on the bottom right we can assign an icon to the task.
- Then return to the task overview to save the settings.
- The task is now ready for use.
Now (see 6 above) we need to create the HTTP command, which will be sent to the camera when the task is activated. Enter the IP address of your camera as Server Address - do not forget to attach the camera to Webport if it is not 80. If your camera has e.g. 192.168.178.200 and the camera can be accessed locally via port 8081 (the HTTP port can be viewed in the web interface under Network / IP Configuration), you must enter 192.168.178.200:8081 as the server address. This is followed by the corresponding CGI command in the Path input field.
The CGI command that sends your INSTAR HD camera to saved position 2 is:
/cgi-bin/hi3510/param.cgi?cmd=preset&-act=goto&-number=1?usr=admin&pwd=instar
Please change in the command the username (usr) admin and password (pwd) instar according to your camera login.
Next, we will create tasks to set the Sensitivity of Motion Detection for the two positions, and then set a Profile for Timing the Positions Timely.