frigate-hass-card: Card stops working intermittently: Unknown error

I’m using the current latest v4.0.0. Nothing shows in the browser logs. Happens frequently, but I still can’t determine why.

https://user-images.githubusercontent.com/29582865/167648294-1f719e1f-41d6-41f1-9982-80c5561327ba.mp4

This didn’t happen in v3.

This is the configuration of one of my cards, but the problem happens to all of them:

- type: custom:frigate-card
    view:
      default: live
      update_force: false
    menu:
      buttons:
        frigate:
          enabled: false
        snapshots:
          enabled: false
        image:
          enabled: false
      style: outside
      position: top
    live:
      preload: false
      controls:
        next_previous:
          style: none
        title:
          mode: none
      lazy_load: true
      lazy_unload: all
      auto_unmute: never
    dimensions:
      aspect_ratio_mode: static
      aspect_ratio: '16:9'
    event_viewer:
      auto_play: never
    elements:
      - type: custom:frigate-card-conditional
        conditions:
          view:
            - live
          camera:
            - camera.rua
        elements:
          - type: icon
            icon: mdi:arrow-up
            style:
              background: rgba(255, 255, 255, 0.75)
              border-radius: 5px
              right: 25px
              bottom: 115px
            tap_action:
              action: call-service
              service: onvif.ptz
              service_data:
                entity_id: camera.rua_onvif
                tilt: UP
                move_mode: ContinuousMove
                speed: 0.05
                continuous_duration: 0.05
          - type: icon
            icon: mdi:arrow-down
            style:
              background: rgba(255, 255, 255, 0.75)
              border-radius: 5px
              right: 25px
              bottom: 65px
            tap_action:
              action: call-service
              service: onvif.ptz
              service_data:
                entity_id: camera.rua_onvif
                tilt: DOWN
                move_mode: ContinuousMove
                speed: 0.05
                continuous_duration: 0.05
          - type: icon
            icon: mdi:arrow-left
            style:
              background: rgba(255, 255, 255, 0.75)
              border-radius: 5px
              right: 50px
              bottom: 90px
            tap_action:
              action: call-service
              service: onvif.ptz
              service_data:
                entity_id: camera.rua_onvif
                pan: LEFT
                move_mode: ContinuousMove
                speed: 0.05
                continuous_duration: 0.05
          - type: icon
            icon: mdi:arrow-right
            style:
              background: rgba(255, 255, 255, 0.75)
              border-radius: 5px
              right: 0px
              bottom: 90px
            tap_action:
              action: call-service
              service: onvif.ptz
              service_data:
                entity_id: camera.rua_onvif
                pan: RIGHT
                move_mode: ContinuousMove
                speed: 0.05
                continuous_duration: 0.05
      - type: custom:frigate-card-conditional
        conditions:
          view:
            - live
          camera:
            - camera.rua
        elements:
          - type: custom:frigate-card-menu-submenu-select
            entity: select.camera_da_rua_night_vision
    cameras:
      - camera_entity: camera.rua
        live_provider: frigate-jsmpeg
        id: camera.rua
        title: Rua
        camera_name: rua
      - camera_entity: camera.morro
        live_provider: frigate-jsmpeg
      - camera_entity: camera.portao
        live_provider: frigate-jsmpeg
      - camera_entity: camera.video_porteiro
        live_provider: ha

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 39 (34 by maintainers)

Most upvoted comments

@satyambaba What version number do you see when you navigate to your Frigate UI, then click debug on the left sidebar? You should see a version number near the top of the screen.

@dermotduffy - I see 0.10.1-83481AF. I’m not sure if this is the version number you are looking for?

Ok, the issue didn’t happen since I upgraded the Frigate integration from v2.2.2 to v2.3.

I’m closing the issue, if it happens again, I will come back.

I am very grateful about all the care you put in both the Frigate Card and the integration.

  • I wasn’t able to reproduce the issue in v3 (but testing it wasn’t very sharp, as my card configuration was made for v4, what I did was to create another card with 3 cameras lacking a lot of the configuration from my real ones)
  • After rebuilding and upgrading again to the v4 tree (https://github.com/dermotduffy/frigate-hass-card/pull/569), I yet could not reproduce the issue.

Let me monitor for a while.

Ok, but my card is up-to-date with the release-4.0.0 tree, including my own PR which was the last to be merged.