Dashboard with Cameras is not loading all streams

Hi there,

I have a dashboard where some of my camera streams are visible, but most of the time, one or 2 are just not “loading”, see screenshot below :

the yaml code is pretty straight forward though, using Image card :

kiosk_mode:
  admin_settings:
    hide_header: false
    hide_sidebar: false
  user_settings:
    - users:
        - alessio
        - flavia
        - inès
      hide_sidebar: false
    - users:
        - wallpanel
      kiosk: true
views:
  - title: Home
    sections:
      - type: grid
        cards:
          - type: heading
            heading: Portier Live
          - show_state: false
            show_name: false
            camera_view: live
            type: picture-entity
            entity: camera.192_168_1_110
            camera_image: camera.192_168_1_110
      - type: grid
        cards:
          - type: heading
            heading: Rue Live
          - show_state: false
            show_name: false
            camera_view: live
            type: picture-entity
            entity: camera.dahua_rue
            camera_image: camera.192_168_1_5
            aspect_ratio: '1.25'
      - type: grid
        cards:
          - type: heading
            heading: Jardin Live
          - show_state: false
            show_name: false
            camera_view: live
            type: picture-entity
            entity: camera.dahua_jardin
            camera_image: camera.dahua_jardin
      - type: grid
        cards:
          - type: heading
            heading: Garage Live
          - show_state: false
            show_name: false
            camera_view: live
            type: picture-entity
            entity: camera.axis_garage
            camera_image: camera.axis_garage
      - type: grid
        cards:
          - type: heading
            heading: Nouvelle section
    badges:
      - type: custom:mushroom-chips-card
        chips:
          - type: entity
            entity: person.xxx
            tap_action:
              action: navigate
              navigation_path: /lenovo-m10-plus-home/0
            name: Home
            content_info: name
            icon: mdi:home
            use_entity_picture: false
            icon_color: blue
    type: sections
    max_columns: 2
    cards: []

Something I am doing wrong here ?
Many Thanks !!

Hi,
My experience displaying video on variety of clients is larger, higher bit-rate, higher resolution streams take longer to appear and are less reliable.

  • A RPi4 browser may only display one still every 10S
  • A Linux PC browser can show multiple HD feeds in full motion, but not all of them appear instantly.
  • A powerful Android phone and the HA app can takes a few seconds, and sometimes takes more than one attempt to get multiple streams.

The Unifi integration allows you to choose a lower resolution stream to make available to HA. Unifi can record at full resolution, but HA displays a lower resolution image MUCH faster.

On slightly slower client devices, you can sometimes see a still image appear first, then the HA back-end connects the video stream through to the client (HA can proxy from the camera server to a client). Slow clients just get stills updating over seconds.

Basically, consider the volume of data you are asking a HA client to display.

If this helps, :heart: this post!

1 Like

Beside above (most essential parts), another factor can also be the Type of Card one is using, yes picture-entity can show live-stream , another factor is the “stream” type your camera provides(beside above) i.e rtsp or brand specific
You are Not telling which cams, nor which Integration you are using for these, which is also a factor, where you might have to “tinker” with settings.
I.e Disable " Use Stream from Home Assistant " to get better performance

It’s possible to do this with go2rtc as well

Some cameras have high and low resolution streams. IOU could record high resolution but send lower resolution to homeassistant. Or consider using the still image that may be available from you camera or through other methods

1 Like

Thanks a lot guys for the valuable input and this is something I really need to spend some time and understand what you propose to I,ntegrate to have a dashboard which is reliable.

… But I am also completely lost as I have 5 different cameras and 2 integrations :

I have 5 different cameras :

192.168.1.3 : (Living)

192.168.1.4 : D-LINK DCS2210 (Garage)

192.168.1.5 : DAHUA IPC-EBW81200 (Rue)

192.168.1.7 : DAHUA DH-IPC-HFW1420SP (Jardin)

192.168.1.110 : DAHUA VTO2000 (Ringbell)

I am using 2 types of integrations so far :

  1. Generic Camera
  2. MJPEG IP Camera

… the thing is I am completely lost as of what entity belongs to what integration.
The entities I am using on the Dashboard showing the cameras are the following :

entity: camera.192_168_1_110
entity: camera.dahua_rue
entity: camera.dahua_jardin
entity: camera.axis_garage

… but as I say I can not find back which entity belongs to which integration.
What I was also able to extract are the streams URL’s :

Jardin:
http://192.168.1.7/cgi-bin/mjpg/video.cgi?channel=1&subtype=1

Rue :
http://192.168.1.5/cgi-bin/mjpg/video.cgi?channel=0&subtype=1

VTO2000 :
rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0

Garage :
http://192.168.1.4/video1.mjpg

Any help would be very useful here, as for example I see the one of the entities I use is “entity: camera.dahua_rue”, but I have no clue which integration is belongs to as it can not find it back :

Many thanks !!

sort by integration, your rue is clealy MJPEG-IP
Your Main might be Generic, Or Dahue as it say

Ip You click at top.right frame/cock-wheel , you can add i.e "entity-id, which sometimes reveals more identification help
And Or click on Devices, where you also can sort on Integration