$13 voice assistant for Home Assistant


This tutorial will guide you to turn an ATOM Echo into the world’s most private voice assistant. Pick up the tiny device to talk to your smart home. Issue commands and get responses!

Prerequisites

Installing the software onto the ATOM Echo

Before you can use this device with Home Assistant, you need to install a bit of software on it.

  1. Make sure this page is opened in a Chromium-based browser on a desktop. It does not work on a tablet or phone.

    • Select the Connect button below. If your browser does not support web serial, you will see a warning instead of a button.

    • For advanced users: The configuration file is available on GitHub.

  2. To connect the ATOM Echo to your computer, follow these steps:

    • In the pop-up window, view the available ports.
    • Plug the USB-C cable into the ATOM Echo and connect it to your computer.
    • In the pop-up window, there should now appear a new entry. Select this USB serial port and select Connect.
    • Troubleshooting: If no new port shows, your system may be missing a driver. Close the pop-up window.
      • In the dialog, select the CH342 driver, install it, then Try again. Open My link
  3. Select Install Voice Assistant, then Install.

    • Once the installation is complete, select Next.
    • Add the ATOM Echo to your Wi-Fi:
      • When prompted, select your network from the list and enter the credentials to your 2.4 GHz Wi-Fi network.
      • Select Connect.
      • The ATOM Echo now joined your network. Select Add to Home Assistant.
  4. This opens the My link to Home Assistant.

    • If you have not used My Home Assistant before, you will need to configure it. If your Home Assistant URL is not accessible on http://homeassistant.local:8123, replace it with the URL to your Home Assistant instance.
    • Open the link. Open My link
  5. Select OK.

    Set up ESPHome

  6. To add the newly discovered device, select the ATOM Echo from the list.

    • Add your ATOM Echo to a room and select Finish.
  7. You should now see the ESPHome integration. New ESPHome device discovered

  8. Select the ESPHome integration. Under Devices, you should see the M5Stack Atom Echo listed. ATOM Echo discovered

  • Your ATOM Echo is connected to Home Assistant over Wi-Fi. You can now move it to any place in your home with a USB power supply.
  1. Congratulations! You can now voice control Home Assistant using a button with a built-in microphone. Now give some commands.

Controlling Home Assistant over the ATOM Echo

  1. Say your wake word. For this tutorial, use “OK, Nabu”.
    • Wait for the LED to start blinking in blue.
  2. Say a supported voice command. For example, Turn off the light in the kitchen.
    • While you are speaking, the blue LED keeps pulsing.
    • Once the intent has been processed, the LED lights up in green and Home Assistant confirms the action.
      • Make sure you’re using the area name exactly as you defined it in Home Assistant.
      • You can also ask a question, such as
        • Is the front door locked?
        • Which lights are on in the living room?
  3. Your command is not supported? Add your own commands using a sentence trigger.
  4. You find ATOM Echo takes too long to start processing your command?
    • Adjust the silence detection settings. This setting defines how much silence is needed for Assist to find you’re done speaking and it can start processing your command.
    • Go to Settings > Devices & Services and select the ESPHome integration.
    • Under M5Stack ATOM Echo, select 1 device. Open My link

Disabling wake word and use push-to-talk

  1. If you do not want to use a wake word, but prefer to use the microphone by pressing a button, you can disable the wake word.

  2. Go to Settings > Devices & Services and select the ESPHome integration.

    • Under M5Stack ATOM Echo, select 1 device.
  3. Disable Use wake word.

    Toggle to enable/disable wake word

  4. To start using push-to-talk, press the flat button with rounded shape on your ATOM Echo.

    • The rectangular button on the side is the reset button. Do not press that one.
    • As soon as you press the button, the LED will start blinking in blue. If it does not light up, press again.
    • While you are speaking, the blue LED is pulsing.
    • Once the intent has been processed, the LED lights up in green and Home Assistant confirms the action.

Troubleshooting

Are things not working as expected?

Related topics