Installation Notes
- Follow the prerequisite guides below before attempting
Ring-MQTTinstallation.
MQTT setup
- I used the chart called
mosquittoinstall it as normal and setAuthenticationto true. here’s the auth guide.
Ring-MQTT setup
Go to http://SCALE_IP:55123.
- Set
MQTT Urlto mqtt://@mosquitto.ix-mosquitto.svc.cluster.local:1883 if not using mqtt auth or set the user/pass in the url like so:mqtt://USER:[email protected]:1883 - Set
LiveStream Userto user_name for the RTSP user. - Set
LiveStream Passwordto user_pass for the RTSP user. - Leave
Disarm Codeblank. - Set
Enable Camerasto true to enable cameras. - Set
Enable Modesto false to disable location modes. - Set
Enable Panicto false to disable panic button. - Set
Hass Topicto homeassistant/status for the topic to monitor for Home Assistant restarts. - Leave
Location Idsblank.
Home-assistant setup
-
Install the chart
home-assistantif you have not done so. -
In home-assistant go to settings -> devices & integrations -> click add integration -> search for
mqtt. -
Set
brokertomosquitto.ix-mosquitto.svc.cluster.local. -
Set
portto1883. -
Set
usernameandpasswordto the MQTT auth user and pass. -
Set the
MQTT optionsas needed. -
Shell into home-assistant, use truetool.sh or other means to modify the file
/config/configuration.yaml. -
Add the following code.
shell_command: ring_snap: "ffmpeg -y -i {{RTSP_URL}} -vframes 1 {{fileDirName}}"-
Create a new dir called
wwwin/config/. -
Validate home-assistant configuration in
developer toolsand if passes; click on restart to use the servicering_snapin automations. -
Here’s a sample on how to create a
live snapshotautomation. -
This will override the previous image if saved as
/config/www/snapshot.jpg
service: shell_command.ring_snapdata: RTSP_URL: "{{ states.sensor.front_door_info.attributes.stream_Source }}" fileDirName: "/config/www/snapshot.jpg"-
Note: You must save the file in
/config/www/or set the option to allow other dirs for home-assistant to be used. -
Now you can create a live snapshot automation in
home-assistant.