#Voice pipeline not working on assist devices

1 messages · Page 1 of 1 (latest)

icy spear
#

Hi all, got a strange one. running latest HA but i'm just trying to set up a new esp32 based voice assist box and am noticing that it doesnt play back any of the voice conversation audio. Tested on both of my other devices and they are behaving in the same way.

Tried changing the TTS engine and make no difference (the test feature works fine in the browser)
Testing using debug in the browser and it works fine.
Its just any of my voice assist devices (m5 atom, HA VA PE and a random ai voice assist box i've just flashed with esphome.

for what it's worth, the latter shows the text on its screen so its 100% working on receiving and getting back the text from the LLM/HA, it just doesnt play the audio.

wake noises etc work as expected.

any ideas?!?

atomic cypress
icy spear
#

yes everything is up to date, but all 3 devices are different and on different firmware, which used to work (except for the one i'm only just setting up).
everything works except from the audio. as i say, the new device which has a screen, shows the text that it "should" be saying in response to me, so the data 100% gets to it. its not network related

atomic cypress
# icy spear yes everything is up to date, but all 3 devices are different and on different f...

the text and the audio are sent differently.
text is on the main api connection which is established from HA->device.
when audio is streamed HA hosts the audio file on its http server and sends the link via the data connection.
a new connection device->ha is then made and the audio file is streamed using that.
because one works it does not mean the other works.

if you look at the assist pipeline debug trace is should give you the ability to "play audio" does that play okay in the browser?

icy spear
#

ah ok, well when i did a debug test audio pipeline it worked fine

#

on my browser

atomic cypress
#

if the audio is playing on the browser then its highly likely that its an issue with the satellite connecting to the ha server.

#

is your network standard or do you have anything special like vlans etc...?

icy spear
#

no its a flat network. and nothing has changed on it since it worked last time i used it which admittedly was maybe a week or two ago

#

is it using any particular ports ?

#

different to normal ones i would be using. ha is a container on my server

atomic cypress
#

are you using host mode networking?

icy spear
#

and would it be using my "external" address or the internal one

#

no bridge, so i need to expose ports if needs be

atomic cypress
#

it uses the normal port but if you are not using host mode you may need to manually set the base url HA thinks it has so when it constructs the url to send to the satellite its right

#

settings - network - "Home Assistant URL" section.

#

switching the local network url to manual and then putting in the base url may be what you need to do.

#

I should also point out that running container with anything that is not host mode networking is not officially supported.

icy spear
#

got ya. for some reason those sections in my settings had gone blank?! put the correct ones in there and it appears to be working again.

#

thanks dude! ❤️

#

baffled to why they must have cleared those settings tthough, i've not touched that page for years

atomic cypress
atomic cypress
# icy spear thanks dude! ❤️

no worries good luck with your setup. also you should consider moving to a supported configuration if you are able. there may be other issues with not running host mode.