37 lines
556 B
Plaintext
37 lines
556 B
Plaintext
meta {
|
|
name: Pan/Tilt Settings
|
|
type: http
|
|
seq: 7
|
|
}
|
|
|
|
post {
|
|
url: {{base_url}}/pt_s
|
|
body: formUrlEncoded
|
|
auth: inherit
|
|
}
|
|
|
|
body:form-urlencoded {
|
|
~pr: 0
|
|
~tr: 0
|
|
~ptf: 0
|
|
~ptm: 0
|
|
~pte: 0
|
|
}
|
|
|
|
docs {
|
|
# Pan/Tilt Settings
|
|
|
|
Configure pan and tilt behavior.
|
|
|
|
## Set Parameters
|
|
- `pr`: Pan reverse (0-1)
|
|
- `tr`: Tilt reverse (0-1)
|
|
- `ptf`: Pan/tilt feedback (0-1)
|
|
- `ptm`: Pan/tilt mode (0-1: time/speed)
|
|
- `pte`: Pan/tilt EMS (0-1)
|
|
|
|
## Response
|
|
- All parameters as "off"/"on" or mode strings
|
|
- `status`: 0 if success
|
|
}
|