hello to anyone reading this i was recently thinking about using music assistant and a home assistant automation to make a makeshift alarm clock that can adjust based on conditions and situations and i was wondering if i could usb passthrough a usb audio interface or a usb soundcard to the home assistant vm and use that along with the vlc addon to create a speaker system that home assistant can use
#Home assistant + usb soundcard or interface
1 messages · Page 1 of 1 (latest)
so i just answered my own question by trying to usb passthrough my focusrite solo
it plays sounds but
its a garbled mess
now i have no idea if its because its an interface and not just a sound card
maybe a usb sound will do the job better idk
( by the way yes my server has audio jack but my cpu doesnt support pcie passthrough so its impossible to use it in a vm )
what hypervisor are you using?
you could run - squeezelite on the host OS which can access the regular audio jack then connect squeezelite directly to music assistant to be able to use it.
i am using proxmox atm
i have no idea what squeezelite is
its a small client software package that exposes an outaudio output to a server (orginally made by logitech) and music assistant can emulate that server
so run squeezelite on proxmox itself and expose its audio output directly to music assistant
i linked documentaion above
so i run a squeeze lite client on the node that i want in my cluster and then connect it to music assistant got i think
squeezelite basically calls the server and goes "i have a speaker here, if you want then you can play stuff"
got it
i havent used it manually on proxmox but i dont see why it wouldnt work. proxmoxis just debian under the hood
yea it should work ill try to install it and see where it leads me
a tip: you have to connect it directly to music asssistant. do not connect it to home assistant then through HA to MA. that setup is a bit broken currently. but connecting directly to MA which is then exposed to HA works fine
not sure if that made sense but hopefully it did
yea it did make sense didnt even know you could use squeeze lite in ha i thought it was only in ma
yeah, there is an integration for it but as i said its a bit flakey. and theres not alot of interest in fixing it because MA exists as a solution
i dont know the packages but yeah most likely
as it seems it found it since it found a player called "HomeServer" and thats the name i gave to the node i am using
nice
yea but it doesnt play audio so smth is up
check volume settings in various places. could try the other version of the package.
check if its exposing the correct audio device
those are my first thoughts