2labz.com
HomeAboutContactGatus

Wyoming OpenAI

3/24/2025

Rory Eckel

Bridging the Gap: Wyoming OpenAI for Flexible Voice Control

For those of us building smart homes and voice-powered experiences, the landscape of speech-to-text (STT) and text-to-speech (TTS) services can be fragmented. Different platforms often require different integrations, and consolidating resources can be a challenge. That’s the problem Wyoming OpenAI aims to solve.

Wyoming OpenAI is a project designed to act as a bridge between the Wyoming protocol – a popular standard for voice assistant integrations, particularly within Home Assistant – and a wider range of OpenAI-compatible STT and TTS services. Essentially, it allows you to use the Wyoming protocol with any service that speaks the OpenAI API language, opening up a world of flexibility.

Why build this?

Many excellent Wyoming integrations already exist, such as Wyoming Faster Whisper and Wyoming Piper. However, these projects are not OpenAI-compatible. If you're also using a platform like Open WebUI which relies on this compatibility, you're forced to run separate instances of STT/TTS engines. Wyoming OpenAI consolidates this, letting you run a single instance to serve multiple applications.

How does it work?

Wyoming OpenAI functions as a proxy. It sits between your Wyoming-compatible clients (like Home Assistant or potentially others) and the STT/TTS service of your choice. It translates the Wyoming protocol into the OpenAI API format, and vice versa. This means you can swap out different STT/TTS engines without modifying your core Home Assistant configuration.

Deployment Options

The project is designed to be flexible and easy to deploy, primarily through Docker. You have several options:

  • Official OpenAI Services: Connect directly to OpenAI’s APIs using your API keys.
  • Local Alternatives (Speaches): Run a local, self-hosted STT/TTS service like Speaches for privacy and control.
  • Combined Local Services (Kokoro-FastAPI & Speaches): Leverage the strengths of different local services, combining Kokoro-FastAPI for TTS and Speaches for STT.

The Docker Compose files provided make setup straightforward, allowing you to quickly deploy and experiment with different configurations.

Benefits for Home Assistant Users

For Home Assistant enthusiasts, Wyoming OpenAI gives you more flexibility to use cutting edge voice assistant pipelines. Once deployed, you can easily connect the Wyoming Protocol integration to your Wyoming OpenAI instance. Instructions are provided in the README!

Back to Home