I have created a script to connect Ring devices (Primarily devices supported by Ring alarm, but optional support for cameras) to Home Assistant. The script supports Home Assistant MQTT automatic discovery which makes integration very easy to configure.
Auto discovery/configuration was an absolute goal in my case 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 can also monitor the 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.
It also monitors the websocket state and reports reachability state of the alarms 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 anywhere Node does):