---
title: "PowerPilot case study: home energy on a Raspberry Pi"
description: "How Nexion built PowerPilot, a home energy manager that re-plans battery charging every 30 minutes and runs locally on a Raspberry Pi."
url: https://nexion.uk/work/powerpilot/
---

[OUR WORK](https://nexion.uk/work/) · CASE STUDY

# PowerPilot: home energy planning on a Raspberry Pi

PowerPilot is our home energy manager for people who built their own battery. It plans when to charge from the grid and when to run the house from the battery, and it runs on a Raspberry Pi in the home.

Nexion product · Live at [power-pilot.uk](https://power-pilot.uk/)

## The problem

A self-built home battery usually combines an inverter, one or more battery banks, solar panels and a time-of-use tariff, often from different makers. Getting value from it means deciding, every half hour, whether to charge, hold or discharge, and that depends on the tariff, the solar forecast, the weather and how much the house actually uses.

## What we built

- A plan for every half-hour slot over the next day or two, re-solved every 30 minutes from inverter and battery readings, the solar forecast, the weather and the tariff.
- An optimiser that works across all the slots at once, with a storm reserve that raises the battery reserve before severe weather.
- Tariff comparison that re-plans each candidate tariff against the house’s measured usage, standing charges included.
- Whole-site planning for several battery banks and inverters, with each bank’s protection limits turned into current limits the inverter must obey.

## Engineering decisions

- **Local first.** History, configuration and battery control stay on the Pi. Remote access is optional.
- **Talks to the hardware directly.** PowerPilot reaches batteries and inverters over CAN, RS485 or MQTT, including our [DIY Battery BMS](https://nexion.uk/work/diy-battery-bms/) firmware on Wi-Fi.
- **Plain about support.** The product site marks each battery and inverter driver as verified on real hardware or still needing verification. Battery capacity is reported as unknown until it has been measured.
- **Fits an existing smart home.** Home Assistant integration through MQTT discovery, and a live dashboard over WebSockets.

## Where this applies to your project

PowerPilot is the same kind of work as our [edge and hardware integration](https://nexion.uk/services/#edge) service: software on a small device on site, talking to equipment from several manufacturers and making decisions without depending on the cloud. Read the [IncidentHub case study](https://nexion.uk/work/incidenthub/) for the same approach at control-room scale.

## Building something that talks to hardware?

Tell us what the device is and what it has to connect to. We reply within two working days.

[Start a project](https://nexion.uk/contact/)
