Hi,
I’m facing difficulties setting up my camera recording on triggered motion sensor.
My main problem seems to be that the recording isn’t starting, or isn’t saved(?).
I wanted to set it up so it records into the media directory so I can access is without any problems.
- id: "1673898349295"
alias: Test
description: ""
trigger:
- platform: state
entity_id:
- binary_sensor.security_motion_occupancy
condition: []
action:
service: camera.record
target:
entity_id: camera.y4_profile2
data:
filename: '/media/{{ entity_id.name }}_{{ now().strftime("%Y%m%d-%H%M%S") }}.mp4'
mode: single
When I look into the media directory I can’t see the files.
I’m running home assistant os on a raspi 4.
I don’t have much experience and hope someone can help.