Hi.
I have a shell command in HA that will create a recording using the HTTP API:
shell_command:
backyard_force_record: 'curl -d "duration=30&include_recording=true" -H "Content-Type: application/x-www-form-urlencoded" -X POST http://xxx.xxx.xxx.xxx:5000/api/events/backyard/forced/create'
It works, an event is created in Frigate on the camera. However, it is only a snapshot. There is no video. The response from the above command is:
stdout: >-
{"event_id":"1708645049.409679-gi943a","message":"Successfully created
event.","success":true}
stderr: "% Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r100 129 100 95 100 34 472 169 --:--:-- --:--:-- --:--:-- 645"
returncode: 0
Grateful for any assistance.