Ring Device integration via MQTT w/ Video Streaming

Got it, it is the snapshots that are causing the real issues (displaying stale images on ding events). Good to know its a known issue.

Eagerly awaiting the fix to deploy. Again, thanks for your continued development on this.

I have received and installed the latest update on my HA instance and can confirm the snapshots are now working as previously. Thanks!

1 Like

@tsightler With the new alarm dialogs in 2023.4, does this integration need to be updated to not expose Night, Vacation and Custom modes, which do nothing, or is this something HA Core needs to enable the filtering of? I have asked in the release thread here. Seems someone else is having a similar issue with Abode.

The specs for MQTT device discovery for alarm control panel are available here: Manual MQTT Alarm Control Panel - Home Assistant (home-assistant.io)

I donā€™t see any method to inform HA what modes a given MQTT Alarm Control Panel supports, unlike, for example, the MQTT HVAC integration, in which you can, and ring-mqtt does, pass through the supported modes. To me it looks like the HA MQTT Alarm Control Panel integration just assumes that every alarm supports all modes.

That being said, I donā€™t really use the HA UI much, for me HA is about 99% just an automation platform. If someone can tell me Iā€™m incorrect, Iā€™d be happy to implement sending the list of supported modes.

1 Like

@robertwigley Depending on how you want to manage your alarm, I prefer something like this for the alarm UI. I basically carve up my own and execute scripts to arm/disarm the alarm. I have not upgraded to 2023.4 yet but I feel you could likely customize your own similarly there as well. The reason I prefer this, is I can do things in those scripts as part of arming/disarming the alarm that you canā€™t do otherwise. Like turning the keypad/base station volumes down BEFORE arming for example. But in your case, you should also be able to remove unused functions OR atually use them for a different way of arming via scripts.

  - platform: template
    panels:
      ring_alarm_panel:
        name: 'Ring Alarm'
        unique_id: 'ring_alarm_panel'
        code_arm_required: false
        value_template: "{{ states('alarm_control_panel.xxxx_alarm') }}"
        arm_away:
          service: script.alarm_arm_away
        arm_home:
          service: script.alarm_arm_home
        disarm:
          service: script.alarm_disarm

I even use that new alarm panel in my automations so that those scripts are ALWAYS executed whenever calling the arm/disarm/etc even in automations. I never use the inbuilt ā€˜alarm_control_panelā€™ that comes from the actual integration itself except through this panel.

An example script:

alias: Alarm Arm Away
sequence:
  - choose:
      - conditions:
          - condition: time
            after: "20:00:00"
            before: "08:30:00"
        sequence:
          - service: number.set_value
            target:
              entity_id:
                - number.stairway_keypad_volume
                - number.xxxx_base_station_volume
            data:
              value: "5"
          - delay:
              hours: 0
              minutes: 0
              seconds: 2
              milliseconds: 0
    default:
      - service: number.set_value
        data:
          value: "100"
        target:
          entity_id:
            - number.stairway_keypad_volume
            - number.xxxx_base_station_volume
  - service: alarm_control_panel.alarm_arm_away
    data: {}
    target:
      entity_id: alarm_control_panel.xxxx_alarm
mode: single
icon: mdi:alarm-light-outline

EDIT: Just upgraded.

1 Like

Hi,

Iā€™m very new to Home Assistant and Iā€™m trying to get a live stream of my Ring Video Doorbell. Iā€™ve tried following the instructions but to say Iā€™m a bit of a novice is an understatement. Whatever I do I can only seem to get a snapshot camera entity going and not a live stream camera.

Does anyone know what I may be doing wrong?

Any chance to integrate BI-directional audio flow of RING INTERCOM?

I use the ALexa Media Player Integration for this

service: media_player.play_media
data:
  media_content_id: " Turn off Motion Sensor off <camera_name>."
  media_content_type: Custom
target:
  entity_id: media_player.<echo_name>
1 Like

Thanks. However, this doesnā€™t seem to work for me. My doorbell camera is called ā€œFront Doorā€, so:

media_content_id: "Turn off motion sensor on Front Door"

But this doesnā€™t seem to do anything. Issuing the same command by voice gives the response ā€œSorry, I didnā€™t find a group or device named Motion Sensor Front Door.ā€

Does anyone know if there is a way to disable motion dection for a camera?

Itā€™s not currently possible via ring-mqtt, but itā€™s a good feature request and should be pretty easy to implement. If I can ever find some time to work on this project again Iā€™ll try to sneak motion enable/disable toggle in there.

3 Likes

This would be great!

Hello,

I also asked in the Go2RTC Threat but I have another issue regarding my Ring Cam:

I have installed the MQTT w/ Video Streaming AddOn togheter with go2rtc. I have installed the RTSPtoWebRTC Integration as well and all my Streams where automaticaly forwarded to go2rtc. I have created a Glance Card on my Dashboard using the Ring Camera but in Mode ā€œautoā€ so it only provides my a screenshot every 10 seconds and the idea is/was that only if i click on the snapshot picture that the live streams starts. At the moment the Live Stream is all the time on - any idea?

You have to make sure that the snapshot URL is properly configured and working for the camera, otherwise HA will always start a stream just to get a thumbnail. Also, make sure any ā€œpreload streamā€ options are disabled.

This is probably been answered somewhere and I just didnā€™t see it but what does the motion duration setting do on a battery camera?

Has anyone been getting motion detections through the integration for the past 12 hours? I seem to have not gotten any even though Iā€™m still getting snapshots and other sensor updates. I had to enable the official HA Ring integration as a workaround to get motion detections again.

Stopped working for me, last notification I got was 2 days ago.

@tsightler I am receiving this error when I am trying to integrate my ring cameras, could you please help guide me to fix this?

Error from stream worker: Error opening stream (ERRORTYPE_5, I/O error) rtsp://03cabcc9-ring-mqtt:8554/54e019dbeb50_live

Also me, stopped on the 17th

Same hereā€”small panic since this integration has become important in everyday life!

Luckily, forcing reauthentication and restarting solved my issue.

EDIT: back to panic mode. Donā€™t know why itā€™s not working. Is it working for others?
EDIT2: rebooting and deleting browser cache seems to have solved this. Panic mode off.

I deleted ring2mqtt and ā€˜Device name not foundā€™ items from having access to my components (in Ring Control Centre), and then re-authenticated. I actually found I needed to go and delete the old token for it to store a new one (not sure if that was just a temporary quirk).