Would like to have this functionality. However, instructions say that 'You need to create a refresh token - see https://github.com/dgreif/ring/wiki/Refresh-Tokens on how to do that. Note that you will have to have node and npm installed on your machine’.
I’m running HA OS and do not have those commands available (if open a terminal window and try them). Are there other ways to do this?
It took me a while to figure this out as well, but turned out to be fairly straighfoward.
All you need is the token, so I installed node js on my windows machine (can’t remember how, but it wasn’t difficult) and followed the instructions from there. Runs from the command prompt on a the windows machine, then just copy/paste the token when it appears.
Not to steal anything away from the ring-hassio project, but I did want to let people know that I’ve recently added live streaming support to the ring-mqtt addon, and it has a bunch of other features too, such as a web interface to generate/regenerate the token, support for snapshots for still image updates on schedule/motion, etc. and of course all of the standard features like battery, wifi status, lights, siren, motion, etc, as well as support for Ring alarm and smart lighting which were the original goals of the project. The ability to play back recently recorded streams is coming soon.
The addon itself has been around a while and is pretty stable, but the live streaming is new, and clearly doesn’t use MQTT, although you can stop/start streams/recordings via MQTT, so that’s how I finally justified integrating live streaming with the project. It will probably have a few growing pains, but it seems pretty stable for users so far. If you’d be interested giving it a spin, feel free to check it out. It does use a different approach from this project, providing an on-demand RTSP stream that can be consumed by Home Assistant, or any other tool that supports RTSP.
Hi guys,
I have followed the guide to install the Ring Liveview add on. I have manage to do the necessary an able to view the Live Stream via VLC player.
When i add my camera to the Picture glance card, it doesnt show the Snapshot. and when i press to launch the live view, nothing happens?
Any advise how to resolve this?
I have another Stick Up Cam, alongside my Doorbell. So how can i include that as well in HA?
This is very interesting @tsightler ! I am using the Docker installation of HA, so I don’t have access to the addons store so I cannot use the ring-hassio addon. I will take a look at the ring-mqtt instead which is fully supported in Docker I see, awesome!
One question beforehand as I don’t see it in the documentation; Is a subscription needed to get a live view?
A subscription is not needed for live view, however, it is needed for some features like the ability to view or downloaded previously recorded events since clearly, without a subscription, there are no recorded events, but of course you can create an automation to record live views locally, although this won’t be as functional as the recordings from Ring because it will miss the start of the event.
Can you clarify where you got the values for the xxxxxxxx_ringlivestream in the URL? This seems extremely unclear to me.
That is the behavior of this. There is a way to start/stop it on demand, but I can’t get anyone to answer my question of how to set it up. The instructions give a URL with “xxxxxxxx” in it, but no one has told me what to sub for them, i.e. where to get the URL. If anyone knows, please let me know.
From the terminal run, ha addons list. Look for the ring live stream addon on in the list, the xxxxxxxx will be the “slug” value. With that said, not having much luck getting the sensor or switch to work either.
Thanks for the response. I figured that out last week after a lot more searching. It now seems as if the live view has stopped working because when I start and view it, I’m getting a view from last week (I can tell because we put out Halloween decorations on Saturday and they are not in the view).
Hello friends
I have recently started getting “500 Server Error”
2021-11-08 15:58:25 WARNING (SyncWorker_9) [homeassistant.components.ring] Error fetching Ring history data for device XXXXXXXXXX: 500 Server Error: Internal Server Error for url: https://api.ring.com/clients_api/doorbots/XXXXXXX/history?api_version=9&limit=10
2021-11-08 15:58:35 WARNING (SyncWorker_9) [homeassistant.components.ring] Time out fetching Ring history data for device XXXXXXXXX
2021-11-08 15:58:45 WARNING (SyncWorker_9) [homeassistant.components.ring] Time out fetching Ring history data for device XXXXXXXXX
2021-11-08 15:58:49 ERROR (MainThread) [homeassistant.helpers.entity] Update for camera.backyardleft fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 468, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 658, in async_device_update
raise exc
File "/usr/src/homeassistant/homeassistant/components/ring/camera.py", line 159, in async_update
video_url = await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/ring_doorbell/doorbot.py", line 376, in recording_url
req = self._ring.query(url)
File "/usr/local/lib/python3.9/site-packages/ring_doorbell/__init__.py", line 107, in query
return self.auth.query(
File "/usr/local/lib/python3.9/site-packages/ring_doorbell/auth.py", line 99, in query
req.raise_for_status()
File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 953, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api.ring.com/clients_api/dings/XXXXXXXXXX/share/play?api_version=9
I have 3 cameras with Ring with a paid subscription. Does anyone know how to set up more than 1 camera to display live within Homeassistant. I can currently only view the first in the Ring list. Thanks.
haha every add on has its own config file. go to the addon where you start it and click config
wat was the port u use?