Alkove Spot for ESPHome (preview)
Typed wake words on the ESP32-S3, in place of micro_wake_word: any word you type is a wake word, in French, English, Spanish, Portuguese, Italian, Catalan, Romanian, German, Dutch, Polish or Swedish, with no training and no recording. One language per device: its words are all in that language, and the device runs that language's alkove-spot-1 in one file, in 4 bits (2.05 MB, read in place from PSRAM), with the SDK's wake word search. It fires on_wake_word_detected as micro_wake_word does.
Maintained by Alkove.
Needs
- An ESP32-S3 with 8 MB of octal PSRAM, on ESP-IDF.
- To compile the words, the
alkove-esphomePython package where ESPHome runs:pip install alkove-esphome, oruvx --with alkove-esphome esphome run …. Where it cannot be installed (ESPHome's Home Assistant add-on),uvx alkove-esphome "ok Nabu" --lang enon any computer prints the word compiled, to paste underwords:.
Measured on a bare ESP32-S3-N16R8 set like the Home Assistant Voice PE (its caches, code and fixed data in PSRAM), ESPHome 2026.11: the model loads in 60 ms, takes 0.38 MB of PSRAM besides its file and 49 KB of internal RAM, and runs at 0.58× real time on one core, speech events included; 8.5 KB of its task's 16 KB stack are never used. On a Home Assistant Voice PE with Wi-Fi and task_stack_in_psram: true: the model loads in 65 ms, takes 375 KB of PSRAM and 66.5 KB of internal RAM, 51 KB of DMA memory stays free, and it ran stable over 90 s.
Use
external_components:
- source:
type: git
url: https://github.com/alkove-ai/alkove
ref: esphome-v0.2.0
path: integrations/esphome/components
components: [alkove_spot]
psram:
mode: octal
speed: 80MHz
alkove_spot:
microphone: my_microphone # 16 kHz, 16 bits, one channel
words:
- text: ok Nabu
lang: en
- text: hey Jarvis
lang: en
on_wake_word_detected:
- voice_assistant.start:
wake_word: !lambda return wake_word;
The library and the model of the words' language are downloaded once from the esphome-v0.2.0 release and checked by their sha256.
words: a text and its language, compiled by Lex when ESPHome builds. Every word is in the same language: one language's Spot fits on the device, and words in two languages stop the build with an error.thresholds: {pause, anywhere}sets a word's own, else they are Spot's defaults for its language. A word can also be given compiled, asalkove-esphomeprints it:name,lang,phonemes(Lex's phoneme ids,p,french) andthresholds.context:pause(default, the word said after a pause: far fewer false alarms),anywhereorboth.log_scores: truelogs each second's best score above -3, to set a word's thresholds on the device.task_stack_in_psram: trueputs the task's 16 KB stack in PSRAM: internal RAM back for a device short of it, such as a Home Assistant Voice PE whose speaker cannot get its DMA buffers next to Wi-Fi.alkove_spot.start,alkove_spot.stopand the conditionalkove_spot.is_running, asmicro_wake_word's.speech: {confidence, exit_confidence, start, stop}withon_speech_startandon_speech_end: when someone starts and stops speaking, from Spot's speech head and the SDK's decision, with the SDK's defaults (0.7, 0.4, 200ms, 600ms).stop: 2sends a command after two seconds of silence, with no server.
example.yaml is the test board's configuration, with test_audio: a 16 kHz mono WAV run once at boot.
Build
alkove_esphome/ is the alkove-esphome package, which the component imports to compile the words. lib/ is the Rust library (alkove-spot-esp) behind a C ABI (include/alk_spot.h); components/alkove_spot/ links it with espressif/esp-nn and embeds the model. ./dist.sh path/to/models (espup's toolchain; <lang>/spot-q4.mcu for each language) builds the bundle into dist/alkove-spot-esp-<version>/ and writes its manifest to components/alkove_spot/bundle.json; bundle: dist/alkove-spot-esp-<version> takes a local one instead of the release, and model: and library: set the files one by one.
Metadata
Release files for alkove-esphome 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| alkove_esphome-0.2.0.tar.gz | 9.1 kB | With provenance | Details for alkove_esphome-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| alkove_esphome-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for alkove_esphome-0.2.0-py3-none-any.whl |
Total release size: 19.4 kB
Release files / alkove_esphome-0.2.0.tar.gz
| Download URL | alkove_esphome-0.2.0.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f000436be74317304b11b6267b8fa8583a2cc6da68b0d78e840c334414b26a17
|
|
BLAKE2b-256 checksum How to use checksums |
9d40ed9e719b562e80b5ddb5182180f919b2eb426438c769472f816476e62049
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / alkove_esphome-0.2.0-py3-none-any.whl
| Download URL | alkove_esphome-0.2.0-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2632be13a34dc6c60ba91fe1e54876b30fae3139bee37feccfbc3e3520ed8d88
|
|
BLAKE2b-256 checksum How to use checksums |
47228aa65d9b097d0ab664d4ae4c4f78e1b404388bf6cdb725360106854c2d77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logSecurity for alkove-esphome 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for alkove_esphome-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.