#Unable to connect home assistant to my whisper/piper (docker) running on an external machine.

1 messages · Page 1 of 1 (latest)

idle abyss
#

I've been running whisper and piper locally for a while successfully. I'm now trying to take it to the next levet by offloading whisper/piper to a more powerful computer. I can run both of the docker images without any issues, but when I try to add a service in the Wyoming integration, I keep getting "Unknown error occurred".

Any help would be greatly appreciated.

sharp badger
#

I run both in Docker, no problems whatsoever

hardy vapor
#

Usually adding it would ask for the ip and port of the service

obtuse sentinel
#

You did not mention the OS of the computer that whisper/piper are on. If running under WSL on a Windows machine, there is an extra step to expose the ports.

idle abyss
#

Thank you very much for the heads up!

obtuse sentinel
#

You are welcome. There is information on the Internet on ways to do this. I repurposed my old windows machine as a Linux server a while ago so it is more straight forward.

idle abyss
#

yeah it's probably what I should have done to begin with! I did find how to forward the port and it worked instantly! thanks again

elfin scroll
#

@idle abyss where did you find the info? I have been having the exakt same issue.

elfin scroll
#

@obtuse sentinel do you have any idea? I have setched all day

#

docker run -it -p 10300:10300 -v /path/to/local/data:/data rhasspy/wyoming-whisper
--model tiny-int8 --language en

#

that is what I have been using and i works I think but I cant conekt to it

obtuse sentinel
elfin scroll
#

thanks

red cedar
# elfin scroll thanks

To get mine working on win11 using wsl, I added a new file ‘.wslconfig’ to the user root directory that include a value of ‘networkingmode=mirrored’ which allows the docker to use your physical interface not the virtual adapter on the docker creates. No need to worry about forwarding this way. Take a look at this video for more info YouTube.com/watch?v=OB2Rfzy5V0Y

hope this helps

elfin scroll
#

Thank you very much

elfin scroll
#

do I also have to bypass my firewall?