Skip to main content

Voice-Controlled Smart Home with ReSpeaker XVF3800 and Home Assistant

Overview

Talk with smart spaces with new ReSpeaker XMOS XVF3800 with XIAO ESP32S3 switch up the lights, crank up the tunes, or even ask about the weather using voice

This chapter we will use the ReSpeaker XMOS XVF3800 with XIAO ESP32S3 HA Voice Assistant to connect the Sonoff smart switch to realize voice control of the light switch.

Hardware Required

ReSpeaker XVF3800 with XIAO ESP32S3Home Assistant DeviceSonoff BASICR2

Firmware update

To get the best playback experience, we need to update XMOS firmware to Download the firmware from here. On your computer, plug in the ReSpeaker XMOS XVF3800 with XIAO ESP32S3 and run the in our guide:

pir

note

The XVF3800 mic array needs a 12.288 MHz MCLK to work, but ESPHome (used in Home Assistant) can't generate it due to API limits. This firmware makes the XVF3800 act as the I2S master instead, so it can generate its own clocks without needing MCLK from the ESP32. Our firmware fixes this limitation, so the mic works properly with Home Assistant.

You can download Firmware From Here

The installtion guide is Here

Prepare ReSpeaker XMOS XVF3800 with XIAO ESP32S3

Go to Home Assistant > Settings > Add-ons.

pir

Click Add-on Store (usually at the bottom right)

pir

Under Official add-ons, search for and install ESPHome Device Builder.

pir

After installation, click Start to run the ESPHome add-on.

pir

Enable Start on Boot, Watchdog, and Show in Sidebar for easier access.

From the Home Assistant sidebar, go to ESPHome Builder.

Click + NEW DEVICE.

pir

pir

When prompted, click SKIP – we’ll create the configuration manually.

pir

Select your new device entry and click EDIT.

pir

Replace the content with your custom YAML configuration

You can Found the YAML file from Here

Once your YAML is saved, click INSTALL.

pir

Choose Manual Download

pir

Wait for the firmware to compile.

Download the generated .bin firmware file to your computer.

pir

Connect the ESP32-S3 board (with XVF3800 connected) to your PC using a USB Type-C cable.

Open Web-ESPHome in Chrome or Edge.

Click CONNECT and choose the appropriate serial port

pir

Once connected, click INSTALL

pir

Select the .bin file you just downloaded.

pir

Wait for the installation to complete (may take a few minutes).

After success, you’ll see a confirmation message.

pir

Return to Home Assistant > Settings > Devices & Services.

You should see ESPHome listed as a discovered integration.

Click CONFIGURE, then Submit to finish setup.

pir

Add your smart device

Set up the Sonoff BASICR2 device according to the manufacturer's user manual. You will need to create eWELink account.

Install HACS

If not already installed, follow the official guide to set up the Home Assistant Community Store:

Open HACS from the sidebar. Search for Sonoff LAN in the Search section.

pir

Click Install to add the integration. Restart Home Assistant to apply changes.

Sonoff

Navigate to Settings → Devices & Services. Click Add Integration. Search for and select Sonoff.

pir

Enter your eWeLink account credentials to authenticate.

pir

Once connected successfully, you will see the associated entities listed under: Settings → Devices & Services → Entities

pir

Voice Assistant with Nabu Cloud

In this demo, we are showcasing how to connect with Home Assistant Cloud (Nabu Casa) using voice. The setup is simple, and you can take advantage of a one-month free trial to explore its full capabilities. With the built-in wake word: “Okay Nabu”, you can effortlessly trigger voice commands and seamlessly integrate with devices and services anywhere, anytime — all without complex configurations.

pir

pir

Tech Support & Product Discussion

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

Loading Comments...