rhasspy / rhasspy3

An open source voice assistant toolkit for many human languages
MIT License
311 stars 26 forks source link

Wyoming TCP server #52

Open Shulyaka opened 1 year ago

Shulyaka commented 1 year ago

This PR adds a Wyoming server that can expose some of the programs defined by pipeline over network. Currently supported asr and tts. Can be used to connect your HA to rhasspy using Wyoming integration to use tts and stt services in Home Assistant using the same programs you already configured for your pipeline. Kinda replacement for wyoming_piper and wyoming_faster_whisper, but configurable via rhasspy and supporting any asr and tts programs that are supported by rhasspy.

Example:

script/setup_wyoming_server
script/wyoming_server --debug --uri tcp://0.0.0.0:13330
Shulyaka commented 1 year ago

image image

Shulyaka commented 1 year ago

Added support or other domains. Note that requests for mic and snd domains are not supported by current version of Wyoming protocol, so they will not work. vad and intent have limited support for the current Wyoming version as well though in theory they should work. Also, handle and wake are added to the info event, but handle is not currently supported by Home Assistant.

Shulyaka commented 1 year ago

screenshot

Shulyaka commented 1 year ago

screenshot

Shulyaka commented 1 year ago

@synesthesiam What is the correct branch for the PRs? Do you want me to rebase to wyoming-v1?