Home automation
My house is a hobby project. Here is how its power flows, and which parts decide how everything runs. Home Assistant sits in the middle and ties it together. Hover over a cog to see the logic.
My house is a hobby project. Here is how its power flows, and which parts decide how everything runs. Home Assistant sits in the middle and ties it together. Explore its connections below.
Smart home
- Power
- Data & control
- Hover for the logic
Runs on a Raspberry Pi
- Swipe sideways to see it all
Follow the arrows to see what connects. Tap a logic note for the details. Pi badges show the Raspberry Pi 4 and its memory.
- Power
- Data & control
- Two-way
Power & energy
From the grid and solar panels to the devices that use or store energy.
- ZonneplanGrid · dynamic tariff
HomeWizard P1Smart energy meter
- EnphaseSolar panels
HomeWizard P1Smart energy meter
- HomeWizard P1Smart energy meter
EaseeEV charger
- EaseeEV charger
Volvo EX30Electric carCharging plans
evcc controls the Volvo's charging plans on a schedule, which it gets from a calendar in Home Assistant.
- HomeWizard P1Smart energy meter
Heat pumpHot water & heating - HomeWizard P1Smart energy meter
BatteryHomeWizard
Smart charging
Home Assistant shares sensor data. evcc decides when to charge.
- Home AssistantAutomation hub
Pi 4 · 16 GB
evccSmart chargingPi 4 · 16 GB
Excess solar detection
Home Assistant forwards the HomeWizard P1 sensor data to evcc, which uses it to detect excess solar.
- evccSmart charging
Pi 4 · 16 GB
EaseeEV charger
Smart EV charging
evcc charges the Volvo directly through the Easee: on the cheapest hours, or when there is excess solar.
- evccSmart charging
Pi 4 · 16 GB
BatteryHomeWizard
Smart battery charging
evcc controls the battery directly. It manages excess solar power in the battery and charges it based on dynamic energy prices.
Home & comfort
Meter readings, lighting, heating, cleaning and long-term sensor data.
- Home AssistantAutomation hub
Pi 4 · 16 GB
InfluxDBLong-term dataPi 4 · 16 GB
Long-term analysis
InfluxDB keeps Home Assistant's sensor data for long-term analysis, for example the heat pump's SCOP (4.3).
- HomeWizard P1Smart energy meter
Home AssistantAutomation hubPi 4 · 16 GB
- Home AssistantAutomation hub
Pi 4 · 16 GB
Philips HueLighting
Smart lighting
Home Assistant controls the Philips Hue lights. They run on a schedule and on a light sensor.
- Home AssistantAutomation hub
Pi 4 · 16 GB
HeatBoosterRadiator fans · MQTT
- Heat pumpHot water & heatingHeatBoosterRadiator fans · MQTT

Radiator fans
Home Assistant controls the radiator fans. When extra heat is needed they spin faster; when the heat pump is defrosting they stop spinning.
- Home AssistantAutomation hub
Pi 4 · 16 GB
RoborockRobot vacuum
Extra cleaning cycle
When we leave home, Home Assistant starts an extra cleaning cycle on the Roborock.
- Home AssistantAutomation hub
Pi 4 · 16 GB
Heat pumpHot water & heatingSmart hot water
On the cheapest hours or on excess solar, evcc calls the Home Assistant API. Home Assistant then controls the heat pump's hot water generation.
Network & presence
Internet and Wi-Fi, with presence information for Home Assistant.
- StarlinkInternet
OpenWrtRouterPi 4 · 2 GB
Latency tuning
The router runs OpenWrt with cake-autorate, which optimizes latency on Starlink.
- OpenWrtRouter
Pi 4 · 2 GB
UniFiWi-Fi
Pi 4 · 16 GB
- UniFiWi-Fi

Pi 4 · 16 GB
Home AssistantAutomation hubPi 4 · 16 GB
Home presence
Home Assistant uses the Wi-Fi to detect who is home, based on which phones are connected to it.
Home Assistant, evcc, UniFi and InfluxDB share a 16 GB Raspberry Pi 4 running DietPi. They use Docker Compose, managed by Portainer. OpenWrt runs on a separate 2 GB Raspberry Pi 4.