Hi all,
Just spent better part of weekend trying to use HA with RaspyPlay4 (RaspyPlay4 - Hi-Fi sound reproduction for Rasberry Pi B+) HiFi hat on Raspbery pi 3.
It was very hard and i was soo frustrated that i could not find any article about this one since i like this board.
Add on was working out of the box with RuneAudio but i wanted something more customisable for my offgrid cabbine without need to setup multiple pies.
Long story short i was able to play streams using VLC addon and by enabling I2S support in /boot/config.txt file
by uncommenting this line
dtparam=i2s=on
Also you will need this line in order to receive one more audio output.
dtoverlay=iqaudio-dac
Save, reboot, let HA starts, In VLC Addon setting switch to newly added audio output “Built-in Audio Stereo”
ha audio info will list it like “soc_sound.stereo”
And that is it… give me like if this info saves your weekend.
Not sure if this will be useful to someone:
Enable I2C if your DAC needs it: