HomeAssistantOS - Frigate Hass Cards wird nicht angezeigt

Hallo,

ich quäle mich seit einer Woche mit der Einrichtung von HomeAssistantOS und Frigate herum (ja auch Tutorials und Docs ansehen/ lesen), weil es für mich alles komplett neu ist.
ich habe auf meinem Raspberry Pi 4 HomeAssistantOS Frigate installiert und 2 Kameras damit verknüpft bzw. eingerichtet. Frigate Addon, Frigate Integration, Frigate “Lovelace” Hass Cards Integration.
Aber ich komme jetzt bei Frigate Hass Cards nicht mehr weiter. Ich habe das nach der Anleitung auf Github installiert über HACS und anschließend in der configuration.yaml ganz unten das hinzugefügt:

lovelace:
  mode: yaml
  resources:
    - url: /hacsfiles/frigate-hass-card/frigate-hass-card.js
      type: module

Ob Aufnahmen funktionieren weiß ich nicht, weil ich es in frigate.yaml auf false habe. Möchte ich später einrichten nachdem ich mit Reverse Proxy oder Cloudflare den sicheren Zugriff von außen auf die Cams hinkriege.

Jedenfalls kann mir einer sagen wieso Frigate Hass Cards nicht auswählbar sind bzw. nirgends integriert wurden? Unter Entitäten ist “Frigate Card update” zu sehen und unter Geräte “Frigate Card”.

Das ist meine Frigate.yaml config:

mqtt:
  # Optional: Enable mqtt server (default: shown below)
  enabled: True  
  # IP mqtt Broker von HA
  host: 192.168.xx
  # Optional: port (default: shown below)
  port: 1883
  # mqttuser - hier dein username rein ohne "" o.ä
  user: xx
  # mqttpassword - hier dein pw rein ohne "" o.ä
  password: xx
database:
  path: /config/frigate.db       

detectors:
#  coral:
#    type: edgetpu
#    device: usb
  cpu1:
    type: cpu
    num_threads: 3
  cpu2:
    type: cpu
    num_threads: 3

ffmpeg:
  hwaccel_args: preset-rpi-64-h264

go2rtc:
  streams:
    front:
      - rtsp://USER:PW@192.168.xx:554/h264Preview_01_main
      - "ffmpeg:front#audio=opus"
    front_sub:
      - rtsp://USER:PW@192.168.xx:554/h264Preview_01_sub
      - "ffmpeg:front_sub#audio=opus"
    hof:
      - rtsp://USER:PW@192.168.xx:554/11
    hof_sub:
      - rtsp://USER:PW@192.168.xx:554/12

##############################################################################################
# Kamera von Front
##############################################################################################

cameras:
  # Kameraname
  front:
    ffmpeg:
      output_args:
        record: preset-record-generic-audio-copy
      inputs:
        - path: rtsp://127.0.0.1:8554/front # RTSP Stream High Res
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/front_sub # RTPS Stream Low Res
          input_args: preset-rtsp-restream
          roles:
            - detect
    detect:
      enabled: True # <---- disable detection until you have a working camera feed                                                        
      width: 640
      height: 360
    objects:
      track:
        - person
      filters:
        person:
          threshold: 0.74
    snapshots:
      enabled: False
#      timestamp: True
#      bounding_box: True
      retain:
        default: 7
    record:
      enabled: False
      events:
        retain:
          default: 7
#    motion:
#      mask:
#        - 2024,238,1528,171,1330,189,1124,214,1081,342,751,336,748,379,379,385,0,407,0,192,0,0,837,0,2560,0,2560,157,2560,360
#        - 1194,1920,1041,1783,0,1791,0,1920
#      zones:
#        Bewegung Front:
#        coordinates: 0,1920,0,0,2560,0,2560,1920
    live:
      stream_name: front_sub

##############################################################################################
# Kamera vom Hof
##############################################################################################

  hof:                                                            #Kameraname
    ffmpeg:
      output_args:
        record: preset-record-generic-audio-copy
      inputs:
        - path: rtsp://127.0.0.1:8554/hof    #RTSP Stream High Res
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/hof_sub          #RTPS Stream Low Res
          input_args: preset-rtsp-restream
          roles:
            - detect
    detect:
      enabled: True # <---- disable detection until you have a working camera feed                                                       
      width: 640
      height: 352
    objects:
      track:
        - person
      filters:
        person:
          threshold: 0.74
    snapshots:
      enabled: False
