From 38539fc260e082327fcda6c1a8788cf7b3f0b4fc Mon Sep 17 00:00:00 2001 From: imonlinux <39863321+imonlinux@users.noreply.github.com> Date: Tue, 9 Sep 2025 21:26:24 -0700 Subject: [PATCH] Update linux-voice-assistant-2mic-install.md --- docs/linux-voice-assistant-2mic-install.md | 26 +++++++++++++++------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/docs/linux-voice-assistant-2mic-install.md b/docs/linux-voice-assistant-2mic-install.md index 7ce472c..b2112ce 100644 --- a/docs/linux-voice-assistant-2mic-install.md +++ b/docs/linux-voice-assistant-2mic-install.md @@ -27,7 +27,17 @@ sudo reboot ``` -## 2. Get the code +## 2. Install ReSpeaker drivers + +```bash +cd linux-voice-assistant/respeaker2mic/ +chmod +x ./install-respeaker-drivers.sh +sudo ./install-respeaker-drivers.sh +sudo reboot +``` + + +## 3. Get the code ```bash git clone https://github.com/imonlinux/linux-voice-assistant.git @@ -35,7 +45,7 @@ git clone https://github.com/rhasspy/wyoming-openwakeword.git ``` -## 3. Wyoming OpenWakeWord (OWW) +## 4. Wyoming OpenWakeWord (OWW) ```bash cp ./linux-voice-assistant/wyoming-openwakeword/requirements.txt ./wyoming-openwakeword/requirements.txt @@ -44,7 +54,7 @@ script/setup ``` -## 4. Configure audio devices +## 5. Configure audio devices Find your sound device names and update the linux-voice-assistant/service/linux-voice-assistant.service file to match sound card details: ```bash @@ -53,7 +63,7 @@ aplay -l ``` -## 5. Systemd services +## 6. Systemd services Copy the 2 service files into /etc/systemd/system/: ```bash @@ -68,7 +78,7 @@ sudo systemctl status linux-voice-assistant wyoming-openwakeword --no-pager -l ``` -## 6. Connect to Home Assistant +## 7. Connect to Home Assistant 1. In Home Assistant, go to "Settings" -> "Device & services" 2. Click the "Add integration" button @@ -77,14 +87,14 @@ sudo systemctl status linux-voice-assistant wyoming-openwakeword --no-pager -l 5. Click "Submit" -## 7. Verification +## 8. Verification - Expect logs like `Connected to Home Assistant` - Look for `[OWW] Detection: name=...` followed by re-arming/cycling - Ask: *“What time is it?”* and confirm TTS reply -## 8. Change OWW detection model +## 9. Change OWW detection model Edit the linux-voice-assistant.service file and change the OWW configuration argument for --wake-word-name. Project OWW models include: @@ -165,7 +175,7 @@ sudo systemctl restart linux-voice-assistant.service sudo systemctl status linux-voice-assistant wyoming-openwakeword --no-pager -l ``` -## 9. Revert to MicroWakeWord +## 10. Revert to MicroWakeWord Edit the linux-voice-assistant.service file and remove the OWW configuration arguments: