-
Notifications
You must be signed in to change notification settings - Fork 65
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
PE device has no TTS responses (server SSL) #315
Comments
I'm having a similar issue with responses, my HA server is also HTTPS via a TLS 1.3 cert, I also noticed that it looks like support for TLS 1.3 has been added to the firmware some time ago. Have you ever had voice responses? For me they are more intermiment working ~70% of the time. |
I did have some responses early on, but lately they seem to never work. I may have messed up a setting somewhere. I think it works (most of the time) when i set its "assistant" property to my preexisting openai-based one, but it never works with the one called "Home Assistant Cloud". |
I am still experiencing this issue on all my Voice PE devices, i've 'taken control' via ESPHome and can now see the following error logs on the device (Edited to remove my HA url):
I am suprised that the device is attempting to use the remote HA URL rather than the URL for my local network, im unsure yet as to the cause of the issue. Continuing to investigate. |
It seems to me that the firmware takes issue with some of the nabu.casa TLS certificates. Going into Config -> Network -> and setting the Home Assistant URL 'Internet' URL to my local TLS URL seems to resolve this issue. As devices no longer attempt to retrieve audio via the remote URL |
Thanks for creating the issue and sharing your observations ♥ |
This does not work for me. It doesn't change the faulty behaviour.
That's exactly what I observe as well. Really annoying situation. Was there any reaction from Nabu Casa on that problem? |
Firmware: 25.1.0 (ESPHome 2024.12.2)
My symptoms seem very similar to #238 but I noticed that was diagnosed as a lack of TLS1.3 support on the device and closed.
I also don't get TTS responses on my Voice Preview Edition. I believe I followed the instructions at https://community.home-assistant.io/t/how-to-configure-lets-encrypt-ssl-certificates-for-home-assistant-completely-100-free-updated-for-2022-2023/508329 to use letsencrypt through the DuckDNS addon .
I noticed that at https://www.home-assistant.io/integrations/http/#ssl_profile it claims that the default profile is "modern", where the linked Mozilla page says
Modern: Modern clients that support TLS 1.3, with no need for backwards compatibility
Intermediate: Recommended configuration for a general-purpose server
So maybe "Intermediate" should be the default? However, I tried setting it to "intermediate" and saw no difference. Whether on "intermediate" or the default "modern", I also note that from a command line I can do "curl --tls-max 1.2" and the negotiation works fine. So perhaps the root cause is not in fact an inability of Home Voice Preview Edition to negotiate a TLS version? Maybe the issue is with the server's cipher suite (or something about the LetsEncrypt cert), rather than the TLS version itself?
When I curl with -vvv --tls-max 1.2 I see SSL connection using TLSv1.2 / ECDHE-ECDSA-AES256-GCM-SHA384 With 1.3 I see SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384.
I can use the device to set a timer, and after the timer goes off an alert chimes, so I know the microphone/speaker/network are working. But any response required text-to-speech doesn't seem to come through.
Also in the HA android app, the onboarding wizard fails at the "We're going to personalize your voice assistant" stage, saying "To play audio, the voice assistant device has to connect to Home Assistant to fetch the files. Our test shows that the device is unable to reach the Home Assistant server."
Also I have two other esphome smart speakers (one an atom m5) which do TTS fine.
I can't figure out how do pull logs from the device. Is there a way?
The text was updated successfully, but these errors were encountered: