home-assistant: Deploy Piper and Whisper

Piper is the new text-to-speech service for Home Assistant.  Whisper is
a speech-to-text service.  Together, these services, which communicate
with Home Assistant via the Wyoming protocol, provide the speech
interface to the new Home Assistant Voice Assistant feature.
This commit is contained in:
2023-08-02 19:59:30 -05:00
parent a7eac14d39
commit 0cbda0fd73
6 changed files with 237 additions and 27 deletions

View File

@@ -27,6 +27,8 @@ The Home Assistant ecosystem consists of these components:
* Mosquitto (MQTT server)
* Zigbee2MQTT (Zigbee integration)
* ZWaveJS2MQTT (ZWave integration)
* Piper (Text-to-speech)
* Whisper (Speech-to-text)
Each of these components runs in a container in separate pods within the
*home-assistant* namespace.
@@ -121,6 +123,22 @@ StatefulSet with a PersistentVolume Claim.
[ZWaveJS2MQTT]: https://github.com/zwave-js/zwavejs2mqtt/
### Piper/Whisper
[Piper] and [Whisper] provide the text-to-speech and speech-to-text
capabilities, respectively, for Home Assistant [Voice Control]. These
processes are designed to run as Add-Ons for Home Assistant OS, but work just
fine as Kubernetes containers as well.
Piper and Whisper need mutable storage in order to download their machine
learning models. Since the model data are downloaded automatically when the
container starts, using ephemeral volumes is sufficient.
[Piper]: https://github.com/rhasspy/piper
[Whisper]: https://github.com/guillaumekln/faster-whisper/
[Voice Control]: https://www.home-assistant.io/voice_control/
## Raspberry Pi Node
While Home Assistant Core and Mosquitto can run on any node in the Kubernetes