Skip to main content
Skip table of contents

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
http://IP_ADDRESS:8080/api/pantilt/disableendstops

Response

None

/go/to/{location}

Description

Activates a go to angle action.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/pantilt/go/to/20

Parameter(s):

֍ Location: Location in degrees to tilt.

Response

None

/move/{panspeed}/{tiltspeed}

Description

Activates a pan right action.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/pantilt/move/-64/-64

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
http://IP_ADDRESS:8080/api/pantilt/pan/left

Response

None

/pan/left/{speed}

Description

Activates a pan left action with speed.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/pantilt/pan/left/0

Parameter(s):

֍ Speed: Values between 0 to 100

Response

None

/pan/right

Description

Activates a pan right action.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/pantilt/pan/right

Response

None

/pan/right/{speed}

Description

Activates a pan right action with speed.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/pantilt/pan/right/0

Parameter(s):

֍ Speed: Values between 0 to 100

Response

None

/pan/to/{degrees}

Description

Activates a pan right action.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/pantilt/pan/to/30

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
http://IP_ADDRESS:8080/api/pantilt/state

Response

A dictionary of values.

Response Type

JSON object

Response Example

CODE
{
  "pan": "0",
  "tilt": "0"
}

/stop

Description

Stops all continuous PT actions.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/pantilt/stop

Response

None

/tilt/down/

Description

Activates a tilt down action.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/pantilt/tilt/down/

Response

None

/tilt/down/{speed}

Description

Activates a tilt down action and specifies the speed.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/pantilt/tilt/down/2

Parameter(s):

֍ Speed: Values between 0 to 100

Response

None

/tilt/to/{degrees}

Description

Activates a tilt angle to action.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/pantilt/tilt/to/30

Parameter(s):

֍ Degrees: Angle in degrees to tilt.

Response

None

/tilt/up

Description

Activates a tilt up action.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/pantilt/tilt/up

Response

None

/tilt/up/{speed}

Description

Activates a tilt up action and specifies the speed.

Method

Get

Example

CODE
http://IP_ADDRESS:8080/api/pantilt/tilt/up/2

Parameter(s):

֍ Speed: Values between 0 to 100

Response

None

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.