this post was submitted on 24 Nov 2023
19 points (100.0% liked)

homeassistant

11701 readers
112 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

The Assist instructions just say go to assist and start talking. But mine only allows me to type in what I want to say, I don't get a voice option.

What am I doing wrong?

top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 9 months ago* (last edited 9 months ago) (5 children)

You need to install the Assist Pipeline.

It is fairly straight forward if you can use the add-on manager, but is a little different in docker and there is very little official documentation. If you are using docker just let me know and I'll share my setup.

[–] [email protected] 6 points 9 months ago* (last edited 9 months ago)

For those asking, here are my Docker Compose files for Piper (text-to-speech), Whisper (speech-to-text), and OpenWakeWord (allows the use of a wake word with things like the Atom Echo)

Piper

version: '3.3'
services:
  wyoming-piper:
    container_name: wyoming-piper
    image: 'rhasspy/wyoming-piper'
    ports:
      - "10200:10200"
    volumes:
      - '/docker/containers/wyoming-piper/data:/data'
    command: [ "--voice", "en_US-danny-low" ]
    restart: always

Note: The voice can be changed depending on your preference. Listen to the possible options here.

Whisper

version: '3.3'
services:
  wyoming-whisper:
    container_name: wyoming-whisper
    image: 'rhasspy/wyoming-whisper'
    ports:
      - "10300:10300"
    volumes:
      - '/docker/containers/wyoming-whisper/data:/data'
    command: [ "--model", "base", "--language", "en" ]
    restart: always

Note: The model can be changed depending on the power of your system. See possible options here.

OpenWakeWord

version: '3.3'
services:
  wyoming-openwakeword:
    container_name: wyoming-openwakeword
    image: 'rhasspy/wyoming-openwakeword'
    ports:
      - "10400:10400"
    volumes:
      - '/docker/containers/wyoming-openwakeword/data:/data'
      - '/docker/containers/wyoming-openwakeword/custom:/custom'
    command: --preload-model 'ok_nabu' --custom-model-dir /custom
    restart: always

Note: Even though the model for the wake command is set in the Compose file, this can easily be changed in your HA Assist settings.

After they are up and running, you can just manually add the Integrations to HA which will create the Wyoming Protocol Integration. Then go back to your Assist settings and they should be available in the relevant dropdowns.

I hope this helps

[–] [email protected] 5 points 9 months ago* (last edited 9 months ago) (1 children)

Thanks! Interesting this isn't mentioned on the other instructions, but now that I've set this up I can talk to it.

Thanks again!

[–] [email protected] 4 points 9 months ago

No problem. Yeah I found the documentation a bit of a maze as well.

[–] [email protected] 3 points 9 months ago

I am about to set up HA in docker, could you let me know what problems you came across and (presumably) ironed out?

[–] [email protected] 2 points 9 months ago (1 children)

I don't know that I need a full on guide, but do you mind sharing what containers you used for Whisper/faster-whisper and Piper? There are a lot of options on docker hub and knowing which ones to use will save me a lot of trial and error.

[–] [email protected] 2 points 9 months ago (1 children)

I've replied to my own original comment for better visibility if you want to check that.

[–] [email protected] 2 points 9 months ago (1 children)

Thank you for a wonderful Saturday morning project.

[–] [email protected] 2 points 9 months ago

Happy to help

[–] [email protected] 2 points 9 months ago (1 children)

It might be a good idea for a post. I run HA in docker and haven't dug into the documentation yet.

[–] [email protected] 1 points 9 months ago

I've added my Docker Compose files in a reply to my original comment which may help make things a little easier for you when you get to setting it up yourself.