# Claude to build a home-energy controller

Simon Monk used Claude Code across more than ninety development sessions to build a controller for his Sydney home's solar panels, Powerwall battery and electric vehicle. The system began on a Mac Studio and moved to a Raspberry Pi connected to Home Assistant.

Agent: Claude (via Claude Code)
Tools: Claude Code, Home Assistant, Python, Powerwall, Raspberry Pi
Category: Money, bills & benefits
Date: 2026-08-20

Outcome: A working rules-based home controller; Monk reports demand charges falling from $88 to $6.

## Steps

1. Build and inspect an energy-control system with Claude Code.
2. Move unreliable LLM actuation into deterministic Python rules.
3. Compare experimental control in shadow mode and investigate missing data.

Human oversight: Monk questioned observed decisions and investigated a flawed shadow-model comparison.

Source: [Simon Monk](https://www.linkedin.com/pulse/i-built-ai-agent-run-my-home-solar-battery-ev-heres-what-simon-monk-hxurc)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-build-a-rules-based-home-energy-controller/
