Show HN: Willow – Open-source privacy-focused voice assistant hardware (opens in a new tab)github.com
581 pointsI love Home Assistant and I've always thought the ESP BOX[0] hardware is cool. I finally got around to starting a project to use the ESP BOX hardware with Home Assistant and other platforms. Why?
- It's actually "Alexa/Echo competitive". Wake word detection, voice activity detection, echo cancellation, automatic gain control, and high quality audio for $50 means with Willow and the support of Home Assistant there are no compromises on looks, quality, accuracy, speed, and cost.
- It's cheap. With a touch LCD display, dual microphones, speaker, enclosure, buttons, etc it can be bought today for $50 all-in.
- It's ready to go. Take it out of the box, flash with Willow, put it somewhere.
- It's not creepy. Voice is either sent to a self-hosted inference server or commands are recognized locally on the ESP BOX.
- It doesn't hassle or try to sell you. If I hear "Did you know?" one more time from Alexa I think I'm going to lose it.
- It's open source.
- It's capable. This is the first "release" of Willow and I don't think we've even begun scratching the surface of what the hardware and software components are capable of.
- It can integrate with anything. Simple on the wire format - speech output text is sent via HTTP POST to whatever URI you configure. Send it anywhere, and do anything!
- It still does cool maker stuff. With 16 GPIOs exposed on the back of the enclosure there are all kinds of interesting possibilities.
This is the first (and VERY early) release but we're really interested to hear what HN thinks!
[0] - https://github.com/espressif/esp-box
Comments (138) 39 threads
Show all comments
Showing thread 38 of 39
I don't mean to nitpick, this looks really cool. I've just got a few old tablets lying around, and I'm trying to decide whether to spring for one of these instead of trying to make something work on what I've already got.
Local - Willow also includes the latest ESP SR Multinet 6 command recognition model. Willow will automatically pull entities from Home Assistant (when using Home Assistant) and define the speech grammar based on the friendly entity names. In this mode, the speech/audio never leaves the device and the speech recognition result is sent directly to Home Assistant.
Server - In this case, after wake is detected we immediately begin streaming audio to our highly optimized inference server implementation (release next week). Once end of speech is triggered using the ESP BOX Voice Activity Detection we send an end marker to execute Whisper on the server side and then take the results and send them to Home Assistant (when Home Assistant is configured).
Doing reliable wake word detection and getting clean far-field speech (generally defined as 3 meters or more) in random/unknown environments that are typically less than ideal (background noise, acoustic echo, etc) is actually quite a challenge. Willow uses the dual microphones and the ESP SR AFE (audio front end) to do a variety of signal processing on the device to clean the speech.
The integration and engineering for anything resembling an Echo-like experience is very involved, down to physical attributes of the enclosure, microphone cavities, etc. There is an entire field and cottage industry of acoustic engineering on the hardware design for these applications.
The point is, providing an Echo/Willow-like experience is much, much, much more than putting a random microphone in a room. So with that, we don't plan to specifically support random devices because the outcome is almost certainly very poor and not something we're currently interested in supporting.
All of this keeps comes coming up and we will certainly document it.