2020-03-06 14:14:01 +00:00
|
|
|
ptz:
|
2021-05-15 08:30:18 +00:00
|
|
|
name: PTZ
|
2019-10-31 17:57:00 +00:00
|
|
|
description: If your ONVIF camera supports PTZ, you will be able to pan, tilt or zoom your camera.
|
2021-05-15 08:30:18 +00:00
|
|
|
target:
|
|
|
|
entity:
|
|
|
|
integration: onvif
|
|
|
|
domain: camera
|
2019-10-31 17:57:00 +00:00
|
|
|
fields:
|
|
|
|
tilt:
|
2021-05-15 08:30:18 +00:00
|
|
|
name: Tilt
|
|
|
|
description: "Tilt direction."
|
|
|
|
selector:
|
|
|
|
select:
|
|
|
|
options:
|
|
|
|
- 'DOWN'
|
|
|
|
- 'UP'
|
2019-10-31 17:57:00 +00:00
|
|
|
pan:
|
2021-05-15 08:30:18 +00:00
|
|
|
name: Pan
|
|
|
|
description: "Pan direction."
|
|
|
|
selector:
|
|
|
|
select:
|
|
|
|
options:
|
|
|
|
- 'LEFT'
|
|
|
|
- 'RIGHT'
|
2019-10-31 17:57:00 +00:00
|
|
|
zoom:
|
2021-05-15 08:30:18 +00:00
|
|
|
name: Zoom
|
|
|
|
description: "Zoom."
|
|
|
|
selector:
|
|
|
|
select:
|
|
|
|
options:
|
|
|
|
- 'ZOOM_IN'
|
|
|
|
- 'ZOOM_OUT'
|
2020-03-06 14:14:01 +00:00
|
|
|
distance:
|
2021-05-15 08:30:18 +00:00
|
|
|
name: Distance
|
|
|
|
description: "Distance coefficient. Sets how much PTZ should be executed in one request."
|
2020-03-06 14:14:01 +00:00
|
|
|
default: 0.1
|
2021-05-15 08:30:18 +00:00
|
|
|
selector:
|
|
|
|
number:
|
|
|
|
min: 0
|
|
|
|
max: 1
|
|
|
|
step: 0.01
|
2020-03-06 14:14:01 +00:00
|
|
|
speed:
|
2021-05-15 08:30:18 +00:00
|
|
|
name: Speed
|
|
|
|
description: "Speed coefficient. Sets how fast PTZ will be executed."
|
2020-03-06 14:14:01 +00:00
|
|
|
default: 0.5
|
2021-05-15 08:30:18 +00:00
|
|
|
selector:
|
|
|
|
number:
|
|
|
|
min: 0
|
|
|
|
max: 1
|
|
|
|
step: 0.01
|
2020-03-06 14:14:01 +00:00
|
|
|
continuous_duration:
|
2021-05-15 08:30:18 +00:00
|
|
|
name: Continuous duration
|
2020-03-06 14:14:01 +00:00
|
|
|
description: "Set ContinuousMove delay in seconds before stopping the move"
|
|
|
|
default: 0.5
|
2021-05-15 08:30:18 +00:00
|
|
|
selector:
|
|
|
|
number:
|
|
|
|
min: 0
|
|
|
|
max: 1
|
|
|
|
step: 0.01
|
2020-04-24 15:28:44 +00:00
|
|
|
preset:
|
2021-05-15 08:30:18 +00:00
|
|
|
name: Preset
|
2020-04-24 15:28:44 +00:00
|
|
|
description: "PTZ preset profile token. Sets the preset profile token which is executed with GotoPreset"
|
|
|
|
example: "1"
|
2021-05-15 08:30:18 +00:00
|
|
|
default: "0"
|
|
|
|
selector:
|
|
|
|
text:
|
2020-03-06 14:14:01 +00:00
|
|
|
move_mode:
|
2021-05-15 08:30:18 +00:00
|
|
|
name: Move Mode
|
|
|
|
description: "PTZ moving mode."
|
2020-03-06 14:14:01 +00:00
|
|
|
default: "RelativeMove"
|
2021-05-15 08:30:18 +00:00
|
|
|
selector:
|
|
|
|
select:
|
|
|
|
options:
|
|
|
|
- 'AbsoluteMove'
|
|
|
|
- 'ContinuousMove'
|
|
|
|
- 'GotoPreset'
|
|
|
|
- 'RelativeMove'
|
|
|
|
- 'Stop'
|