Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HACS Frigate Home Assistant integration via Devices & Services faulty #815

Open
sharbich opened this issue Dec 19, 2024 · 5 comments
Open

Comments

@sharbich
Copy link

Hello,
after adding my camera several times under Devices & Services with frigate, it no longer works. I keep getting the error message that no connection can be established to port 5000. The port is also not open even though Docker says it is. I'm desperate.

Version of the custom_component

Frigate 0.14.1
Frigate HACS 5.6.0
-->

Configuration

mqtt:
  enabled: true
  host: 172.30.32.1
  user: #####_mqtt
  password: ###########
  topic_prefix: frigate
  # Optional: client id (default: shown below)
  # WARNING: must be unique if you are running multiple instances
  client_id: frigate
  # Optional: interval in seconds for publishing stats (default: shown below)
  stats_interval: 30
objects:
  track:
    - person
    - car
  filters:
    person:
      min_area: 5000
      max_area: 100000
go2rtc:
  streams:
    front_doorbell:
      - rtsp://#####:###########@192.168.130.143:554/Preview_01_main#backchannel=0
      - rtsp://#####:###########@192.168.130.143:554/Preview_01_sub
      - ffmpeg:front_doorbell#audio=opus#hardware
    front_doorbell_sub:
      - rtsp://#####:###########@192.168.130.143:554/Preview_01_sub
      - ffmpeg:front_doorbel_sub#audio=opus#hardware
  webrtc:
    candidates:
      - 172.30.32.1:8555
      - stun:8555
cameras:
  front_doorbell:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/front_doorbell?video=copy&audio=aac
          input_args: preset-rtsp-restream-low-latency
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/front_doorbell_sub?video=copy&audio=aac
          input_args: preset-rtsp-restream-low-latency
          roles:
            - detect
            - audio
    detect:
      width: 1280
      height: 720
      fps: 5
    snapshots:
      enabled: true
    record:
      enabled: true
      retain:
        days: 7
      events:
        retain:
          default: 14
version: 0.14

Docker ps

\[\e]0;\u@\h:\w\a\]\W $ sudo docker ps
CONTAINER ID   IMAGE                                                           COMMAND                  CREATED         STATUS                  PORTS                                                                                                                          NAMES
d882c07fc290   ghcr.io/esphome/esphome-hassio:2024.12.1                        "/init"                  2 minutes ago   Up 2 minutes                                                                                                                                           addon_5c53de3b_esphome
3c780eba420d   ghcr.io/blakeblackshear/frigate:0.14.1                          "/init"                  12 hours ago    Up 12 hours (healthy)   5000/tcp, 8554/tcp, 0.0.0.0:8555->8555/tcp, 0.0.0.0:8555->8555/udp, :::8555->8555/tcp, :::8555->8555/udp                       addon_ccab4aaf_frigate
d08151ac1203   zigbee2mqtt/zigbee2mqtt-amd64:1.42.0-2                          "/sbin/tini -- /dock…"   12 hours ago    Up 12 hours             0.0.0.0:8485->8485/tcp, :::8485->8485/tcp                                                                                      addon_45df7312_zigbee2mqtt
4c74a3f787e0   homeassistant/amd64-addon-configurator:5.8.0                    "/init"                  12 hours ago    Up 12 hours (healthy)                                                                                                                                  addon_core_configurator
2e423538d15b   ghcr.io/hassio-addons/ssh/amd64:19.0.0                          "/init"                  12 hours ago    Up 12 hours                                                                                                                                            addon_a0d7b954_ssh
eb1712e91866   homeassistant/amd64-addon-mosquitto:6.4.1                       "/init"                  12 hours ago    Up 12 hours             0.0.0.0:1883-1884->1883-1884/tcp, :::1883-1884->1883-1884/tcp, 0.0.0.0:8883-8884->8883-8884/tcp, :::8883-8884->8883-8884/tcp   addon_core_mosquitto
86ca59d73775   ghcr.io/bertbaron/amd64-addon-logspout:1.7.0                    "/init /start"           12 hours ago    Up 12 hours                                                                                                                                            addon_5f3a9361_logspout
94fad7db755b   ghcr.io/home-assistant/amd64-hassio-multicast:2024.03.0         "/init"                  12 hours ago    Up 12 hours                                                                                                                                            hassio_multicast
5afffc56d683   ghcr.io/home-assistant/amd64-hassio-audio:2023.12.0             "/init"                  12 hours ago    Up 12 hours                                                                                                                                            hassio_audio
9a340ae2e88a   ghcr.io/home-assistant/amd64-hassio-dns:2024.12.0               "/init"                  12 hours ago    Up 12 hours                                                                                                                                            hassio_dns
67a41f260342   ghcr.io/home-assistant/amd64-hassio-cli:2024.09.0               "/init"                  12 hours ago    Up 12 hours                                                                                                                                            hassio_cli
b20887404db3   ghcr.io/home-assistant/generic-x86-64-homeassistant:2024.12.4   "/init"                  23 hours ago    Up 44 seconds                                                                                                                                          homeassistant
26a6010a7806   ghcr.io/home-assistant/amd64-hassio-supervisor:latest           "/init"                  2 days ago      Up 12 hours                                                                                                                                            hassio_supervisor
eda2d5a70220   ghcr.io/home-assistant/amd64-hassio-observer:2023.06.0          "/usr/bin/observer"      10 months ago   Up 12 hours             0.0.0.0:4357->80/tcp, :::4357->80/tcp                                                                                          hassio_observer

Frigate Log

2024_12_19_Frigate-log.txt

Frigate Error Report

2024_12_18 _Frigate-Erroo-Report

Why can't I connect via port 5000 anymore? It worked so often 2 weeks ago? I've tried everything. Uninstalled everything, installed new things. No solution. What am I doing wrong? I'm desperate.
Greetings from Stefan

@NickM-27
Copy link
Collaborator

Most likely the addon is not started

@sharbich
Copy link
Author

Hi NickM-27, do you think the Frigate AddOn is not loaded? How do you know that?

@NickM-27
Copy link
Collaborator

Because it can't connect

@sharbich
Copy link
Author

Most likely the addon is not started

The add-on is loaded. See Docker ps in the first Post of the End.

@NickM-27
Copy link
Collaborator

maybe try restarting the host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants