-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possibility to talk with doorbell #181
Comments
Please take look at #55 |
Would be nice to talk with doorbell. I can now send clips though which is nice through the shell_command. IF the gstream would work with hassio, it would be far easier.
|
@calisro Nice! This is working well for me in the meantime until a media player is added |
Hey all. Sorry I've been super busy. I'll try to get to this soon. I just need to set aside some time :-) |
Been playing with this myself and cannot get the web request to end without an error. Have you been able to get it to exit error free? It seems the "singlepart" type is meant for a continuous stream. I tried to get the "multipart" working but i cannot get the request formed properly. |
Yeah it works cleanly for me |
Since none of this is published in their API, we really don't know how it is expected to work. Remember, this is supposed to be a 'call' to the front door. This is as error free as it gets:
Without the timeouts the microphone stays 'open'. You can tell in the app when you try to turn it on again. It says 'error' and then clicking it again causes it to 'work' again.... What we're really missing is the way to 'end the call'. but the timeouts work okay for me. EDIT: Btw, it works exactly the same in my code with singlepart or multipart. |
Ooooohh this is really promising, It's been my biggest gripe with the doorbell, I just want to be able to respond in some way |
So no easy tap-to-talk in Home Assistant yet? A Dahua doorbell should be at least as usuable by Home Assistant as by using its own vendor app. |
It's a commonly requested feature in the forums, has not been implemented yet (best is that some integrations support media player) |
@NickM-27: Are there doorbells which two-way-audio just works with HA without any workarounds? |
HA does not have any notion of two way talk. The iOS app doesn't even request the microphone permission. It will need to be built from the ground up (to be like nest, Arlo, ring, etc currently implement it) |
@strarsis @NickM-27 There's being work done to see if this can be implemented on the WebRTC card by @AlexxIT AlexxIT/WebRTC#243 Sounds like even if this is possible, the HA iOS app will need the feature added for microphone permission. |
I can get local two way audio with my Amcrest AD410 on tinycam app on Android with below settings: It only works locally however. |
@conorlap: Locally would be fine for me as I use a VPN (like WireGuard) anyway if I want local access from the outside. That |
Even being able to do the TTS like you can with Sonos would be awesome. But on the HA app not supporting Mic I agree, my use case / idea is using a spare Android phone using Fully Kiosk to host the web version of HA (basically the same as the app) which I believe supports Mic input. |
I currently have TTS working with it via NodeRed. Here is my flow:
|
I don't often use Node Red so can you help me out as I'm getting an error using your flow: I'm getting an error message:
When I check that directory I see it's an mp3 file not wav:
If I change the two references of .wav in the Parse Filename step to .mp3 I get a burst of white noise come out of the doorbell but not the default "Please wait while we come to the door.", any obvious things I'm missing? |
Oh, so many cool things can be done with open source automation. |
Do any of you have problems with message length? I have managed to get it working on an Amcrest AD110. If the message is very short, everything works fine. But if the message is longer, only the last few seconds (2-3s) are played. |
I have complete 2-way now working with the AD410 using the go2rtc project. Might want to look at it. |
I can confirm that 2-way audio is working using go2rtc. Maybe there is a way to make audio/video codec/resolution/bitrate/etc as home assistant select entity? @rroller what do You think ? Now we are waiting for homeassistant card supporting 2-way audio with mute microphone button. |
@luzik I have it setup but I'm not sure where to use the feature, is it in the go2rtc UI? |
That's great news! I plan to add a doorbell with camera and 2-way-audio to my HA setup, and it would be great if the full hardware can be used. |
yes, for now its working only in go2rtc ui |
You can use a iframe though for now referencing the api page. THis is needed to actually 'talk' because there are no lovelace cards yet that activate the microphone and manage it. |
Sorry I should have been more specific, where in the UI is it? |
It isn't. You can use existing lovelace cards for the cameras but you won't get talk. That's why I mentioned a iframe. the go2trc is beta still but its in HACS |
@calisro Your suggestion to use an iframe makes me think it should be in the go2rtc UI but I do not see the option. I have already setup go2rtc and I have also added it to my NPM setup so I can access it with https (which I understand is required for microphone access). |
Im not sure what you're asking. :) Im sure a lovelace card will eventually be added. |
The docs say:
But it is unclear to me where in the go2rtc UI this is I'm a developer looking to implement support for this outside of HASS lovelace, just trying to figure out how to interface with go2rtc first. I will probably just make an issue with go2rtc directly as it is off topic for this. |
I would actually try to use it before making an issue. Its pretty simple. The API is just hosted on port 1984.
Yes. :) |
chrome_fSxvEgsvBW.mp4@NickM-27 microphone gets automatically enabled once you open the stream from the go2rtc Web UI, and it automatically plays your browser microphone audio in the doorbell. |
@felipecrs Thank you that is what I was looking for. It asked for microphone permission and I can see the browser is using microphone. Unfortunately it was not playing on the doorbell but that might be due to the configuration of my reverse proxy. |
Are you using a VTO? If so, check this comment onwards: |
I'm trying to set this up manually, as I'm using HA Unsupervised and don't have access to addons. These are the issues as I understand it:
So is the only solution to run a separate proxy (nginx, apache2, etc...) on the home assistant server, so that https://localhost:port will proxy to http://localhost:port? |
The ideal would be to use some 2-way audio capable Home Assistant card. I'm sure someone will build one soon. |
solved |
Hi @cabrower, I have a VTO4202f-p-s2 and copied your flow. I added the credentials to the HTTP-Request node and changed the IP-Adress ( Did you hade similar issues during your development? Best regards. |
Hi its possible talking when someone passes on doorbell, with home assistant?
The text was updated successfully, but these errors were encountered: