hassio-addons icon indicating copy to clipboard operation
hassio-addons copied to clipboard

How do I add a bluetooth speaker or headset to Rhasspy Assistant?

Open DivanX10 opened this issue 2 years ago • 1 comments

I have Home Assistant installed on Debian 11. In Debian 11, there is sound on the headset and the microphone works, I can record speech and play it back, but only sound works in Rhasspy Assistant. How to switch the microphone?

Home Assistant 2023.2.5 Supervisor 2023.03.dev0101 Frontend 20230202.0 - latest Rhasspy Assistant Current version: 2.5.11

Displaying sound card profiles pacmd list-cards

image

Output active profiles pacmd list-cards | grep 'active profile'

image

pactl set-card-profile bluez_card.54_42_49_A5_56_AB headset_head_unit

Successfully recorded speech from the microphone and played back. I do it this way image

Checking the recording from the microphone. Command to record from the microphone for 5 seconds arecord -d 5 test_record.wav

5 - recording time in seconds, you can specify any number of seconds test_record - file name

Run the recorded file aplay test_record.wav

DivanX10 avatar Mar 01 '23 20:03 DivanX10

All my attempts to find some solution to make bluetooth work are unsuccessful. I have described everything in detail here. Maybe there is some solution how to make the bluetooth microphone work in Rhasspy Assistant?

https://community.home-assistant.io/t/how-to-transfer-a-bluetooth-headset-microphone-from-debian-11-to-home-assistant-rhasspy-assistant/543630

DivanX10 avatar Mar 07 '23 03:03 DivanX10