Advertisement
Traxtar928

frigate.yaml config

Jun 18th, 2025 (edited)
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. mqtt:
  2. enabled: True
  3. host: HA ip #IP address of Home Assistant
  4. port: 1883 #port set in MQTT Broker
  5. user: mqtt-user #username set in MQTT Broker
  6. password: xxx #password set in MQTT Broker
  7. topic_prefix: frigate
  8. client_id: frigate
  9. stats_interval: 60
  10.  
  11. go2rtc:
  12. streams:
  13. Front_Door_main:
  14. - "ffmpeg:https://camera_ip/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=frigate&password=xxx#video=copy#audio=copy#audio=opus"
  15. - rtsp://frigate:FePczb5P2dyK1u@camera_ip/Preview_01_sub
  16. Front_Door_sub:
  17. - "ffmpeg:https://camera_ip/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=frigate&password=xxx"
  18.  
  19. cameras:
  20. Front_Door: #Camera Name
  21. enabled: True
  22. ffmpeg:
  23. hwaccel_args: preset-rpi-64-h264
  24. output_args:
  25. record: preset-record-generic-audio-aac #Camera supports audio output
  26. inputs:
  27. - path: rtsp://frigate:xxx@camera_ip:554/h264Preview_01_main #High quality feed
  28. roles:
  29. - record
  30. - path: rtsp://frigate:xxx@camera_ip:554/h264Preview_01_sub #Low quality feed
  31. input_args: preset-rtsp-generic
  32. roles:
  33. - detect
  34. - audio
  35. detect:
  36. enabled: True
  37. width: 640 #Resolution of detection channel
  38. height: 480 #Resolution of detection channel
  39. fps: 10 #Frame rate for detectin channel only
  40. record:
  41. enabled: True
  42. retain:
  43. days: 3 #days a recording will be kept after motion is detected.
  44. mode: motion
  45. alerts:
  46. retain:
  47. days: 30
  48. detections:
  49. retain:
  50. days: 30
  51. objects:
  52. track:
  53. - person
  54. - car
  55. version: 0.15-1
  56.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement