[Support]: HTTP API help with creating a recording outside of detection - Home Assistant #10024
Unanswered
CykloneFij
asked this question in
General Support
Replies: 1 comment 2 replies
-
the expected type is json not url-form-encoded |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the problem you are having
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
Version
0.13.2-6476F8A
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
No response
Operating system
HassOS
Install method
Docker Compose
Coral version
USB
Network connection
Wireless
Camera make and model
Eufy Outdoor Cam Pro
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions