frigate-hass-integration: Should automatically remove entities/devices that are no longer live

Version of the custom_component

v2.1.0

Configuration


mqtt:
  host: 192.168.200.211
  port: 1883
  topic_prefix: frigate
  client_id: frigate
  user: hassos
  password: password
  stats_interval: 30

cameras:
  frontdoor:
    ffmpeg:
      hwaccel_args:
        - -c:v
        - h264_v4l2m2m
      inputs:
        - path: rtsp://admin:password@192.168.200.69:554/streaming/channels/102
          roles:
            - detect
        - path: rtsp://admin:password@192.168.200.69:554/streaming/channels/101
          roles:
            - record
            - rtmp
    detect:
      width: 384
      height: 512
      fps: 5
      max_disappeared: 25
    record:
      enabled: true
      events:
        retain:
          default: 30
          objects:
            person: 60
    objects:
      track:
        - person
        - cat
        - dog
        - bird
        - car
        - backpack
        - handbag
        - suitcase
        - bicycle
    motion:
      mask:
        - 384,298,0,305,0,44,384,40
        - 0,437,77,383,57,278,0,299
        - 66,372,126,373,120,301,54,295
        - 228,388,194,385,197,283,230,284
    best_image_timeout: 30
    zones:
      FrontDoor:
        coordinates: 223,302,49,292,0,311,0,512,225,512
      Steps:
        coordinates: 229,374,329,365,314,312,226,322
      Porch:
        coordinates: 213,512,384,512,384,342,340,362,222,382
    rtmp:
      enabled: true
    snapshots:
      enabled: true
      timestamp: true
      bounding_box: true
      crop: False
      retain:
        default: 30
        objects:
          person: 45
birdseye:
  width: 1536
  height: 2048
  quality: 1
  mode: continuous
detectors:
  cpu1:
    type: cpu
  cpu2:
    type: cpu

Describe the bug

I have duplicated sensors for each specified object, eg:- “sensor.frontdoor_person” and “sensor.frontdoor_person_2”

image

Debug log


2021-10-13 22:29:53 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 0.028 seconds (success: True)
2021-10-13 22:29:58 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 0.031 seconds (success: True)
2021-10-13 22:30:03 DEBUG (MainThread) [custom_components.frigate] Finished fetching frigate data in 0.038 seconds (success: True)

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16

Most upvoted comments

Awesome, definitely newer than v1.1.0, as I only started using Frigate a couple weeks ago.

Also the link to the doc link in the integration links “https://github.com/blakeblackshear/frigate” as appose to “https://github.com/blakeblackshear/frigate-hass-integration

No worries, thanks for your help.