services_camera_record
Record a video clip from a Home Assistant camera to a specified file path for a given duration.
Instructions
Record a short clip from a camera entity to filename for duration seconds.
filename is a path inside the HA config dir (e.g. /config/www/snapshots/clip.mp4).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | ||
| filename | Yes | ||
| entity_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||