Live view of Ring Doorbell camera?

ah, i see it. the syntax is wrong. try:

http://homeassistant:8123{{ state_attr('camera.eingangstuer', 'entity_picture') }}

don’t use “_snapshot” use the real camera.
(and fix my typo… i transcripted incorrectly w/o a german keyboard :slight_smile: )

your rtsp stream url should be fine, but you could also use:
{{ state_attr(‘sensor.engangstuer_info’, ‘stream_Source’) }}
instead (note that i used the sensor.*_info entity

btw, you said you were struggling for hours on this. one hint is that when you have an error in a template, use the developer-tools->templates feature to figure it out.

if you took that first url and put it in the template evaluator, it would have barfed at you. then you can fix it up. i don’t know exactly why the entity attribute specifies the state in that way. arguably it should specify it as i have above. :person_shrugging: … maybe someone else more knowledgable than me about that could answer that.

Thank you much for taking the time to help me! And thank you for the tip about the developer tools, there’s still so much to learn!

I now get another error though, although I replaced the “ü”:
grafik

The developer tools say this about the URL:

Result type: string
http://homeassistant:8123None

This template listens for the following state changed events:

  • Entity: camera.eingangstür

in the camera.eingagstur, replace that with the correct name of your camera. for me, it was the same name but without the _snapshot, so i was guessing that was the same for you.

you did the right thing by going to dev tools… you sould see that it gave you an url that wasn’t valid… i presume you know where to find the right camera identity id?

if you look in dev tools->states you should be able to find your camera and one of the attributes will be entity_picture. e.g. it’ll start with /api/camera_proxy/camera…

so when you have that in, then in the dev tools template, the resulting url will be something like:
http://homeassistant:8123/api/camera_proxy/camera… ?token=…

1 Like

When I look through the states in the dev tools I have no camera without the “_snapshot”. That is the only entity with “camera” in its name. Is that the root of my problems?

that’s a bit strange.
when you go to your ring integration, you should see a bunch of entities. click on all the entities. there should be one of them which is a camera. right??
assuming so, click on that. in the popup, hit the gear icon in the upper right.
what’s the entity id that comes up in that subsequent screen?

Do you mean the Ring oder the MQTT integration? Here’s the entities for both of them:

(I also renamed the device and all its entities from “Eingangstür” to “Eingangstur” in case the umlaut was making problems, but I noticed that the URL I got from the attributes of sensor.eingangstur_info still contains the “ü”. I hope that’s not causing problems.)

umlaut’s not a problem except for me typing it :slight_smile:

there looks like something wacky with your ring integration because it should be providing a camera. however we might be able to work around it because mqtt may have what it needs.

ok, can you try this… for the rtsp stream do (note that we’re going to use the ‘sensor…_info’ entity):
{{ state_attr(‘sensor.engangstuer_info’, ‘stream_Source’) }}

for the image url let’s go ahead and use the snapshot entity. it may be perpetually out of date but for now let’s just get it working:

http://homeassistant:8123{{ state_attr('camera.eingangstuer_snapshot', 'entity_picture') }}

please fix up any typos i have. you can put both of these in dev-tools template to make sure they give you valid urls.

i also just sent you a chat message. it may be easier to chat in real time. if you catch me online, hit me there…

adding some info here for others who may hit this. ina and i continued in chat…

issues were a) bad ring-mqtt token (not sure how this happened) b) snapshot image wasn’t generating. c) the wrong urls

solution

  1. force reauth
  2. use a random other image (wikimedia url) for the still image to create the generic camera
  3. use the urls above.
  4. fix up still image to mqtt image (we ended up still getting a 500 error from the mqtt still image url. i think there is something corrupt in his mqtt integration)

Has anyone figured out how to show a live view of the ring door bell on the lovelace only when the doorbell is pressed? I rely on the notification to my phone and having the rtsp stream going all the time will prevent me from getting a notification. I would like to just be able to see who is at my door on the stream

I am stuck…could anyone point me in the right direction?

I have the RING - MQTT add on installed and running. I was able to authenticate using user name and password for my ring account. (I do not have the RING integration running)

I see all four (4) of my ring cameras listed and each have many entities listed in my HASS device/entities page.

The Generic Camera integration does not seem to be accepting my inputs.

What I am doing.

  1. using this url for still:

  2. using this url for stream
    image

  3. checking the “http” box

  4. checking the “basic” box

  5. I am entering my username and password for my ring account.

  6. unchecking SSL verify

Here is the error I am getting

i’m gonna start a new thread on this. we should keep new topics separate.

Thanks after reading 50 posts where people just said “it’s in the add on”, someone finally gave the right answer. The unintuitiveness of this platform is astonishing. Since a million people want this info, why not put it in the device info by default?