#      timestamp: True
#      bounding_box: True
      retain:
        default: 7
    record:
      enabled: False
      events:
        retain:
          default: 7
#    motion:
#      mask:
#        - 2024,238,1528,171,1330,189,1124,214,1081,342,751,336,748,379,379,385,0,407,0,192,0,0,837,0,2560,0,2560,157,2560,360
#        - 1194,1920,1041,1783,0,1791,0,1920
#      zones:
#        Bewegung Hof:
#        coordinates: 0,1920,0,0,2560,0,2560,1920
    live:
      stream_name: hof_sub

##############################################################################################


# Optional: birdseye configuration
# NOTE: Can (enabled, mode) be overridden at the camera level
birdseye:
  # Optional: Enable birdseye view (default: True)
  enabled: True
  # Optional: Restream birdseye via RTSP (default: False)
  # NOTE: Enabling this will set birdseye to run 24/7 which may increase CPU usage somewhat.
  restream: False
  # Optional: Width of the output resolution (default: 1280)
  width: 1280
  # Optional: Height of the output resolution (default: 720)
  height: 720
  # Optional: Encoding quality of the mpeg1 feed (default: 8)
  # 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.
  quality: 15
  # Optional: Mode of the view. Available options are: objects, motion, and continuous
  #   objects - cameras are included if they have had a tracked object within the last 30 seconds
  #   motion - cameras are included if motion was detected in the last 30 seconds
  #   continuous - all cameras are included always
  mode: continuous



# Optional
ui:
  # Optional: Set the default live mode for cameras in the UI (default: mse)
  live_mode: webrtc
  # Optional: Set a timezone to use in the UI (default: use browser local time)
  timezone: Europe/Berlin
  # Optional: Use an experimental recordings / camera view UI (default: false)
  use_experimental: False
  # Optional: Set the time format used.
  # Options are browser, 12hour, or 24hour (default: browser)
  time_format: 24hour
  # Optional: Set the date style for a specified length.
  # Options are: full, long, medium, short
  # Examples:
  #    short: 2/11/23
  #    medium: Feb 11, 2023
  #    full: Saturday, February 11, 2023
  # (default: short).
  date_style: full
  # Optional: Set the time style for a specified length.
  # Options are: full, long, medium, short
  # Examples:
  #    short: 8:14 PM
  #    medium: 8:15:22 PM
  #    full: 8:15:22 PM Mountain Standard Time
  # (default: medium).
  time_style: medium
  # Optional: Ability to manually override the date / time styling to use strftime format
  # https://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html
  # possible values are shown above (default: not set)
  strftime_fmt: "%d/%m/%Y %H:%M"

Außerdem verstehe ich nicht wieso unter Frigate “go2rtc dashboard” immer zu 404: Not Found führt.

Ich nutze hier folgende Karte:

type: custom:frigate-card
cameras:
  - camera_entity: camera.reolink
    live_provider: go2rtc
    go2rtc:
      modes:
        - webrtc

Das mit dem go2rtc ist bei mir auch der Fall, wahrscheinlich weil das go2rtc Addon nicht separat installiert ist. Läuft aber trotzdem

1 „Gefällt mir“

Danke.

Leider blicke ich da immer noch nicht durch mit der Installation/ Aktivierung des Frigate Hass Dashboards.

In der configuartion.yaml mit und ohne probiert, HomeAssistantOS neu gestartet:

lovelace:
  mode: yaml
  resources:
    - url: /hacsfiles/frigate-hass-card/frigate-hass-card.js
      type: module

Oder nur:

lovelace:
  resources:
    - url: /hacsfiles/frigate-hass-card/frigate-hass-card.js
      type: module

Oder mit/ ohne zusätzlicher Erstellung von ui-lovelace.yaml nach Anleitung von hier: Multiple Dashboards - Home Assistant
mit Inhalt deiner config:

type: custom:frigate-card
cameras:
  - camera_entity: camera.hof
    live_provider: go2rtc
    go2rtc:
      modes:
        - webrtc

Dashboard bleibt immer Original von HomeAssistansOS und von Frigate Dashboard nichts zu sehen.

Ich habe die frigate Card von HACS installiert: GitHub - dermotduffy/frigate-hass-card: A Lovelace card for Frigate in Home Assistant
In der configuration.yaml habe ich nichts stehen

1 „Gefällt mir“

Jap hat sich erledigt. Plötzlich wurde es im Dashboard Editor doch noch angezeigt. Keine Ahnung was das Problem war.