I’m building a 1-way video 2-way audio door unit. The video is captured with an ESP32 cam, and I have a microphone and speaker in my enclosure, each connected via 2 wires. I have two main challenges:
Connecting the audio:
The easiest would be a Raspberry PI USB sound card with headphones and mic inputs, and to solder the wires onto audio jacks. From a security perspective though, I don’t like having a PI on the outside, so that means either running the audio over long wires, which would probably mean attenuation and noise, or having the sound card on the outside and extending the USB cable, but that also means having an exposable USB terminal on the outside.
Another alternative is connecting the speaker and microphone to an ESP. There are several I2S DACs available to connect the speaker over, but the only I2S microphone modules I could find have their own built-in mic, and are not able to connect to an external mic.
Software:
Once I have audio connected, I’ll need to combine the video stream, and the 2-way audio into something I can use. The options I’m aware of are a SIP client (and then using the SIP card), or implementing an ONVIF profile T device and then using go2rtc along with the frigate card.
The former seems overcomplicated, while with the latter it’s hard to find any off-the-shelf solutions and I wouldn’t want to implement ONVIF by myself.
Any ideads/thoughts/tips? Any other options I’ve missed?
Our house is a 3 floor building… i installed a 3 button touch switch outside the main gate to act as a door bell for each floor… right now the touch buttons work as expected… i automate it on HA that depending on which button is press it will sound chime on the designated house floor.
What i want to achieve now is to add a two way audio camera… that when a button is press on the doorbell, the designated floor that has a wall mounted HA tablet will pop up a camera live view and enable two way audio… just like in intercom. So we can talk to who ever rang the door bell.
There are several ways to achieve two-way audio. If your camera somehow supports it (either through SIP, or through something that go2rtc can work with)., that’s best.
I have a tapo camera that has two way audio via tplink tapo app… was wondering if i can use go2rtc to integrate my cam… and also i want this to work local without internet…
I have voip phone lying around… how did you
manage to connect it to asterisk . I already install the asterisk addon and the integration and the sip card, but when making a call nothing happens… also i can access my HA externally via cloudflare tunnel. Do i still need to forward ports? Unfortunately my ISP wont allow forwarding.