Year of the Voice - Chapter 2: Let's talk

Has anybody experienced some kind of timeout while connecting through the Wyoming protocol with Docker containers?

It seems to continuously stay stuck on:
image

After about 15 minutes it says “Failed to connect.”:
image

The dockers seem to be running properly:

And the logs seem good:

I know the Docker host is reachable, because I’m running multiple stacks on it which have no issue being available including AdGuard or Unifi:
image image

My docker compose is as follows:

---
version: "3"

services:
  piper:
    container_name: piper
    image: rhasspy/wyoming-piper:latest
    restart: unless-stopped
    ports:
      - 10200:10200
    volumes:
      - ${HOME}/piper/data:/data
    command: --voice en-gb-southern_english_female-low

  whisper:
    container_name: whisper
    image: rhasspy/wyoming-whisper:latest
    restart: unless-stopped
    ports:
      - 10300:10300
    volumes:
      - ${HOME}/whisper/data:/data
    command: [ "--model", "medium-int8", "--language", "en" ]

It’s driving me crazy :woozy_face:
Anybody has an idea what it could be?

If you run
docker-compose logs whisper
you might see errors.

I can see that your docker compose file is different than mine (see below)

  whisper:
    container_name: whisper
    command: --model small-int8 --language en
    image: rhasspy/wyoming-whisper
    volumes:
      - ./whisper:/data
    environment:
#      - TZ=Europe/Brussels
      - TZ=Pacific/Auckland
    restart: unless-stopped
    ports:
#      - 10300:10300
      - "10300:10300"

If it helpful here is mine.

# 2023-05-07
version: "3"
services:
## wyoming includes whisper and piper
  whisper:
    container_name: whisper
    command: --model small --language en
    image: rhasspy/wyoming-whisper
    volumes:
      - /home/pcwii/docker/whisper:/data
    environment:
      - TZ=America/Toronto
    restart: unless-stopped
    ports:
      - 10301:10300

  piper:
    container_name: piper
    image: rhasspy/wyoming-piper
    command: --voice en-us-libritts-high
    volumes:
 
      - /home/pcwii/docker/piper:/data
    environment:
      - TZ=America/Toronto
    restart: unless-stopped
    ports:
      - 10201:10200

@pcwii and @robfish
Seems to have the same effect :frowning:

@robfish
I tried to run with the logs without Portainer and got the following on the first start:

whisper  | WARNING:wyoming_faster_whisper.download:Model hashes do not match
whisper  | WARNING:wyoming_faster_whisper.download:Expected: {'config.json': 'e5a2f85afc17f73960204cad2b002633', 'model.bin': '99b6aca05c475cbdcc182db2b2aed363', 'vocabulary.txt': 'c1120a13c94a8cbb132489655cdd1854'}
whisper  | WARNING:wyoming_faster_whisper.download:Got: {'model.bin': '', 'config.json': '', 'vocabulary.txt': ''}
whisper  | INFO:__main__:Downloading FasterWhisperModel.MEDIUM_INT8 to /data
whisper  | INFO:__main__:Ready

Once they were created once, I just got:

whisper  | INFO:__main__:Ready

Either way, still the connection seems to timeout.

The Hebrew language does not appear (i.e. cannot be selected) in the Assist Settings.

The Hebrew language (“he”) is fully supported in the Whisper (Speech-to-text add-on.

Please add the Hebrew language as a language that is available to be selected.

You can control what entities are exposed to Assist. Go to Settings>Voice Assistant and under the Assist category it will tell you how many entities are exposed. You can click on that to either unexpose ones you don’t want to be controlled by Assist or add new ones with the widget on the bottom right(+ Expose entities)

Hi @AddiXz ,
I have exact same issue, did you solve it if so how ?

/donnib

Hi @donnib,
Yes, I got it working in the end.
I’m not sure if it was the actual resolution, or the combination of everything before including the following.
I have a 4 port NIC in my server running docker. I switched the port and re-assigned the IP address and then it all started working.

Hello,
Very new and learning local TTS. I can use it to turn on lights and switches. However i cannot get itbto tell me the tempature of my ac. It works if i ues the keyboard but not voice. Please advise.

OK I changed the alias and it now is working. However need to figure out to change from heat to cool or set new tempature

I want this just for practical reasons (very soundproof house and I’d rather eliminate yelling from room to room), but the right shape and chirrup would just make me happy.

Let me know if you’ve got anywhere with it, or have seen anyone do similar.