@Florian1234
How did you install HA to the RPi4? One of the following:
Home Assistant OS? This type flashes the Home Assistant OS for Raspberry Pi 4 to a microSD card (or USB SSD), then you boot the Pi and finish setup in the browser.
Home Assistant Container (Docker)? This type installs Raspberry Pi OS (or Ubuntu), then you install Docker, then you run HA using docker run or docker-compose.
Home Assistant Core (Python venv)? This type install Raspberry Pi OS / Debian, then you manually install Python and HA dependencies, then you run HA in a venv.
How HA is installed will determine what modifications you can make to the RPi startup configuration to enable / disable HDMI audio.
Note that you will want to make sure of the following:
your HDMI cable is plugged into HDMI0 input, which is the mini HDMI connector right next to the power connector on the RPi4.
make sure your TV (or whatever you have the HDMI cable from your RPi4 plugged into) is ON, and recognizes the HDMI input.
The ha audio info command is reporting only 1 audio card detected (e.g. stereo out, which is the 3.5mm jack). There is no way to modify the audio settings (that I know of) in the HA Core installation type from SD card.
Thank you so much. I highly appreciate your help! I will look if I maybe roll back to openhab or install a second instance with volumio. I was not aware that I am sitting on the wrong horse with the raspberry based image installer.
Hi @thlucas!
I was able to activate the ssh via port 22222 and changed the config.txt to use the proper audio driver. Now the output of ha audio info is:
@Florian1234
UPDATE - disregard, as you had it fixed as I was typing. For users that may run across this thread, you might want to document exactly what you did to fix so that it helps someone else later on.
What does your `config.txt look like for the audio and display sections?
It could be that your device the HDMI cable is connected to (TV? Receiver?) is expecting 5.1 or 7.1 audio. Are there settings you can adjust on the device to alter the HDMI audio input settings?
Or you can try modifying the config.txt settings to activate the 5.1 or 7.1 outputs.
I would try modifying the device (TV? Receiver?) settings first to see if you can set it to just HDMI stereo (2-channel) sound.
Also, did you restart that SpotifyConnect AddOn after changing the audio Output setting?