# How to automation trigger PTR camera to move position? ## Prepare * QVR Pro * PTZ camera * PIR device ## Steps ### PTZ Camera Settings Please refer to the manuals of cameras to set the preset position point for triggering the steering and the home position point for rotating back after the trigger is completed: ![](https://i.imgur.com/GZXj60F.png) ### QVR Pro Event Settings 1. Open QVR Peo Event Mangement, click the "+" in the middle to add an event ![](https://i.imgur.com/FQzCLze.png) 2. Set event name and schedule ![](https://i.imgur.com/iiG00yW.png) 3. Add new trigger action in "If" field ![](https://i.imgur.com/Fc7KEhS.png) 4. Add a URL that needs to be provided to the PIR device to trigger. Type "Event URL" for Type, enter the URL-resolved name for the event source name, and save the URL link in the red box below for the PIR sense. Tester call ![](https://i.imgur.com/3COfgSy.png) 5. Add new execution action in "Then" field ![](https://i.imgur.com/Z8gJNI4.png) 6. Add a camera control here. Select "Camera Control" for Type, select the camera you want to control and select the positioning point to be turned on the camera in advance. ![](https://i.imgur.com/jbU66g1.png) 7. After setting, click "Next" and then "Finish" ![](https://i.imgur.com/rNlWasd.png) ![](https://i.imgur.com/ye3Qs4l.png) 8. Then follow the above steps to set the anchor point of the camera when no motion is detected. ![](https://i.imgur.com/d2lC4n7.png) ### PIR device settings Here the PIR device is connected to the PIR sensor as an example. Please follow the instructions in your PIR device manual to fill in the URL generated by the above steps into your device settings. ![](https://i.imgur.com/9dO5aeN.jpg) ![](https://i.imgur.com/7ZRzAdo.png) ### Operational test After success, you should see the Event is triggered in the Log and trigger the PTZ camera to turn when the PIR detects a moving object ![](https://i.imgur.com/LKXOi8p.png) ![](https://i.imgur.com/ZG9FMDz.gif)