* Service PTZ added * Removed description loading during setup * Fixed hound issues * Changed attribute names * Fixed pylint error * Cleaning up the code * Changed access to protected member to dict * Removed new line added by mistake * Fixed pylint error * Fixed minors * Fixed pylint caused by usage of create_type function * Code made more concise * Fixed string intendation problem * Service name changed * Update code to fit with the new version * Set ptz to None if PTZ setup failed * more precise exception used
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
# Describes the format for available camera services
|
|
|
|
enable_motion_detection:
|
|
description: Enable the motion detection in a camera.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of entities to enable motion detection.
|
|
example: 'camera.living_room_camera'
|
|
|
|
disable_motion_detection:
|
|
description: Disable the motion detection in a camera.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of entities to disable motion detection.
|
|
example: 'camera.living_room_camera'
|
|
|
|
snapshot:
|
|
description: Take a snapshot from a camera.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of entities to create snapshots from.
|
|
example: 'camera.living_room_camera'
|
|
filename:
|
|
description: Template of a Filename. Variable is entity_id.
|
|
example: '/tmp/snapshot_{{ entity_id }}'
|
|
|
|
onvif_ptz:
|
|
description: Pan/Tilt/Zoom service for ONVIF camera.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of entities to pan, tilt or zoom.
|
|
example: 'camera.living_room_camera'
|
|
pan:
|
|
description: "Direction of pan. Allowed values: LEFT, RIGHT."
|
|
example: 'LEFT'
|
|
tilt:
|
|
description: "Direction of tilt. Allowed values: DOWN, UP."
|
|
example: 'DOWN'
|
|
zoom:
|
|
description: "Zoom. Allowed values: ZOOM_IN, ZOOM_OUT"
|
|
example: "ZOOM_IN"
|
|
|