Ring rtsp stream to card for 10 seconds only when doorbell is pressed

I have been able to set up ring Mqtt and can set up a generic camera for RTSP streaming.

Has anyone figured out how to show a live view of the battery ring door bell on a card ONLY when the ring doorbell is pressed? Maybe the card only shows video for 10 seconds?

I rely on the ring app notification to my phone and having the rtsp stream going all the time will prevent me from getting a notification from the ring app.

Do you have kmowledge of the script I can use to execute this? Thank you in advance

take a look at this. it pretty much walks you through. holler if it doesn’t get you enough info:

problem with this is he even says using ring doorbell is difficult. He doesn’t use ring in the video, and I am also not sure how the code to pull up the RTSP stream. When I did some more research. From my understanding I need to convert the RTSP stream to HLS (HTTP Live Streaming) format using tools like FFMPEG - which I have no explored how to do but seems quite complicated

no. it’s not that hard. i use ring and i do this. don’t convert the stream.

use ringmqtt to get the live rtsp stream: GitHub - tsightler/ring-mqtt: Ring devices to MQTT Bridge

it is true that ring is a little janky… primarily in that it is slow to start up the stream. but that’s not something ha can solve… the ring app itself, if you measure the time delta, takes a long time to get the video stream going. (takes mine about 5-10 seconds)

1 Like

This was helpful. I went ahead and successfully installed ring-mqtt on my Home Assistant Yellow.

As per OP’s original post, how do I now get a card that pops up for ~10s or so whenever someone rings my doorbell?

you’d need browser_mod to do that. the second half of the video i posted above walks through how to do a popup.

1 Like

Thanks a lot @armedad…

Installed browser-mod, ring-mqtt, but I can’t get it to work.

What are you selecting as your Trigger in the automation? This is what I have available;

And does my “Then do” look OK below?

this is my automation

alias: on ring doorbell
description: ""
trigger:
  - platform: state
    entity_id:
      - binary_sensor.once_awesome_purple_door_ding
    to: "on"
condition: []
action:
  - service: notify.pushover
    metadata: {}
    data:
      message: ring
      title: ring
      target: Control4_IFTTT
  - service: browser_mod.popup
    metadata: {}
    data:
      dismissable: true
      autoclose: false
      title: Front Door
      size: fullscreen
      timeout: 120000
      content:
        camera_view: live
        type: picture-glance
        entities: []
        camera_image: camera.front_door_ring_doorbell
    target:
      device_id: all
mode: single

Thanks. Will give this a go tonight!

What is Pushover? Do I need this service for this to work?

no, sorry you can ignore that. I pasted my automation unedited.

that pushover is a notification that puts the camera on for all my control4 panels.

1 Like