davglass / doorbot

Ring.com Doorbell API
Other
317 stars 55 forks source link

Button to unlock door #44

Open mcquaas opened 5 years ago

mcquaas commented 5 years ago

I’ve seen many commercial door locks integrated into ring so you can directly open the door from the live video feed.

I have built my own door lock working on Blynk. My door lock works great, but it’s annoying to have to change apps (an loose video and audio contact with your visitor) when you want to open the door on Blynk, so I would like to integrate my own button / endpoint to the live view screen.

Any ideas on how to achieve this?

I’ve also looked into the idea of showing the video feed on my Blynk app (which is possible), but it seems like the SIP video feed is still not figured out well to have the video streamed just from a http source, is it?

mmichon commented 5 years ago

@mcquaas I also have a Blynk-based door lock solution. You could use the API to snap an image of the live feed to S3, then point the Blynk image widget to that image. Might be a second or two of delay to capture and display, and it's not streaming video, but it'd be one app doing it all.

mmichon commented 5 years ago

@mcquaas I published https://github.com/mmichon/ring-blynk, which saves an mp4 video to S3, then points a Blynk streaming video widget to the new s3 object. The problem is delay -- it takes up to a minute to get this video. AFAIK, no way to get at the SIP stream yet.

To get around this, I have another camera that exposes an RTSP stream. I display that as the primary video, along with capturing at the right time a frame of video for posterity.

mcquaas commented 5 years ago

Sounds like the still image could be a solution... adding a second camera might not be so nice since I have Ring for that... will give it some thought and tell you how I did :) thank you!