Ring Live Stream tutorial

This is a step-by-step tutorial to setup Ring Doorbell Livestream.
I started here: https://github.com/jeroenterheerdt/ring-hassio
1/ Add this GitHub repository to your supervisor (not HACS) add-on store.
Installed the repository by the HA UI (Supervisor - Add-on store - 3 dots - Repositories - URL = https://github.com/jeroenterheerdt/ring-hassio

  • The repository is available under Supervisor - Add-on Store - scroll below, to be installed! Open the repository and INSTALL
    2/ Configure your Ring Refresh Token and port
    After installation the ‘Ring Livestream’ Add-on should appear in the list of installed Add-ons. Open it and go to the tab ‘Configuration’. Here you have to fill in the token and the default port is 3000 tcp. This port should also be set into your router (portforwarding to HA IP address).
    (I found the token by installing Homebridge locally on my MAC).

Once done, with VLC you should see the livestream:
http://homeassistant.local:3000/public/stream.m3u8

In my configuration.yaml I made:

camera:
  - platform: ffmpeg
    name: frontdoor_live
    input: http://<<LOCAL HA IP>>:3000/public/stream.m3u8

don’t use ‘platform: generic’ because that won’t work.

Make a picture card in Lovelace:

type: picture-entity
entity: camera.frontdoor_live
camera_view: live

Good luck!

1 Like

Thanks for this tutorial but even after updating the refresh token and port (3000) , still cant access that stream via http://
am i missing a step here ?
also i secured the HA access to HTTPs which i wonder may have an impact on accesing port 3000 ?

Error getting new camera image from Front Door: Cannot connect to host :3000 ssl:default [Connect call failed (’’, 3000)]

1 Like

Thanks for the information. Is there away to add multiple cameras?

I’ve got this set up and working, only got to getting the stream working in VLC, haven’t bothered with setting it up in HA yet but I noticed when I use the add-on it keeps the blue ring spinning on the doorbell for ages afterwards and it doesn’t seem to respond to any more presses or live view requests for ages afterwards.
Anyone had this happen or know a way to fix it?

My ring doorbell is hardwire and the battery has been 100% for a few years.

After installing and running the addon on for the day, my battery went down to 17% before I got the notification. Turned the add on and it stopped draining.

I would guess the add-on keeps the camera active all the time which uses more power so the battery drains quicker than it can charge?

Yeah having it hardwired does provide a trickle charge and I don’t think it would just stop working but I just think that’s weird behavior and not sure I want to run it due to that.

I read through the repository and am excited to try this. I currently have a still shot on my panel as a picture glance card. I would like to change this to streaming on motion detection. Not entirely clear on how to accomplish this. Any ideas/specific steps? Thanks.

UPDATE: I got this working perfectly except I can’t figure out the start/stop part. It mentions a URL with xxxxxxxx_ringlivestram/info but I don’t know what to put for the xxxxxxx. Where do we find this URL?

OK. I found the 8 digit code using the HA Terminal and ha addons list. For what it’s worth to anyone trying this, the switch doesn’t seem to work at all. It’s much easier to just start/stop the service using hassio.addon_start and hassio.addon_stop. Just use the same xxxxxxxx_ringlivestream for the data. It is now working perfectly for me!

Hi @all,
Actually, my best practice is the following: install homebridge via portainer, install ring plugin there , after that, add the homekit controller (homebridge) to homeassistant.
now everything works fine.

how to get refresh token using windows ? do i need to install node and npm first ? or can i use powershell ? thanks

Hi @bkr1969,

Trying out with the following. Yet when I turn the switch it automatically jumps back and the state is not adapted. What am I doing wrong?
Note: When I start the service in the developers mode it does work to turn on and off the ring add-on service…

sensor:
  - platform: rest
    resource: "https://xxx.duckdns.org:8123/api/hassio/addons/yyy_ringlivestream/info"
    scan_interval: 6
    headers:
      Authorization: "Bearer <my_token>"
      Content-Type: application/json
    name: ring_addon_state
    value_template:  '{{ value_json.data.state }}'
    json_attributes_path: "$.data"
    json_attributes:
      - version
      - hassio_api
      - auth_api
      - homeassistant_api
      - state


switch:
  - platform: template
    switches:
      ring_live_stream:
        value_template: "{{ is_state('sensor.ring_addon_state', 'started') }}"
        turn_on:
          service: hassio.addon_start
          data:
            addon: yyy-ringlivestream
        turn_off:
          service: hassio.addon_stop
          data:
            addon: yyy-ringlivestream
1 Like

FWIW, I don’t use this anymore. Never had consistent luck with it. Switched over to the MQQT add-on connection and it works perfectly.

1 Like

When i try to access to my Ring Spotlight Cam live stream, i received this message “file not found: %s”
Any idea? thanks!!

1 Like

hello, I had the same problem as you last night, I just found the solution. in the addon’s config the name of the camera must be exactly the same as the one it has in the Ring application.

Have you figured it out yet?

Hello, I have the same problem, did you finally find a solution?
Thanks!

Hello same problem here. Any solutions?

Can you elaborate how you did this using MQQT? you saying you have contact live feeds from Ring cameras?

https://github.com/tsightler/ring-mqtt/wiki