Google Assistant Not Playing through Headphone

Hi there,

I have installed the Google Assistant Add-on to my Hass.io. I have setup my config file as such:

{
  "mic": "1,0",
  "speaker": "0,0",
  "client_secrets": "google_assistant.json"
}

My microphone is working correctly but audio is not playing though the speakers I have plugged into the headphone jack. If I have my TV turned on, which is connected to the Raspberry pi, I get audio through that. This does not make sense to me since these are my logs showing the HDMI is on “0,1”, not “0,0”.

[Info] Show audio device
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[Info] Setup audio device
[Info] Install/Update service client_secrets file

Has anyone had this problem before? Is my headphone jack located at a different location?

I am having the same problem.

Anyone have any ideas? Is there a way for me to test my headphone jack? Also here is the output of my hardware

core-ssh:~# hassio host hardware
{
  "serial": [],
  "input": [
    "C-Media Electronics Inc.       USB PnP Sound Device"
  ],
  "disk": [],
  "audio": {
    "0": {
      "name": "bcm2835 - bcm2835 ALSA",
      "type": "ALSA",
      "devices": {
        "0": "digital audio playback",
        "1": "digital audio playback"
      }
    },
    "1": {
      "name": "USB-Audio - USB PnP Sound Device",
      "type": "Device",
      "devices": {
        "0": "digital audio capture"
      }
    }
  }
}

Hi, I have the same problem. Does anyone have a solution or workaround?

It was working ok, before without HDMI pluged in, but I’m trying to control Tv etc troug HDMI-CEC, and I wanted HDMI to be connected.

Bumping this back to the top. HDMI works great for audio but can’t get it to play through speakers with hdmi cable connected.

Did you ever discover a solution to this problem? I have the same issue now…

Unfortunately no. I’ve opened an issue on the github repo though.