2024年11月24日星期日 上午7:08:22

How I Setup ESP32 Cam with Frigate And Home Assistant To Detect Objects  Step By Step

10 个月 前
#25256 引用
How I Setup ESP32 Cam with Frigate And Home Assistant To Detect Objects  Step By Step Guide

https://smarthomecircle.com/how-to-setup-frigate-with-home-assistant



useful links
Local realtime person detection for RTSP cameras via Frigate
https://community.home-assistant.io/t/local-realtime-person-detection-for-rtsp-cameras/103107/33
0
10 个月 前
#25257 引用
1
0
10 个月 前
#25260 引用
ESP32 Camera working with a Camera server

Install Frigate Addon In Home Assistant OS

Install Frigate Integration  --> Connecting Frigate to Home Assistant

Adding ESP32 Camera to Frigate

https://github.com/blakeblackshear/frigate-hass-addons



MQTT broker


Frigate Addon config option

Adding ESP32 Camera to Frigate <-Specifying the IP address of the ESP32 Camera
Connecting Frigate to an MQTT broker <-Setting the connection to an MQTT broker

Connecting Frigate to Home Assistant <- Add Frigate Integration in ha
0
10 个月 前
#25278 引用




mqtt:  
  host: 192.168.0.43  # ip address of your mqtt broker  
  port: 1883  
  topic_prefix: frigate  
  client_id: frigate  
  
detectors:  
  cpu0:  
    type: cpu  
  
cameras:  
  cam_01:  
    ffmpeg:  
      input_args: ""          
      inputs:  
        - path: http://192.168.0.98:8080  #ESp32 camera location  
          roles:  
            - detect  
            - record  
  
      output_args:  
       record: -f segment -pix_fmt yuv420p -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v libx264 -preset ultrafast -an  
    rtmp:  
      enabled: False  
    snapshots:  
      enabled: true  
      bounding_box: true  
    record:  
      enabled: True  
      retain:  
        days: 0 # To not retain any recording if there is no detection of any events  
  
      events:  
        retain:  
          default: 3 # To retain recording for 3 days of only the events that happened  
          mode: active_objects  
  
    detect:  
      enabled: True  
      width: 800  
      height: 600  
      fps: 20      #Adjust the fps based on what suits your hardware.  
    objects:  
      track:  
        - person  
  




configure a camera in Frigate Addon
0
10 个月 前
#25279 引用
Frigate - What hardware do u use?

0
10 个月 前
#25280 引用




source:https://community.home-assistant.io/t/local-realtime-person-detection-for-rtsp-cameras/103107/11?u=msly
0