Help getting Ring doorbell video into HomeKit

Please help! I get I can get the preview/thumbnail to display, but then it goes to No Response when I try to view the video. These errors show up in the log:

Logger: pyhap.camera
Source: util/thread.py:20
First occurred: 11:00:19 AM (6 occurrences)
Last logged: 11:02:13 AM

  • Requested to stop stream for session e682af86-cd5f-4ed6-af25-9bb8527e4fda, but no such session was found
  • [26d04c90-f94d-4e1d-a61e-eb8d7c61c323] Failed to start/reconfigure stream, deleting session.
  • Requested to stop stream for session 26d04c90-f94d-4e1d-a61e-eb8d7c61c323, but no such session was found
  • [f8015e87-5f0e-4e80-99e2-7ba1151d28ed] Failed to start/reconfigure stream, deleting session.
  • Requested to stop stream for session f8015e87-5f0e-4e80-99e2-7ba1151d28ed, but no such session was found

Logger: homeassistant.components.homekit.type_cameras
Source: components/homekit/type_cameras.py:261
Integration: HomeKit Bridge (documentation, issues)
First occurred: 11:00:19 AM (3 occurrences)
Last logged: 11:01:43 AM

Camera has no stream source

The ring integration would need to add support for this. I don’t have a ring doorbell so I can’t test this, but something like this may work

diff --git a/homeassistant/components/ring/camera.py b/homeassistant/components/ring/camera.py
index 96b1a962a6..166bebc1cd 100644
--- a/homeassistant/components/ring/camera.py
+++ b/homeassistant/components/ring/camera.py
@@ -132,6 +132,10 @@ class RingCam(RingEntityMixin, Camera):
         finally:
             await stream.close()
 
+    async def stream_source(self):
+        """Return the source of the stream."""
+        return self._video_url
+
     async def async_update(self):
         """Update camera entity and refresh attributes."""
         if self._last_event is None:

Thanks for the response, @bdraco! Forgive my dumbness, but how would I use this? I am running HA through docker. Would I execute this script in a Docker command window? Would it be a one-time thing or some kind of startup script that runs every time HA starts?

@bdraco - thoughts?

I don’t have a ring doorbell so this isn’t something I’ll be able to move forward.

Will be happy to get it working as well in HomeKit.

1 Like