openclaw raspberry pi self-hosted budget voice assistant home automation brabble

Running OpenClaw on a Raspberry Pi (Budget AI Assistant)

Build a $50 AI assistant with a Raspberry Pi and OpenClaw. Step-by-step setup, performance expectations, voice wake words, and home automation — the ultimate budget project.

Running OpenClaw on a Raspberry Pi (Budget AI Assistant)

TL;DR: A Raspberry Pi makes a surprisingly capable OpenClaw gateway. It won't run local AI models, but it handles the networking, messaging, and voice wake word detection perfectly. Total cost: ~$50 hardware + whatever you pay for API calls.


Why a Pi?

The Raspberry Pi is a tiny, silent, always-on computer that draws about 5 watts. That makes it perfect for one very specific job: running OpenClaw as a gateway that connects your messaging apps to cloud AI providers.

You're not running Claude or GPT locally on a Pi. You're running the orchestration layer — the part that listens for messages, routes them to Anthropic or OpenAI's API, and delivers responses back. The Pi handles this beautifully.

Think of it like a home router for AI. It doesn't do the heavy processing itself — it just makes sure everything talks to everything else.


What You Need

Hardware

Component Recommended Minimum
Board Raspberry Pi 5 (4GB) Raspberry Pi 4 (4GB)
Storage 32GB microSD (or USB SSD) 16GB microSD
Power Official USB-C power supply Any 5V/3A USB-C
Case Any passive-cooled case Optional but recommended
Mic USB microphone (for voice) Not needed for text-only
Speaker 3.5mm or USB speaker (for TTS) Not needed for text-only

The Pi 5 is worth the extra $20. It's noticeably faster for Node.js workloads, and the improved I/O means fewer random slowdowns.

Skip the Pi 3. It technically works but has only 1GB RAM and struggles with Node 22+.

Cost Breakdown

  • Raspberry Pi 5 (4GB): ~$60
  • microSD card (32GB): ~$8
  • Power supply: ~$12
  • Case: ~$10
  • Total: ~$90 (or ~$50 if you use a Pi 4 and skip the case)

Plus ongoing: API costs for your AI provider. Expect $5-30/month depending on usage. See our API costs guide for details.


Setup

1. Flash Raspberry Pi OS

Use the Raspberry Pi Imager to flash Raspberry Pi OS Lite (64-bit) onto your microSD card. The Lite version is headless — no desktop environment, which is exactly what you want for a server.

In the Imager settings, enable SSH, set your username/password, and configure WiFi. This saves you from needing a monitor and keyboard.

2. Install Node.js 22+

OpenClaw needs Node.js 22 or newer. The default Raspberry Pi OS repos have an older version, so use NodeSource:

curl -fsSL https://deb.nodesource.com/setup_22.x | sudo bash -
sudo apt-get install -y nodejs
node --version  # Should show v22.x.x

3. Install OpenClaw

npm install -g openclaw
openclaw onboard

The onboard wizard walks you through:

  • Choosing your AI provider (Anthropic recommended)
  • Setting up your API key
  • Connecting a messaging channel (Telegram, Discord, WhatsApp)

4. Run as a Service

You want OpenClaw to start on boot and restart if it crashes:

openclaw service install
openclaw gateway start

That's it. Your Pi is now an always-on AI assistant.


Performance Expectations

Let's be honest about what a Pi can and can't do.

What works great:

  • Gateway operations (message routing, API calls)
  • Telegram, Discord, and WhatsApp connections
  • Voice transcription forwarding (send audio to Groq's API)
  • Heartbeat checks and cron jobs
  • File-based memory (reading/writing MEMORY.md, daily notes)

What's slow but works:

  • Processing large file uploads (PDFs, images)
  • Running multiple simultaneous conversations
  • Web fetching and scraping

What you shouldn't try:

  • Running local AI models (Ollama, llama.cpp) — a Pi doesn't have the RAM or compute
  • Heavy browser automation — Chromium on a Pi is painful
  • Anything GPU-accelerated

The key insight: the Pi is a gateway, not a compute node. It sends your messages to Claude or GPT via API and delivers responses back. The heavy lifting happens in Anthropic's or OpenAI's data centers, not on your desk.

Response times are typically 1-3 seconds for simple queries, which is mostly the API latency — not the Pi being slow.


Voice Wake Word Setup

This is where it gets fun. With a USB microphone and the brabble wake word engine, you can do Star Trek-style "Hey Computer" activation.

# Install brabble
npm install -g brabble

# Configure wake word
brabble init --wake-word "hey computer"

Brabble runs locally on the Pi, listening for the wake word without sending audio to the cloud. Once triggered, it starts recording and pipes your voice to OpenClaw for transcription and response.

Pair it with ElevenLabs TTS (or free Edge TTS), and you've got a voice-first AI assistant sitting on your nightstand.

Tip: Position the microphone away from the speaker to reduce feedback loops. A directional USB mic works better than the cheap omnidirectional ones.


Home Automation

A Pi running OpenClaw naturally pairs with home automation. If you're already running Home Assistant on the same network, you can control your smart home through natural language via Telegram:

"Turn off the living room lights" "Set the thermostat to 20°C" "What's the temperature in the bedroom?"

This works through MCP (Model Context Protocol) integration or custom skills that call the Home Assistant API. See our home automation guide for the full setup.

Even without Home Assistant, you can write simple skills that control smart plugs, lights, or any device with an API.


Tips for Pi-Specific Issues

Use a USB SSD instead of microSD. SD cards wear out from constant writes (logs, memory files). A cheap USB SSD is faster and lasts longer. Boot from USB via raspi-config.

Monitor temperature. Under load, a Pi 5 without active cooling can thermal throttle. A case with a heatsink or small fan keeps it stable:

vcgencmd measure_temp  # Check current temp

Set up log rotation. OpenClaw logs can fill a small SD card fast:

sudo nano /etc/logrotate.d/openclaw

Use WiFi, but prefer Ethernet. WiFi works fine, but a wired connection means fewer random disconnections — especially important for WebSocket-based channels like Discord.


The Bottom Line

A Raspberry Pi won't replace a proper server for heavy workloads. But for a personal AI assistant that handles messaging, voice, and home automation? It's genuinely hard to beat the value.

$50-90 in hardware, $5-30/month in API costs, and you've got an always-on AI assistant that fits in your palm.

Don't want to manage server infrastructure? lobsterfarm provides managed OpenClaw hosting. But if you enjoy the build, a Pi project is deeply satisfying.

Get started with lobsterfarm → · API costs explained →

Skip the setup. Start using your AI assistant today.

lobsterfarm gives you a fully managed OpenClaw instance — one click, your own server, running 24/7.