Low-complexity (addon-less) native audio playback in automations
Hi altogether,
the present option to play native audio (e.g sound information saved in /media) to an area system (e.g. USB-connected speaker) appears to be through VLC-telnet, MPD or different add-ons. This appears to be an overkill for such a easy job, particularly contemplating that the entire software program infrastructure is already current:
- HA Supervised (and HAOS as nicely I assume) begins up the
hassio_audiocontainer which accurately acknowledges and grabs native sound playing cards utilizing Pulse Audio - The fundamental container (
homeassistant) has all the mandatory libraries in addition to the PulseAudio shopper configuration current - There is a constructing block
media_playerintegration that – by the seems to be of it – may very well be leveraged for this
The solely factor that’s lacking in the primary container are PulseAudio shopper binaries (pacat/paplay/pactl) so as to have the ability to no less than arrange the shell_command-type companies. It appears that these binaries have been current prior to now, however have been eliminated in keeping with this remark.
The ask of this characteristic request is to contemplate implementing a “correct” native playback in automations with out the necessity to use any add-ons. It doesn’t essentially need to be the direct utilization of shopper binaries. In truth, it seems to be just like the media_player integration (particularly, implementing PulseAudio shopper as an entity_id) may very well be the correct means.
At a really minimal, nevertheless, I’d prefer to see PulseAudio shopper binaries added again to the primary container (as that’s the place automations run and the audio playback must be triggered). I attempted taking them from the hassio_audio container and working them in the primary container, and the sound playback works precisely as anticipated.
On a private observe: that is my first utilization of HA and my first use-case (bulletins utilizing static native audio information through an area speaker) and I used to be fairly baffled/stunned/annoyed to find that one thing so simple as this isn’t attainable out-of-the-box.
For reference, here’s a record of threads asking kind of for a similar performance:
- click on
- click on
- click on
- click on
- click on
- click on
- click on
- click on
- click on
- click on
- click on
- click on
1 publish – 1 participant
HI-FI News
through Home Assistant Community – Latest subjects https://ift.tt/gen5sjE
April 26, 2024 at 01:34AM
-
Product on sale
Audiophile Vinyl Records Cleaning BundleOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Product on sale
Easy Start Vinyl Records Cleaning KitOriginal price was: €69.90.€59.90Current price is: €59.90. incl. VAT -
Vinyl Records Cleaner Easy Groove Concentrate€34.95 incl. VAT -
Easy Groove Super Set€199.00 incl. VAT -
Easy Groove Enzycaster – vinyl records prewash cleaner€34.95 incl. VAT -
Easy Groove Extreme MK. II- vinyl records prewash cleaner€45.00 incl. VAT -
Vinyl Records Cleaner – Easy Groove Virgin Concentrate€35.00 incl. VAT -
Easy Groove Spray&Wipe vinyl records cleaner€34.95 incl. VAT








