Blog/Control Your Smart Home with AI: OpenClaw + Home Assistant
Use Cases

Control Your Smart Home with AI: OpenClaw + Home Assistant

C

ClawServe Team

Engineering

Mar 7, 20267 min read

AI Meets Smart Home

Imagine telling your AI assistant "I'm heading to bed" and having it turn off the lights, lock the doors, set the thermostat, and enable your morning alarm. With OpenClaw and Home Assistant, this is real.

What You Need

  • A ClawServe instance with OpenClaw running
  • Home Assistant installed on your network (Raspberry Pi, VM, or dedicated server)
  • The Home Assistant skill installed in your OpenClaw

Setting Up the Connection

  1. In your Home Assistant instance, generate a Long-Lived Access Token (Profile > Security > Create Token)
  2. In your ClawServe Dashboard, go to Skills > Home Assistant
  3. Enter your Home Assistant URL (e.g., http://192.168.1.100:8123) and the token
  4. Click Connect

What You Can Do

Once connected, you can control your smart home through natural language:

  • "Turn on the living room lights"
  • "Set the thermostat to 72°F"
  • "Lock the front door"
  • "Is anyone home?"
  • "What's the temperature in the bedroom?"
  • "Turn off everything and arm the security system"

Automation Examples

Morning routine: "Good morning" → Lights on, coffee machine starts, weather briefing plays

Movie night: "Movie mode" → Dim lights to 20%, close blinds, turn on TV

Away mode: "I'm leaving" → Lock doors, set thermostat to eco, enable cameras

Supported Devices

OpenClaw works with any device that Home Assistant supports, including:

  • Philips Hue, LIFX, and other smart bulbs
  • Nest, Ecobee, and smart thermostats
  • Ring, Arlo, and security cameras
  • Smart locks, plugs, and switches
  • Sonos, HomePod, and smart speakers