Hello everyone,
I love the “Picture Glance” card in lovelace because I can stream the CCTV camera and could add few more sensor into the same frame of the camera. I have, for example, a card showing the living room camera, lights in the rooms and motion senor all in one card.
However, due to the nature of the “Picture Glance” card, all CCVT camera is about 6 - 8 seconds behind the actual time, this is also known as “lagging” and for what I know, there isn’t anything that could fix this yet. So I install the WebRTC-Camera integration. It works perfect, it also supports audio which some of my cameras offer. So far I am happy with the smooth stream and very little lagging (1-2 seconds) of this webrtc-cam.
But I miss the other sensors. With the custom card for WebRTC-cam, I can’t (or don’t know) add other sensors to be in the same frame. I tried to add the following codes into the yaml part of the custom card
But it only shows the camera in the frame, didn’t show the main light or spot light anywhere… I ran the config check and it says OK…
Does anyone know how to add other sensors (in my case, lights) into the custom card together with webrtc-camera, so to achieve the same effect like the “Picture Glance” card?
I am just noticing a fact (so I do not need to forget nothing ;): in the picture glance the entity icons state are dynamic, while in the WebRTC camera card the homologous shortcuts are static since the icon does not change its appearance. That is a lamp, is always the same despite being on or off!
I would just love to join both possibilities: low lag of the WebRTC camera card with the dynamic behaviour of the icons in the picture glance.
Here AlexxIT seems to show a workaround but I do not know how to use a WebRTC stream in a picture glance card.
indeed if you use this custom card, the light bulb icon does not turn to “yellow”, when th light is on…even if you replace the service “switch.toggle” by “light.toggle” …it is just a shortcut to turn on and off the lights… not to have a full control if they r on or not…it helps me a lot…sometime im looking for the cat checking the camera, and i turn on the lights still looking at the camera, i dont need to access the other tab in my HA to do so…