Generic camera: show RTSP stream in Lovelace (LSC Smart Connect Video Doorbell)

Hi,

I have a LSC Smart Connect Video Doorbell.

I found out that I can open an RTSP stream in VideoLan with following endpoints:

rtsp://admin:[email protected]:8554/Streaming/Channels/101
rtsp://admin:[email protected]:8554/Streaming/Channels/102

First one is 1920 x 1080 and the second one is 640 x 360

So, I defined some generic camera’s in HA:

camera:
  - platform: generic
    name: "LSC Smart Connect Video Deurbel (1920 x 1080)"
    still_image_url: http://127.0.0.1:8123/local/images/lsc_smart_connect_video_deurbel.jpg
    stream_source: rtsp://admin:[email protected]:8554/Streaming/Channels/101

  - platform: generic
    name: "LSC Smart Connect Video Deurbel (640 x 360)"
    still_image_url: http://127.0.0.1:8123/local/images/lsc_smart_connect_video_deurbel.jpg
    stream_source: rtsp://admin:[email protected]:8554/Streaming/Channels/102

And added following to my lovelace:

title: Cameras
views:
  - path: default_view
    title: cameras
    cards:
      - type: vertical-stack
        cards:
          - type: picture-entity
            entity: camera.lsc_smart_connect_video_deurbel_1920_x_1080
            camera_view: live

However, with this configuration, lovelace only shows the still image and I can not see the livestream:


.

Following questions:

  • does anybody know the still image url? It seems to be a obligated configuration for a generic camera, so I used now a static image on HA

  • how can I show the live rtsp-stream in my lovelace dashboard.

kind regards,
Bart

I personally use this configuration and it works fine:

camera:
  - platform: ffmpeg
    input: rtsp://192.168.X.X/ch0_1.h264
    name: Living Room Camera
    #extra_arguments: -rtsp_transport tcp -analyzeduration 15

and in HACS install " WebRTC Camera"
My tab on lovelace is:

type: custom:webrtc-camera
url: rtsp://192.168.X.X/ch0_0.h264
muted: true

I use a full view to display the video so I don’t need a still image