Skip to main content

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, Italian, Portuguese, Catalan or Romanian, with no training and no recording. Spot runs in 4 bits (2.9 MB, read in place from PSRAM) with the SDK's wake word search, and 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-esphome Python package where ESPHome runs: pip install alkove-esphome, or uvx --with alkove-esphome esphome run …. Where it cannot be installed (ESPHome's Home Assistant add-on), uvx alkove-esphome "ok Nabu" --lang en on any computer prints the word compiled, to paste under words:.

Measured on a bare ESP32-S3-N16R8 set like the Home Assistant Voice PE (its caches, code and fixed data in PSRAM), ESPHome 2026.10: the model loads in 76 ms, takes 0.48 MB of PSRAM besides its file and 50 KB of internal RAM, and runs at 0.81× real time on one core. Not yet tried on a Voice PE itself, where PSRAM is tight next to its firmware: tell me if you do.

Use

external_components:
  - source:
      type: git
      url: https://github.com/alkove-ai/alkove
      ref: esphome-v0.1.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: salut maison
      lang: fr
  on_wake_word_detected:
    - voice_assistant.start:
        wake_word: !lambda return wake_word;

The library and the model are downloaded once from the esphome-v0.1.0 release and checked by their sha256.

  • words: a text and its language (or a list of them), compiled by Lex when ESPHome builds. thresholds: {pause, anywhere} sets a word's own, else they are Spot's defaults for its language. A word can also be given compiled, as alkove-esphome prints it: name, phonemes (Lex's phoneme ids, p, french) and thresholds.
  • context: pause (default, the word said after a pause: far fewer false alarms), anywhere or both.
  • log_scores: true logs each second's best score above -3, to set a word's thresholds on the device.
  • alkove_spot.start, alkove_spot.stop and the condition alkove_spot.is_running, as micro_wake_word's.

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/spot-q4.mcu (espup's toolchain) 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.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alkove-esphome 0.1.0
File Size Uploaded Provenance Actions
alkove_esphome-0.1.0.tar.gz 8.5 kB With provenance Details for alkove_esphome-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for alkove-esphome 0.1.0
File Interpreter ABI Platform Actions
alkove_esphome-0.1.0-py3-none-any.whl Python 3 none any Details for alkove_esphome-0.1.0-py3-none-any.whl

Total release size: 18.3 kB

Release files / alkove_esphome-0.1.0.tar.gz

Download URL alkove_esphome-0.1.0.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4d4e524a05f5cb950d8d1d27edab2b64c74e879b0e30ffcbfa43abd16c12c77e
BLAKE2b-256 checksum
How to use checksums
3fc3f381e705a89fcfd7288ec6afc5ae6d3d54c36d540866f968f7ba7ddf8f2f
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 Oct 29, 2026.

Transparency log

Release files / alkove_esphome-0.1.0-py3-none-any.whl

Download URL alkove_esphome-0.1.0-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0646ab773d710a6dc8cd803f2f19965c855be3a6bfb511d6d429020a10892794
BLAKE2b-256 checksum
How to use checksums
90c90d96b3dcc75501a533db5e5fcfcb27102b1f36cca470d936f55894097bb2
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 Oct 29, 2026.

Transparency log

Security for alkove-esphome 0.1.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.

Select from 2 files

Attestation for alkove_esphome-0.1.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 Oct 29, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page