This repository contains the ESPHome configuration for the M5Stack Atom Echo, a compact voice assistant device powered by ESP32.
- Voice Assistant Integration: Supports Home Assistant voice assistants with wake word detection.
- On-Device Wake Words: Includes models for "Okay Nabu", "Hey Mycroft", and "Hey Jarvis" with adjustable sensitivity.
- Wake Sound: Optional audio feedback when wake word is detected (before voice assistant starts).
- LED Indicators: Visual feedback for different states (listening, processing, errors).
- Timer Functionality: Built-in timer with audio alerts.
- OTA Updates: Over-the-air firmware updates via ESPHome or HTTP.
- Home Assistant Integration: Full API integration with encryption.
- M5Stack Atom Echo
- USB-C cable for flashing
- Visit the project website (built via GitHub Pages).
- Connect your M5Stack Atom Echo via USB.
- Click "Install" and follow the prompts.
- Install ESPHome:
pip install esphome - Clone this repository:
git clone https://github.com/DoYouHost/M5Stack_Atom_Echo.git - Navigate to the directory:
cd M5Stack_Atom_Echo - Compile and upload:
esphome run m5stack_atom_echo.yaml
The device supports playing a wake sound when a wake word is detected:
- Enable Wake Sound: In Home Assistant, toggle the "Use wake sound" switch.
- Customize Sound:
- Export your audio file from Audacity as WAV:
- Sample rate: 16000 Hz
- Bit depth: 16-bit PCM
- Channels: Mono (recommended)
- Add the file to the
sounds/directory. - Update the
m5stack_atom_echo.yamlfile to include your sound file in themedia_playersection. - Commit and push changes to trigger a firmware update.
- Export your audio file from Audacity as WAV:
Adjust wake word sensitivity via the "Wake word sensitivity" select in Home Assistant:
- Slightly sensitive
- Moderately sensitive (default)
- Very sensitive
Choose where wake word processing occurs:
- On device: Local processing (default, more responsive)
- In Home Assistant: Server-side processing (requires Home Assistant setup)
This project is licensed under the MIT License - see the LICENSE file for details.
For issues and questions:
- Check the Issues page
- ESPHome documentation: https://esphome.io/
- M5Stack documentation: https://docs.m5stack.com/en/atom/atomecho/