Seeed ReSpeaker with HA?

Has anyone integrated this hardware with their setup? Looks like it might be good for building a voice assistant.

Did you ever get this to work? … i’m not an expert in linux to begin with … but I can’t find anything that allows me to get this installed in Hass.IO

I never got one. Maybe some day, when I get a paycheck that doesn’t belong to landlords and bill collectors…

i got one, its brilliant bit of kit - nice hat for a pi. i used a different pi to run it on. Snips.ai didnt seem to have an endpoint though, and cortana SDK on WinIoT Core looked easy to set up (but no drivers) shame as the IFTTT custom cortana stuff looks good. Didnt get any further than that sadly

I got one… I’ve installed HA on it (not my primary) and just use it for speech -> mqtt -> primary HA install

cool - what you using as a platform for speech?

Currently I’m using google, but that’s because I only use it for TTS so there’r no privacy issues… If you want het to use for STT as well you might consider snips

That sounds like a really good way to do it. I always assumed I would have it on my primary HA Pi, but having it on a separate one makes more sense I think. At least the MQTT path makes sense anyway…

I have ReSpeaker 4-Mic Array for Raspberry Pi too.
Is there someone who knows if it is compatible to hass.io (2.12)? I want to use it with Ada and Almond. The HAT is not recognized
Thanks

I’m also interested if anyone has gotten this to work on their pi already running hassio? How do you get the hat to recognize?

Thanks

Someone just posted about using the respeaker in the voice assistant subsection under configuration. It wasn’t on something running hassio though.
Wouldn’t you want to have the microphone on a remote device? I guess unless you have your hassio in your living area.
Perhaps if you did the generic Linux install you could use the underlying os to use the mic and run rhasspy or similar on your pi at the same time.

is tehre any progress on this? I can’t find any other or better thread and after plugging the repseaker 4 mic array into the Vm which is running hass.io I see errors like this in ada’s logs:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_a52.c:823:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib conf.c:5014:(snd_config_expand) Unknown parameters {AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2  CARD 0}
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM iec958:{AES0 0x6 AES1 0x82 AES2 0x0 AES3 0x2  CARD 0}
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_hw.c:1822:(_snd_pcm_hw_open) Invalid value for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM dmix

Home Assistant OS (or hassio how it was called in the past) is meant to be the only thing running on your machine and it wants full control over the hardware. You need a different install method to make this work.

1 Like

I am not sure I understand. Hass.io is running in a VM and has full control over the hardware. Ada is running via the supervisor add-on.

Care to explain to what you were referring exactly?

Ah, I misread your post,I thought you wanted to install something else that control the Respeaker on this machine.
However, I don’t understand how you connected a RPI Hat to your VM, as I understand it, it has to be mounted on top of a Pi. Or can this MIC array also be connected to other devices via USB?
Do you run Home Assistant Supervised on top of a generic linux install or Home Assistant OS?

Thanks for following up. Let me answer your questions:

The Respeaker solution is also available as a USB connected device => https://www.seeedstudio.com/ReSpeaker-USB-Mic-Array-p-4247.html

As to my setup, I have a NAS running Debian 10. Here I am using Proxmox to install hass io into a VM using this script: https://github.com/whiskerz007/proxmox_hassos_install

The Respeaker device is passed through to this VM exclusively.

On this VM running hass io I installed the almond add-on via supervisor and activated the ada integration which gave me the logs I posted above.

To me it looks like hass io is simply missing the correct drivers/firmware to use this Respeaker device.