Back to Use Cases
๐Ÿก
Multi-platform

Home Assistant AI Integration

This OpenClaw multi-platform use case runs a persistent 24/7 assistant on Home Assistant, providing smart-home control and proactive household routines.

Home Assistant AI Integration themed illustration with smart home hub icons and connected device nodes.

"OpenClaw truly is next level - haven't been this excited about AI in a long time! Spent the whole weekend setting it up, now my sassy AI assistant Amy is finally running persistently on my Home Assistant box."

@WolframRvnwlf

๐Ÿ“– Overview

Run OpenClaw directly on your Home Assistant server for a truly integrated smart home AI. Your assistant runs 24/7, controls all HA devices, and can be customized with its own personality. The walkthrough covers prerequisites, setup order, and practical commands so you can move from first run to repeatable production use. Steps are tailored for Multi-platform workflows with clear checkpoints that reduce hidden dependencies. Use the outcomes and pro tips sections to improve reliability, cut manual effort, and adapt the flow to your team.

๐Ÿ“‹ Requirements

  • Home Assistant server running
  • Node.js 22+ on HA device
  • Claude API key
  • Messaging platform for interaction

๐Ÿš€ Step-by-Step Guide

1

Step 1: Install OpenClaw on Home Assistant

SSH into your Home Assistant and install OpenClaw.

Terminal
npm install -g openclaw@latest
2

Step 2: Configure Home Assistant integration

Connect OpenClaw to Home Assistant's API.

Terminal
openclaw config set homeassistant.url http://localhost:8123
3

Step 3: Set up as a service

Configure OpenClaw to run persistently on boot.

4

Step 4: Customize personality

Give your assistant a unique personality in the system prompt.

Config
system_prompt: |
  You are Amy, a sassy but helpful AI assistant.
  You control the smart home and have a witty personality.
5

Step 5: Connect messaging

Link WhatsApp, Telegram, or other platforms for remote access.

โœ… Results

24/7 AI assistant on local hardware
Deep Home Assistant integration
Personalized AI with custom personality
No cloud dependency for home control

๐Ÿ’ก Pro Tips

  • โ†’ Use a Raspberry Pi 4 or better for smooth performance
  • โ†’ Set up voice control via Home Assistant
  • โ†’ Create automations triggered by AI decisions

Ready to Get Started?

Install OpenClaw and set up this workflow in minutes