2017-07-01 04:06:56 +00:00
|
|
|
# Describes the format for available camera services
|
|
|
|
|
2018-07-24 17:13:26 +00:00
|
|
|
turn_off:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Turn off
|
|
|
|
description: Turn off camera.
|
2021-02-18 11:24:04 +00:00
|
|
|
target:
|
2018-07-24 17:13:26 +00:00
|
|
|
|
|
|
|
turn_on:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Turn on
|
|
|
|
description: Turn on camera.
|
2021-02-18 11:24:04 +00:00
|
|
|
target:
|
2018-07-24 17:13:26 +00:00
|
|
|
|
2017-07-01 04:06:56 +00:00
|
|
|
enable_motion_detection:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Enable motion detection
|
|
|
|
description: Enable the motion detection in a camera.
|
2021-02-18 11:24:04 +00:00
|
|
|
target:
|
2017-07-01 04:06:56 +00:00
|
|
|
|
|
|
|
disable_motion_detection:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Disable motion detection
|
|
|
|
description: Disable the motion detection in a camera.
|
2021-02-18 11:24:04 +00:00
|
|
|
target:
|
2017-10-29 22:14:26 +00:00
|
|
|
|
|
|
|
snapshot:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Take snapshot
|
|
|
|
description: Take a snapshot from a camera.
|
2021-02-18 11:24:04 +00:00
|
|
|
target:
|
2017-07-01 04:06:56 +00:00
|
|
|
fields:
|
2017-10-29 22:14:26 +00:00
|
|
|
filename:
|
2021-02-18 11:24:04 +00:00
|
|
|
name: Filename
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Template of a Filename. Variable is entity_id.
|
2021-02-18 11:24:04 +00:00
|
|
|
required: true
|
2020-08-03 16:22:52 +00:00
|
|
|
example: "/tmp/snapshot_{{ entity_id.name }}.jpg"
|
2021-02-18 11:24:04 +00:00
|
|
|
selector:
|
|
|
|
text:
|
2018-02-18 16:08:56 +00:00
|
|
|
|
2019-03-12 02:57:10 +00:00
|
|
|
play_stream:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Play stream
|
|
|
|
description: Play camera stream on supported media player.
|
2021-02-18 11:24:04 +00:00
|
|
|
target:
|
2019-03-12 02:57:10 +00:00
|
|
|
fields:
|
|
|
|
media_player:
|
2021-02-18 11:24:04 +00:00
|
|
|
name: Media Player
|
2019-03-12 02:57:10 +00:00
|
|
|
description: Name(s) of media player to stream to.
|
2021-02-18 11:24:04 +00:00
|
|
|
required: true
|
2020-04-05 15:27:16 +00:00
|
|
|
example: "media_player.living_room_tv"
|
2021-02-18 11:24:04 +00:00
|
|
|
selector:
|
|
|
|
entity:
|
|
|
|
domain: media_player
|
2019-03-12 02:57:10 +00:00
|
|
|
format:
|
2021-02-18 11:24:04 +00:00
|
|
|
name: Format
|
|
|
|
description: Stream format supported by media player.
|
|
|
|
default: "hls"
|
2020-04-05 15:27:16 +00:00
|
|
|
example: "hls"
|
2021-02-18 11:24:04 +00:00
|
|
|
selector:
|
|
|
|
select:
|
|
|
|
options:
|
|
|
|
- "hls"
|
2019-03-12 02:57:10 +00:00
|
|
|
|
2019-03-28 04:47:07 +00:00
|
|
|
record:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Record
|
|
|
|
description: Record live camera feed.
|
2021-02-18 11:24:04 +00:00
|
|
|
target:
|
2019-03-28 04:47:07 +00:00
|
|
|
fields:
|
|
|
|
filename:
|
2021-02-18 11:24:04 +00:00
|
|
|
name: Filename
|
|
|
|
description: Template of a Filename. Variable is entity_id. Must be mp4.
|
|
|
|
required: true
|
2020-08-03 16:22:52 +00:00
|
|
|
example: "/tmp/snapshot_{{ entity_id.name }}.mp4"
|
2021-02-18 11:24:04 +00:00
|
|
|
selector:
|
|
|
|
text:
|
2019-03-28 04:47:07 +00:00
|
|
|
duration:
|
2021-02-18 11:24:04 +00:00
|
|
|
name: Duration
|
|
|
|
description: Target recording length.
|
2019-03-28 06:49:10 +00:00
|
|
|
default: 30
|
2019-03-28 04:47:07 +00:00
|
|
|
example: 30
|
2021-02-18 11:24:04 +00:00
|
|
|
selector:
|
|
|
|
number:
|
|
|
|
min: 1
|
|
|
|
max: 3600
|
|
|
|
step: 1
|
|
|
|
unit_of_measurement: seconds
|
|
|
|
mode: slider
|
2019-03-28 04:47:07 +00:00
|
|
|
lookback:
|
2021-02-18 11:24:04 +00:00
|
|
|
name: Lookback
|
|
|
|
description:
|
|
|
|
Target lookback period to include in addition to duration. Only
|
|
|
|
available if there is currently an active HLS stream.
|
|
|
|
default: 0
|
2019-03-28 04:47:07 +00:00
|
|
|
example: 4
|
2021-02-18 11:24:04 +00:00
|
|
|
selector:
|
|
|
|
number:
|
|
|
|
min: 0
|
|
|
|
max: 300
|
|
|
|
step: 1
|
|
|
|
unit_of_measurement: seconds
|
|
|
|
mode: slider
|