I have just installed a new Home Assistant Voice Preview Edition (HA VPE), and am having some Text to Speech issues which look to be network related. This is running locally and not using the HA Cloud.
It looks like everything is work up until the HA VPE unit attempts the speech output. At this point the ring pulses for a variable amount of time which seems to be related to the length of the message.
While most of the functionality appears to be working there seems to be an underlying issue. Going into Settings > ESPHome and clicking on the Setup Voice Assistant option goes though the Firmware checks. It then tries the configuration and times out with “The voice assistant is unable to connect to Home Assistant
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.”
The Help Me option on the error links to Troubleshooting Assist - Home Assistant which correctly describes the problem (“My voice assistant understands me and processes the command, but I don’t get a voice response.”) and in part refers to the internal network settings for the profile.
This is where I think the problem is. In my environment HASSIO is in it’s own VLAN. The HA VPE is in a different VLAN. There are no firewall rules blocking traffic between the two. HASSIO is setup with a certificate.
Because I have the certificate the config will not allow me to put an IP address into the internal network field. However, the environment has a Pi-Hole, so it can resolve the public DuckDNS name to a local IP.
What I suspect is happening though is that because HASSIO is on a different IP network to HA VPE when the HA VPE goes to fetch the speech file to play it is trying to use the public entry and access HASSIO from the outside.
While most of this is working, because I cannot complete the setup then some of the work arounds are not available.
For troubleshooting I have also tried to just use Piper for a simple TTS test, but that doesn’t work either.
Has anyone else managed to get HA & HA VPE working when they are in different VLANS?