Hello, I am new to HA and ESPHome, I have both running in containers on Docker.
I tried setting up the Voice PE, after connecting to the wifi it asked to set up ESPHome.
In every tutorial that I watched it automatically finds the ESPHome thing but for me it's asking to enter the connection settings, I entered the ip of the pc where the docker container is running but it's not working. I do get the ESPHome Dashboard in my browser with the ip and port 6052 so that should be correct, right?
Does anybody know the solution? Thank you in advance!
#HA Voice PE ESPHome setup
1 messages · Page 1 of 1 (latest)
do you intend to modify the firmware on the voicePE? if not then you do not need the esphome builder tool.
setting up the VPE with the esphome integration has nothing to do with using the esphome builder tool. you point the integration at the device. although unless you have some kind of fancy network setup it should automatically find it
Oh okay like that, yeah it's on an enterprise network with a bunch of firewalls and stuff I don't know. Thanks for the info, I will look into it further
Do you happen to know what part of the network could be blocking it? Or what should be enabled?
the HA server needs to be able to connect to the VPE AND the VPE needs to be able to connect to the HA Server
even with stuff allowed you may have to manually connect to it by ip as autodetect may not work with elaborate setups
I enabled the hotspot of the pc where Docker with HA is running, using the ip I was able to connect the VPE but setting up the voice assistant is not working, I put the Home Assistant URL like they suggested in the help me but it still doesn't work
its having trouble connecting to the url that HA thinks it is at, is your HA docker container using "host" networking?
No it's using
ports: - 8123:8123
My phone it connected to the same hotspot and I get the login screen when entering the ip and port in the browser
settings - system - network
the home assistant URL section.
the url there for local network needs to be a URL that works. this url is what is used to generate the url stream that it tells the VPE to run
if you are using an unsupported docker network config then you may have to manually adjust this
if your not using host networking it will likely be trying to use the internal docker network ip which obviously wont work from other devices.
So it's different from the normal HA URL to get the Dashboard and stuff?
it shouldn't be.
when HA wants the VPE to connect to it to stream audio from it: it generates a url to give to the VPE over the API and if HA doesnt know its own base URL correctly the generates URL for the audio stream will be wrong.
if your not using the supported network mode then HA is unable to work out what it should be so you will need to manually set it.
This part, right? I entered the http, ip and port of HA that works when using the browser on a phone on the same network so it should work for the VPE too, no?
yeah so it should look like
http://x.x.x.x:8123
That's what I put
you may have to restart home assistant for chage to take effect, then try running the VPE unboarding again
Okay, I'll try that
I think it worked because now I have to figure out how to do the local voice processing since it's running in Dockers so I can't use the addons
Thank you so much for your help Michael!
you can use whisper/piper containers that support wyoming protocol and connect them using the wyoming integration
Thanks, I'll take a look!
So I guess it's these 2 but how do I find the docker compose files?
#1359781204223725728 message
it has the docker run command on the repo. you can use that to write a compose file or use a tool like https://www.composerize.com/
it should be noted that: I don't think that those containers do GPU acceleration. if you want to add that then you may have to use other images
It's running on an AMD mini pc with Radeon 780M integrated graphics so I guess it's not needed?