TECH7Fox / sip-hass-card

A SIP client inside home assistant!
MIT License
189 stars 39 forks source link

Using this repo to connect to Dahua VTO #106

Closed Moose-Gaming closed 1 year ago

Moose-Gaming commented 1 year ago

Hi,

So, I have a wall-mounted tablet with the HA website that I want to use instead of Dahua's own "intercom" VTH displays. I searched the internet to find a way to do this, and your repo is the best (and only) option. After looking through the tutorial setup on your website, I still needed help getting this to work.

Just to make things clear, this is what I want to achieve: Use a tablet running Home Assistant to get two-way audio working with my Dahua VTO

According to the config, the VTO itself is running a SIP server at port 5060, so I'm guessing I'd need to find a way to connect Home Assistant to that.

Thanks

TECH7Fox commented 1 year ago

The build-in SIP server from to VTO does not have websocket support, so it can't be used to directly connect to the card. You will need a Asterisk server for that.

There is a HA add-on for this, which creates preconfigured extensions for each person that the card can use.

You can connect the VTO directly to the add-on (or custom Asterisk server) like this: https://tech7fox.github.io/sip-hass-docs/docs/add-on/guides/devices/dahua_vto_doorbell

Just check if everything works correctly before replacing your VTH display. It can be a hassle to setup sometimes.

Moose-Gaming commented 1 year ago

I decided to return to the original Dahua VTH - connecting it to Home Assistant is too much of a hassle/too confusing for me. Maybe I'll get back to this someday. Anyways, thanks for the help.