Lovelace UI - Webcam

I have a D-Link DCS-936L Webcam. This work in Home Assistant with this: solution

And now i want the picture of the cam in lovelace <3

But how?

Actuell i had:

- type: picture-glance
  title: Living room
  camera_image: camera.livingroom_camera

and the result is “Invalicd card Configuration”

Thanks for your Help

2 Likes

Hm, it’s still documented here though:

1 Like

thanks, with this works now;

  - type: picture-glance
    title: Living room
    entities:
      - light.schlafzimmer
      - light.schlafzimmer_2
    camera_image: camera.livingroom_camera
1 Like

why do you have light switches with a camera card?

Not OP, but I’m assuming the lights are the ones in the room being shown on the camera. Just a nice way to show the actual room along with the relevant switches I imagine. It would also be useful if your HA states were out of sync since you’d be able to see that from the camera.

entities
(list)(Required)List of entities or entity objects.

i manage to get the camera working using onvif platform. however, when i put in in the ui, it doesnt show the image camera as background of the picture glance card. it is just showing the grey “no image” picture. When i click it though, it will show the live stream of the camera. How do i get the picture glance card to show the camera as background without having to click on it?

I just ran across the same issue. I found the answer in the release notes for version 0.92:

Support has been aded to picture glance, picture entity and picture element cards. Just add camera_view: live to the configuration.

Worked right away for me!

1 Like

Can you tell me how can I make an ONVIF camera work please ?
Thanks in advance