Nutzung von Tapo-Cam mit Coral und Frigate

Hallo Zusammen,
ich konnte meine Tapo-Cam mit RTSP -Stream ganz gut einbinden. In der Kontrolle mit dem VLC-Player funktioniert der Stream. Nun wollte ich Frigate zur BIlderkennung zusammen mit einem Coral -Accelarator nutzen. Allerdings habe ich mit mit Frigate etwas verrannt. Zuerst hatte ich aus Unwissenheit die Integration über HACS geladen (Kamera dann aber entfernt) und dann noch das Add-on installiert. Laut google sollte man ja mit dem Add-on arbeiten. Allerdings findet das Add-on die Kamera nicht. Das Add-on habe ich im Konfiguration-Tab wie folgt konfiguriert (PW, User und IP, habe ich natürlich richtig eingegeben) :

mqtt:
  host: 192.168.178.xx
  user: MEIN-USER
  password: MEIN-PW

detectors:
  coral:
    type: edgetpu
    device: usb

cameras:
  Tapo_C500_1:
    ffmpeg:
      inputs:
        - path: rtsp://User:PW@192.168.178.xx:554/stream1
          roles:
            - detect
            - rtmp
    detect:
      width: 1920
      height: 1080
      fps: 5
    snapshots:
      enabled: true

Im Log file entnehme ich, dass Frigate aber auf eine Andere Kamera zugreifen will:

2025-04-10 06:06:14.137173960 [2025-04-10 08:06:14] ffmpeg.name_of_your_camera.detect ERROR : [tcp @ 0x5571cb7e60] Connection to tcp://10.0.10.10:554?timeout=5000000 failed: Connection timed out

die Kamera name_of_your_camera mti der IP 10.0.10.10:554 scheint da noch irgendwie zu hängen. Habt ihr eine Idee, wie man Frigate vorgeben kann, dass es die Kamera mit oben genanntem Stream einbinden soll? Wie gesagt, über den Konfigurations-Tab scheint es ja nicht zu funktionieren.
Schon mal Danke im Vorraus.

Hi.
Hast du es denn schon mal direkt mit der config.yaml von frigate probiert?

Ich hatte vor einiger Zeit auch mal mit frigate gespielt (allerdings im Docker). Dabei hatte ich mir diese funktionierende Anfangsconfig für meine Tapo Cams aufgebaut:

mqtt:
  enabled: false

go2rtc:
 
    Vordereingang:
      - rtsp://user:pw@ip:554/stream1
    Vordereingang_sub:
      - rtsp://user:pw@ip:554/stream2

cameras:
  Vordereingang: # <------ Name of the camera

    enabled: true
    onvif:
      host: ip
      port: 2020
      user: user
      password: pw

    ffmpeg:
      inputs:
        - path: rtsp://user:pw@ip:554/stream2 # <----- The stream you want to use for detection
          input_args: preset-rtsp-restream
          roles:
            - detect
        - path: rtsp://user:pw@ip:554/stream1
          input_args: preset-rtsp-restream
          roles:
            - record
    record:
      enabled: true
      retain:
        # Optional: Number of days to retain recordings regardless of events (default: shown below)
        # NOTE: This should be set to 0 and retention should be defined in events section below
        #       if you only want to retain recordings of events.
        days: 1
        # Optional: Mode for retention. Available options are: all, motion, and active_objects
        #   all - save all recording segments regardless of activity
        #   motion - save all recordings segments with any detected motion
        #   active_objects - save all recording segments with active/moving objects
        # NOTE: this mode only applies when the days setting above is greater than 0
        mode: active_objects
    detect:
      enabled: true # <---- disable detection until you have a working camera feed
      width: 640
      height: 480
      fps: 5

    objects:
      track:
        - person

      filters:
        person:
          min_score: 0.4
          threshold: 0.5
          min_area: 700
  
version: 0.15-1

Aber dann ging mir die ganze config nur per Datei so auf die Eier, dass ich zu AgentDVR gewechselt bin. Da kann man alles bis ins kleinste Detail per GUI einstellen.