HA + Janus WebRTC Gateway = Audio/Video Intercom

Has anyone looked into integrating HA with a WebRTC gateway (could also be running on a Pi) and custom panels with push buttons for audio/video?

I got Janus Gateway working on a Pi2 and had their sample video clients running on the Wink Relay in Chrome + my laptop. Worked pretty well!

An HA component could have push buttons in the UI per “known” web clients (e.g tablet in 1 room, phone, wink relay…) which trigger communication between them directly from the browser. Clients could even register their presence and buttons show up as they are visible to HA.

Other features could include grouping (e.g broadcast to upstairs devices), one way audio/video and so on.

Thoughts?

1 Like

Any news?

Thanks

It’s a nice idea… Would be great to have SIP support too as a few video doorbells now support SIP, and you’d be able to have a unified tablet interface for your doorbell and all other homeassistant needs mounted on your wall rather that needing to get dedicated devices only for the video doorbell. But there are SIP->WebRTC gateways out there, so probably WebRTC by itself would be enough to be able to hack something together.

Maybe you want to try out this one.

It needs polishing though.

Main idea was to NOT have a PBX running, but just use Kamailio+rtpengine combo to do the Normal_SIP+RTP <> SipOverWebsocket+WebRTC translation.
For me it works with a Fritzbox and the custom HA card based in the doorvivent card.