I have created a script to connect Ring alarm devices, including many compatible 3rd party Z-wave devices, as well as cameras and smart lighting, to Home Assistant. Recent versions also include support for live and recorded event video streaming via RTSP. The code includes support for Home Assistant MQTT discovery so the majority of devices appear automatically, only streaming cameras require manual configurations, because they do not support MQTT discovery (the MQTT camera component is for still images only, which is also supported for snapshot).
Auto discovery/configuration was an absolute goal of this project and there were quite a few challenges to solve there, especially around Home Assistant restarts and MQTT disconnects/reconnects, which require auto discovery information to be resent. This script monitors the MQTT connection state and also for birth messages from Home Assistant so that, if Home Assistant is restarted, it will resend all of the auto discovery information. Birth/Last Will messages are now enabled by default in recent versions of Home Assistant so they should work automatically when using default settings of the Home Assistant Mosquitto integraiton.
This script also monitors the state of the websocket to hub devices (alarm and smart lighting) and the polling state for cameras and reports reachability state to Home Assistant if anything interrupts the connection to Ring.
The script can be used directly and I have also published a Home Assistant addon. Please read the instructions carefully to setup 2FA authentication which Ring now requires for all accounts. For those wanting the Home Assistant addon simply add this as a repository to the addon store section of the UI:
If you want to run the script via Docker or natively on Linux (it’s written for NodeJS so it should run on any Linux system):