#Streaming Voice Assistant output to a HA Media Player
1 messages · Page 1 of 1 (latest)
not really, there may be ways to kinda hack it together but they tend to be unreliable and missing features.
what device are you speaking into?
what device are you wanting to output to?
I host HAOS bare metal on a laptop and for some reason I can't get the speakers to work there. The internal mic is good (I use the microphone addon)
They show up with ha audio info but even tho the device is selected in the addon config it's not listed in the audio info. So basically the pipeline works but I don't hear anything.
So my thought was to route the output to my main PC that pretty much runs all the time anyway and is connected to my stereo so it can play the voice answer
https://pastebin.com/pRricWxu
Here is the output of ha audio info
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
what kind of spec is the laptop in question?
EliteBook 8540w
how much ram does it have?
8GB
Its basically a decent workstation laptop from like 2010 it has a Nvidia Quadro
okay I have a suggestion. which 8gb of ram is probably enough for.
instead of bare metal HAOS. you install proxmox. then install HAOS on a VM (with ~4gb ram).
then in a separate LXC or VM which you give access to the Audio devices you run THIS
HAOS is not really designed for directly using audio devices and such with. any solution to use it directly would be hacky and likely break constantly with updates etc...
separating the 2 tasks onto different (virtual) machines would likely keep things less messy.
does that make sense in concept?
That's a good idea actually
Yeah
Just one question
The whole assist stack currently is in the Wyoming protocol
This states it uses ESPHome?
Does ESPHome also integrate into Wyoming?
What distro would you recommend for the separate VM?
Ubuntu server?
yeah, the software basically emulates an ESPHome based sattelite like a VPE but yes it still uses wyoming to talk to your STT and TTS setups as that part of the pipeline is still on HA.
Ah ok
Good to know thx
you might be able to get away with a lighter weight debian LXC but i havent tried messing with that and audio devices tbh. but if you go with a VM for it then you can use whatever you like, although I would suggest making it a lightweight install for obvious reasons.
Thats actually a really good idea
The reason I wanted to move the voice Audio to my PC was basically just because HAOS can't manage the speakers
Yeah
I should point out that you could also just buy a Voice-PE 😛
if that's an option for you.
Ik
I might but not for now
I'm still experimenting too much to make the investment but I'm pretty certain I'm buying that in the future actually
yeah, that's totally fair
Next on the list will be hacking a Lidl Silvercrest Zigbee gateway to free it from the cloud to use directly locally in HA
If I get that working I'm probably done
Not getting out of the HA rabbithole lmao
I appreciate your idea / help
Thank you very much
just get a coordinator for your HA server and ditch the random gateway.
Yeeaaah
I've been thinking about that too
I'd need a TTL USB adapter anyway
Still have to evaluate the price might just do that instead
ZBT-2 would be my recommendation but many others work fine.
but again its investment. so its up to you at what pace you proceed.
its discontinued now. although if you can pick it up cheap somewhere clearing stock then its not a bad device and will still be supported for a while.
no worries, hopefully I have given you some ideas and stuff to think about. good luck with your setup and come back if you have any other questions 🙂