# Open voice assistants

**URL:** <https://discourse.nodered.org/t/open-voice-assistants/94337>\
**Category:** General\
**Tags:** home-assistant\
**Created:** [3 January 2025 13:52 UTC](https://discourse.nodered.org/t/open-voice-assistants/94337 "2025-01-03T13:52:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giamma](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Post date:** [3 January 2025 13:52 UTC](https://discourse.nodered.org/t/open-voice-assistants/94337/1 "2025-01-03T13:52:24Z")

</div>

Could this be the future for NR too?  
(I would like to delete applestrudel)

> **[The era of open voice assistants has arrived](https://www.home-assistant.io/blog/2024/12/19/voice-preview-edition-the-era-of-open-voice/)**
>
> Home Assistant Voice Preview Edition is the best way to get started with our open and privacy-focused voice assistant.

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [3 January 2025 20:44 UTC](https://discourse.nodered.org/t/open-voice-assistants/94337/2 "2025-01-03T20:44:20Z")

</div>

@Giamma,

Yes indeed I also had seen arriving those devices recently. It is indeed very interesting technology, that has great potential.

I have completely _ **zero experience** _ with it, but a quick view learns me that there are 3 docker images involved:

1. [Whisper](https://hub.docker.com/r/rhasspy/wyoming-whisper) for speech-to-text
2. [Piper](https://hub.docker.com/r/rhasspy/wyoming-piper) for text-to-speech
3. [OpenWakeWord](https://hub.docker.com/r/rhasspy/wyoming-openwakeword) for invoking the Assist Pipeline

Since I have no clue how it works, I cheated by asking ChatGpt how to call these services from a Node-RED flow. He claims that you can use a http-request node and send simply POST requests to these containers:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/f/0fd8364df692dbb76a766d118eee6caec34e8c38.png)

And he/she/it also provided me a sample flow:

```auto
[{"id":"inject-node","type":"inject","z":"flow-id","name":"Trigger Flow","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"audio-file-path","payloadType":"str","x":100,"y":100,"wires":[["openwakeword-http-node"]]},{"id":"openwakeword-http-node","type":"http request","z":"flow-id","name":"Check Wake Word","method":"POST","ret":"txt","url":"http://<openwakeword-container-ip>:8080/api/detect","headers":{},"x":300,"y":100,"wires":[["whisper-http-node"]]},{"id":"whisper-http-node","type":"http request","z":"flow-id","name":"Send to Whisper","method":"POST","ret":"txt","url":"http://<whisper-container-ip>:<whisper-container-port>/transcribe","headers":{},"x":500,"y":100,"wires":[["piper-http-node"]]},{"id":"piper-http-node","type":"http request","z":"flow-id","name":"Send to Piper","method":"POST","ret":"bin","url":"http://<piper-container-ip>:10200/api/tts","headers":{},"x":700,"y":100,"wires":[["debug-node"]]},{"id":"debug-node","type":"debug","z":"flow-id","name":"See Result","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":900,"y":100,"wires":[]}]

```

That flow should offer this functionality:

- Detect a wake word using OpenWakeWord.
- Convert spoken audio to text using Whisper.
- Convert the text back to speech using Piper.

But you already know that ChatGpt can tell a lot of very convincing stuff, but it can be complete bollocks! I am afraid that this time the proof of the pudding is in the eating.

Good luck with your journey!  
And please share your experiences here, so others can learn from it (and assist you of course)...

Bart

---

<div class="post-metadata">

**Author:** ![Giamma](https://avatars.discourse-cdn.com/v4/letter/g/e47774/32.png) [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Post date:** [4 January 2025 09:34 UTC](https://discourse.nodered.org/t/open-voice-assistants/94337/3 "2025-01-04T09:34:43Z")

</div>

Ok, thank you ....

---

<div class="post-metadata">

**Author:** ![jmorris644](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jmorris644/32/31964_2.png) [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Post date:** [7 January 2025 23:13 UTC](https://discourse.nodered.org/t/open-voice-assistants/94337/4 "2025-01-07T23:13:35Z")

</div>

A really nice project in this area on the hardware side is the onju project. It utilizes a custom PCB for the Gen2 of the Google speaker. There are currently also two different loadable firmware options to choose form. One of them is based on ESPhome. Fun to play. I spent quite a bit of time in this area about 6 months ago and things were just not up to snuff to be reliable at that time. But I see that there have been many updates as of late. I will be trying this again.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [7 April 2025 23:14 UTC](https://discourse.nodered.org/t/open-voice-assistants/94337/5 "2025-04-07T23:14:01Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
