Problem with surveillance-card view

Hello all,

I’m trying to view the video generated by the camera placed in my garage on a HA page, but I can’t understand why it generates two images instead of just one:

Furthermore, the two images are not the same, because according to the timer they would appear to be two different streams.

This is the code entered on the Yaml page:

title: Garage
views:
  - title: Surveillance
    icon: mdi:cctv
    panel: true
    cards:
      - type: 'custom:surveillance-card'
        camera_view: live
        thumb_interval: 5
        update_interval: 5
        recording_duration: 10
        show_capture_buttons: true
        cameras:
          - entity: camera.garage

Where am I doing wrong?
Thanks in advance.

I don’t use this card any more, but I went back and looked at a few things. I don’t see anything particularly wrong with your configs. As to why you get two images, looking at the docs, you get one or more thumbnails on the left (in your case only one camera, thus one thumbnail), and a “big one” on the right.

As to why the images have different time stamps, I’m not sure, but it is possible the update intervals, even though are set to 5 seconds, may not occur at the same time.

The only thing that looks a little off is that the big image is separated from the thumbnail perhaps too far. That I can not explain, but may want to double check that you installed this as type: module.

Hello @wmaker ,
thank you for reply. This is my first time using surveillance-card and I honestly don’t understand how it works. I don’t understand why the thumbnail and large image appeared together when I opened the page. Also I don’t see the possibility to close the window with the big image and neither the possibility to move or resize the two images. I read that you have used it in the past, could you recommend another component that works better? Thank you.

I don’t have any other recommendation. I simply use picture-entity cards for surveillance cameras, all in a single view.

The strange thing is that in the “Media” menu the large image is displayed well, with the possibility of closing and reopening it by clicking on the thumbnail

while on the page displayed in the previous image this is not possible.