Pan/Tilt Commands
Last updated: 2026/1/7 22:57:15 | ||
Path To | Name | Description/Function |
/api/pantilt | /disableendstops | Disable end stops when PT gets stuck. |
/api/pantilt | /go/to/{location} | Activates a go to angle action. |
/api/pantilt | /move/{panspeed}/{tiltspeed} | Activates a pan right action. |
/api/pantilt | /pan/left | Activates a pan left action. |
/api/pantilt | /pan/left/{speed} | Activates a pan left action with speed. |
/api/pantilt | /pan/right | Activates a pan right action. |
/api/pantilt | /pan/right/{speed} | Activates a pan right action with speed. |
/api/pantilt | /pan/to/{degrees} | Activates a pan right action. |
/api/pantilt | /state | Gets the state of the pan and tilt angles. |
/api/pantilt | /stop | Stops all continuous PT actions. |
/api/pantilt | /tilt/down/ | Activates a tilt down action. |
/api/pantilt | /tilt/down/{speed} | Activates a tilt down action and specifies the speed. |
/api/pantilt | /tilt/to/{degrees} | Activates a tilt angle to action. |
/api/pantilt | /tilt/up | Activates a tilt up action. |
/api/pantilt | /tilt/up/{speed} | Activates a tilt up action and specifies the speed. |
/disableendstops
Description | Disable end stops when PT gets stuck. |
Method | Get |
Example |
CODE
|
Response | None |
/go/to/{location}
Description | Activates a go to angle action. |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Location: Location in degrees to tilt. |
Response | None |
/move/{panspeed}/{tiltspeed}
Description | Activates a pan right action. |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Panspeed: Values between -64 to 64 ֍ Tiltspeed: Values between -64 to 64 |
Response | None |
/pan/left
Description | Activates a pan left action. |
Method | Get |
Example |
CODE
|
Response | None |
/pan/left/{speed}
Description | Activates a pan left action with speed. |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Speed: Values between 0 to 100 |
Response | None |
/pan/right
Description | Activates a pan right action. |
Method | Get |
Example |
CODE
|
Response | None |
/pan/right/{speed}
Description | Activates a pan right action with speed. |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Speed: Values between 0 to 100 |
Response | None |
/pan/to/{degrees}
Description | Activates a pan right action. |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Degrees: Angle in degrees to pan. |
Response | None |
/state
Description | Gets the state of the pan and tilt angles. |
Method | Get |
Example |
CODE
|
Response | A dictionary of values. |
Response Type | JSON object |
Response Example |
CODE
|
/stop
Description | Stops all continuous PT actions. |
Method | Get |
Example |
CODE
|
Response | None |
/tilt/down/
Description | Activates a tilt down action. |
Method | Get |
Example |
CODE
|
Response | None |
/tilt/down/{speed}
Description | Activates a tilt down action and specifies the speed. |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Speed: Values between 0 to 100 |
Response | None |
/tilt/to/{degrees}
Description | Activates a tilt angle to action. |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Degrees: Angle in degrees to tilt. |
Response | None |
/tilt/up
Description | Activates a tilt up action. |
Method | Get |
Example |
CODE
|
Response | None |
/tilt/up/{speed}
Description | Activates a tilt up action and specifies the speed. |
Method | Get |
Example |
CODE
|
Parameter(s): | ֍ Speed: Values between 0 to 100 |
Response | None |