WTH why is the HASS host audio port (speaker, microphone) unexposed/cannot be used in HASS?

When looking at the hardware, HASS OS recognizes and assigns details to the sound subsystem (/dev/snd/).

Why is the snd subsystem not exposed to HASS?

ALSA has been part of the linux kernel since the late '90s.
The library playsound, pyaudio, or simpleaudio are available since 2016, 2006, 2015 respectively (MIT license). There are others with different licensing. Both WAV and MP3 can be passed to the snd system, and audio written from them.

Plug a 3.5mm-t-BT/BLE bridge into the port, and we have the audio solution solved. They range are very inexpensive (search for 3.5mm to bluetooth transceiver)

This works on regular RasPis without any issue. Of course, also works on regular PCs as long as they have 3.5mm jacks.

My primary use for this is not audiophile listening to Vivaldi’s quattro stagioni. It is for assistance, speech and audio commands.

(I am open to be told I do not know what I am talking about. :smiley: )

Alternatively, what would it take to implement such add-on?

You have my vote…

In a convoluted way, I’ve been able to get it working using this how to.
https://thehelpfulidiot.com/playing-a-sound-directly-from-home-assistant-operating-system

After upgrade to 24.5.03, i have no more audio out if the raspi

This thread was started two years ago - the information in it may be out of date. If possible, start a new thread, with a link to this one to provide context if necessary.

1 Like

ok , will do