Skip to content
HardwareLab

XiaoZhi to Home Assistant (MCP)

HACS custom integration that links the XiaoZhi ESP32 AI chatbot to Home Assistant over MCP so the voice bot can control devices.

Hardware:
XiaoZhi ESP32 device, Home Assistant server
Difficulty:
Intermediate
Creator:
mac8005

Control your home from a XiaoZhi ESP32 bot.

XiaoZhi to Home Assistant (MCP)
No photo in the source; GitHub repository card, served from HardwareLab.

By mac8005

What it does

HACS custom integration that links the XiaoZhi ESP32 AI chatbot to Home Assistant over MCP so the voice bot can control devices.

What you need

Difficulty
Intermediate
License
No license stated

Parts

  • XiaoZhi ESP32 device (board)
  • Home Assistant server
AI model or service
XiaoZhi LLMs, MCP

Full build guide

Full instructions: View original

How it works

XiaoZhi's LLM calls Home Assistant entities exposed through MCP.

Like this build? Get the weekly builds

Every Thursday: the 5 best gadget hacks you can copy. Free.

Built something? Submit a build

Hardware

  • XiaoZhi ESP32 device
  • Home Assistant server

More ESP32 builds

This page is a short summary written by HardwareLab. Build steps, code and photos belong to the creator; follow “View original” for the full project.

Featured? Add this badge

Built this? Paste the badge into your README. It links back to this page.

Featured on HardwareLab

Markdown

[![Featured on HardwareLab](https://hardwarelab.dev/badge.svg)](https://hardwarelab.dev/projects/xiaozhi-ha-mcp/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w)

HTML

<a href="https://hardwarelab.dev/projects/xiaozhi-ha-mcp/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w"><img src="https://hardwarelab.dev/badge.svg" alt="Featured on HardwareLab" width="188" height="20"></a>
All 14 in Smart Home
  • Koala Satellite

    A premium ESP32-S3 + XMOS voice satellite for Home Assistant.

    • ESP32-S3 DevKitC
    • ReSpeaker Lite XU316
    • LED strip
    Intermediate163
  • Sticky Remote

    A reTerminal Sticky becomes a dedicated e-ink Apple TV and lights remote through Home Assistant.

    • Seeed reTerminal Sticky (ESP32-S3, 3.97-inch 800×480 touch e-paper, 750 mAh battery, magnet back)
    • USB-C cable
    • Apple TV or another Home Assistant media_player
    • +1 more
    Beginner · Our suggestion6
  • 3D Home TV OS

    A Google TV home screen that is a live 3D model of your home, with the lights wired in and no ads.

    • Google TV or Android TV (tested on a Philips Google TV)
    • Philips Hue or other Home Assistant lights
    • iPhone or iPad Pro with LiDAR (optional, for the scanner app)
    • +1 more
    Advanced · Our suggestion59