• 0 Posts
  • 19 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle











  • 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