Decarbonarma ← Back to Decarbonarma

Homey Energy Automation

A beginner's guide to Octopus Energy, myenergi Zappi/Eddi, and swapping out the Sonnen cards for your own inverter

This guide is built from a real, currently-running Homey Pro setup: solar, a Sonnen battery, myenergi Zappi and Eddi, and Octopus Energy tariffs via the Kraken Energy app. Every screenshot below is taken directly from the live Flow editor — nothing here is a mock-up.

If you don't have a Sonnen battery, that's fine — only a handful of cards in a handful of flows are Sonnen-specific. This guide flags exactly which ones, explains what each is doing in plain English, and walks through swapping them for whatever inverter or battery you actually own.

8 real flows, screenshotted 14 supported inverter/battery brands Sonnen → any-inverter cheat sheet Attaching Claude via MCP

1. Homey basics, for beginners

Homey is a home-automation hub. "Homey Pro" is a physical box that talks Zigbee, Z-Wave, Wi-Fi, Bluetooth and Matter directly and runs your automations locally; "Homey Cloud" is the hub-free, cloud-hosted version. Either way, the concepts below are the same, and both are managed from the same web app (my.homey.app) and phone app.

The four things you need to know

  • Devices — anything Homey can read a value from or send a command to. Most are physical (a thermostat, an EV charger), but plenty aren't: an Octopus tariff, a solar forecast, or a Sonnen battery's grid meter all show up as "devices" too.
  • Apps — the integrations, installed from the Homey App Store (homey.app), that add those devices. One app per brand or service: one for Octopus (via Kraken), one for myenergi, one for your inverter.
  • Zones — groupings for devices, usually rooms, but also useful as logical groupings (this system uses a "Power" zone for everything energy-related and an "Octopus" zone for tariff devices — see the screenshots below).
  • Flows — the automations. A Standard Flow is one trigger → a list of AND conditions → a list of actions. An Advanced Flow is a visual canvas: branching logic, delays, multiple outputs and sticky notes. Every screenshot in this guide is an Advanced Flow.

Getting started from zero

  1. Create a Homey account and set up your hub (Pro) or Cloud instance.
  2. Install the app for each thing you own: your energy supplier (Octopus, via the Kraken Energy app), your EV charger (myenergi), your inverter/battery (see the supported-systems list in section 3).
  3. Let each app discover your devices, or add them manually with your account/IP details.
  4. Rename devices to something sensible and drop them into a zone — this system's "Power" zone is shown below.
  5. Only once your devices exist and show live values should you start building flows.
The Power zone in Homey, showing Car Charger, Enphase solar, Forecast.Solar, Garage Charger 1, Hot water, Solar Garage Roof, Solar Main Roof and the four sonnenBatterie devices

The "Power" zone: this is where every energy device lives — Zappi ("Car Charger"), Eddi ("Hot water"), the solar/Forecast.Solar sensors, and the four Sonnen devices (battery, grid, household, solar panel). Four of these ten tiles are Sonnen-specific — the rest are universal.

The Octopus zone in Homey, showing Export Tariff, Import Tariff, Myenergi zappi (all models), Octopus Account and Unknown Device

The "Octopus" zone: Import Tariff, Export Tariff and Octopus Account all come from the Kraken Energy app; "Myenergi zappi (all models)" is a linking device it creates so it knows which charger to schedule Intelligent Octopus Go dispatches against.

2. Installing the apps: Octopus (via Kraken), myenergi, and your inverter

Octopus Energy — via the Kraken Energy app

This system reads Octopus tariffs and dispatch data through the Kraken Energy app (com.kraken.energy) — not the separate community "Octopus Energy Integration" app. Kraken is the name of Octopus's own backend technology platform, and this app talks to it directly.

  • Requires a physical device — an Octopus Home Mini — to pull live meter readings.
  • Tracks both electricity import and export consumption, and tariff pricing changes throughout the day, including price-quartile bands (used by the "Car charging Kraken v4" flow below).
  • Provides account status tracking (balance, invoices) and supports smart-device dispatch scheduling for Intelligent Octopus Go customers.
  • Does not support gas consumption data.
Alternative: the separate community "Octopus Energy Integration" app (unofficial, uk.co.zarb.octopusenergy) covers a broader set of tariffs — Agile, Tracker, Economy 7, Outgoing export — with more flow-card triggers (price drops, negative pricing, carbon intensity, Saving Sessions) but works over the cloud API rather than through an Octopus Home Mini. Worth a look if Kraken Energy doesn't cover your tariff.

myenergi (Zappi / Eddi / Harvi / Libbi)

The myenergi app (net.biseth.myenergi) covers all four myenergi products in one integration:

  • Zappi — EV charger: start/stop, charge mode (Eco/Eco+/Fast), boost, lock state.
  • Eddi — solar power diverter for a hot water tank (or other resistive load): on/off, how much power is being diverted, heater status.
  • Harvi — wireless CT-clamp power sensor.
  • Libbi — myenergi's own battery, with mode control.

Requires Homey v12.4.5+, and a myenergi hub/cloud account. In this system the Zappi shows up as a device named "Car Charger" and the Eddi as "Hot water" — worth renaming yours the same way so the flow screenshots below make sense at a glance.

Your solar inverter or battery

This is the one app that's different for everyone. Install whichever app matches your own inverter or battery brand — see the full list in section 3 — and get its devices live before touching any flow. If your brand doesn't have a dedicated app, a Homey Energy Dongle paired with your smart meter's P1 port will still give you a live import/export power reading to build on.

3. Solar inverters and battery systems supported by Homey

Coverage below reflects what's currently in the Homey App Store and community forum. Most of these are unofficial, community-maintained apps — quality, whether they need local LAN access vs. a cloud account, and exactly which flow cards they expose (does it just report values, or can it actually change operating mode / set a charge schedule?) varies by app. Check the app's own Homey Community Forum thread before assuming feature parity with what's shown in this guide.

BrandCoversApp typeNotes
SonnensonnenBatterie (hybrid inverter + battery)CommunityLAN, requires enabling Sonnen's write API on the unit. What this system runs today.
SolarEdgeHome Hub inverter range; SolarEdge Home BatteryOfficial + community (Modbus)Two apps available — cloud (com.solaredge) and local Modbus.
EnphaseIQ8-series microinvertersOfficial-ish + community "Enphase Controller"Needs Envoy/Enlighten API credentials. Already used for this system's second solar array.
GivEnergyInverter + batteryCommunity (io.jak.givenergy)Local LAN, no cloud account needed. EV chargers not supported by this app.
SigenergySigenStor inverter + battery + EV chargerCommunity (com.sigenergy)Local Modbus TCP, no cloud account.
TeslaPowerwallCommunity (com.tesla.energy)Cloud account required.
GrowattMIN-series inverter; ARK-series batteryCommunitySee Homey's Solar & Battery best-buy guide.
FroniusGEN24 PlusCommunity
GoodWeDNS seriesCommunity
SMA EnergySunny Boy Smart Energy inverter; SMA Home Storage batteryCommunity
SolaxX1-series inverter; Triple Power batteryCommunity
SungrowSG-series inverter; SBR/SBH batteryCommunity
LG / BYDRESU / RESU Prime; Battery-BoxVaries by pairingUsually integrated via the paired inverter's own app rather than standalone.
No dedicated app?Any inverter behind a P1 smart meterHomey Energy DongleGives a live import/export power reading you can build export-ceiling and solar-surplus flows on, even with zero brand-specific integration.

4. The example flows, one by one

Each flow below is a screenshot straight from the Flow editor (my.homey.app → the Flow icon in the left-hand rail → pick a folder). Every card is labelled with which app owns it, so you can tell at a glance whether a card is Sonnen-specific (needs swapping) or universal (myenergi / Octopus via Kraken / Forecast.Solar — copy as-is).

Zappi ON/OFF

Copy as-is

No Sonnen involvement at all. At 23:15 it turns the Zappi on, waits 10 seconds, sets the charge mode to ECO_PLUS, and pushes a phone notification. At 08:00 it turns the Zappi off and notifies. At 23:20 it double-checks the Zappi actually turned on and retries if not — a simple reliability pattern worth copying regardless of your setup.

Zappi ON/OFF flow diagram

Every card here is myenergi ("Car Charger") or the built-in Date & Time / Mobile cards.

EDDI ON/OFF

Copy as-is

A safety-net flow: at 18:00 and 23:20 it checks whether the Eddi is already on. If it is, it sends a "ready to heat" notification. If it isn't, it turns the Eddi on and sends a "was off, turning on" notification. Currently disabled on this system, but a handy pattern for any Eddi owner.

EDDI ON/OFF flow diagram

Entirely myenergi ("Hot water") cards plus Homey's own Timeline notification card.

IOG Heating Control

Copy as-is

Driven entirely by Octopus's Intelligent Octopus Go dispatch signals (read via the Kraken Energy app): when cheap-rate dispatch starts and it's winter, the air-conditioning units switch to heating at 21°C and the gas boiler thermostat drops to a 16°C standby; when dispatch ends, it reverses. A safety trigger forces heat on immediately if the living room drops below 16°C regardless of season or tariff slot, and a solar override forces heating (and drops the gas boiler to standby) on any winter day where tomorrow's forecast tops 20 kWh. No Sonnen, no myenergi — just Octopus dispatch pricing plus your own heating devices.

IOG Heating Control flow diagram

Driven by the Kraken Energy app's "Dispatch Pricing Starts/Ends" triggers (purple icon) plus a solar-forecast override and a temperature safety net.

Energy Flow

Mixed — 1–2 cards to swap

The core load-shedding logic. When the Sonnen grid meter reports the house exporting more than 5.5 kW, it turns the Eddi ("Hot water") on. When export holds past 5.8 kW for two minutes, it layers on the Zappi, then a second EV charger, checking each is already running before adding the next. When the Sonnen battery's charge/discharge power crosses back above –3,000 W (i.e. it stops needing that much extra load), it sheds the chargers again in reverse. Only the left-hand trigger cards ("sonnenBatterie grid", "sonnenBatterie battery") are brand-specific — everything downstream (Eddi, Zappi, second charger) is universal.

Energy Flow diagram

The two dark "sonnenBatterie grid/battery" cards on the left are the only Sonnen-specific pieces; the green/blue myenergi cards on the right need no changes.

Export Max — 6kW Ceiling Push

Mixed — 1 card to swap

A more aggressive cousin of Energy Flow: it waits for export to hold below –5.9 kW for 90 seconds (i.e. pushing right up against a 6 kW export ceiling) before cascading through hot water, then the Zappi, then the second charger, aiming to use the full allowance rather than just shedding the excess. The 6 kW figure here matches this property's own G99/G100 DNO export agreement — don't copy the number, use whatever your own DNO has agreed for your connection. Only the initial "sonnenBatterie grid" trigger is brand-specific.

Export Max 6kW Ceiling Push flow diagram

One Sonnen trigger card, then an all-myenergi cascade.

Battery reset

100% Sonnen — full rebuild

This is the flow with no universal cards at all. At 23:25 it switches the Sonnen battery into "Time-of-Use" operating mode and sets a charge window (23:30–05:30, up to 20,000 W) so the battery grid-charges overnight on the cheap rate instead of just running on self-consumption. At 06:09 it switches back to "Self consumption" mode and, as a belt-and-braces step, does the same again at 23:35/23:25 with a slightly different window. The underlying idea — force a grid-charge window overnight, hand control back in the morning — applies to almost any hybrid inverter; the exact card names ("operating mode", "Time-Of-Use") are Sonnen's own vocabulary and won't exist verbatim in another brand's app.

Battery reset flow diagram

Every card is "sonnenBatterie battery". This is the flow to focus on when adapting for your own inverter (see section 5).

Car charging Kraken v4

Mixed — 4 cards to swap

Listens for the Kraken Energy app's Import Tariff price-quartile to change. If the new quartile is exactly 0 (the cheapest quartile) and it's currently between 23:30 and 05:30, it sets the Sonnen battery to a Time-of-Use overnight charge window; if the quartile rises above 0 at any time, it resets the Time-of-Use schedule so the battery goes back to normal self-consumption behaviour. The trigger and the pricing logic are 100% Octopus/Kraken and portable to any inverter; only the four "sonnenBatterie battery" action cards on the right need substituting.

Car charging Kraken v4 flow diagram

Purple Kraken Energy "Import Tariff" triggers and a green Logic card on the left feed into Sonnen-specific Time-of-Use actions on the right.

Solar-First Charge Controller

Mixed — 1 card to swap

The most elaborate flow here, and mostly brand-agnostic. It uses Forecast.Solar (a free, inverter-independent forecasting app) to decide, each evening at 23:30, whether tomorrow's solar output (07:00–19:00) will exceed 30 kWh. If so, it holds the Eddi and second charger off overnight so they run on tomorrow's solar surplus instead of the grid; if not, it lets them grid-charge overnight on the cheap rate. Morning and evening safety switches (05:30 and 18:30) guarantee neither is left running into daylight on grid power by mistake. Only one trigger deep in the flow — "sonnenBatterie grid: power becomes less than –4,000 W for 5 minutes", used as the "strong solar surplus has arrived" signal — is Sonnen-specific; swap it for your own inverter's export-power trigger and the rest is unchanged.

Solar-First Charge Controller flow diagram, partial view

Partial view — the flow continues below this section. Forecast.Solar and myenergi cards throughout, with one Sonnen grid trigger.

5. Swapping the Sonnen cards for your own inverter

Across all eight flows above, every Sonnen-specific card falls into just three buckets. Once you can recognise them, substituting is mechanical:

Sonnen cardWhat it actually reads/doesWhere to find the equivalent
Grid power trigger "Power becomes less/greater than X W (for N seconds)" on the sonnenBatterie grid device — negative = exporting. A live grid import/export power reading. Almost every inverter app (GivEnergy, Sigenergy, SolarEdge, Growatt…) exposes an equivalent "Grid Meter" device with the same style of threshold trigger. No app at all? A Homey Energy Dongle on your P1 meter gives you this.
Battery power / operating-mode condition "Power becomes greater than X W" or "Operating mode is …" on the sonnenBatterie battery device. Your battery app's own charge/discharge power trigger and mode condition — look for words like "mode", "charging state" or "eco/backup/manual" in your app's card picker.
Time-of-Use schedule action "Switch operating mode to Time-of-Use" / "Set Time-Of-Use starting…" / "Reset Time-Of-Use". Your battery app's schedule or force-charge action — GivEnergy calls this a charge/discharge schedule; Sigenergy and others expose a max charge/discharge power action instead of a time window. The concept (force an overnight grid-charge window, then hand back to self-consumption) is universal; the wording isn't.

Step by step

  1. Install your own inverter/battery app (section 3) and confirm its devices show live values in the Devices view before touching any flow.
  2. Open the flow you want to reuse: my.homey.app → the Flow icon in the left rail → the folder it's filed under (this system uses a "Car Charging" folder for most of these).
  3. Every card is labelled with its owning app in small grey text above the card title — look for "sonnenBatterie …".
  4. Click that card, delete it, click "+ Add" in the same slot, and pick your own inverter/battery device instead.
  5. Use the table above to find the nearest equivalent card type, reconnect the wires to the same downstream cards, and adjust any numeric thresholds to match your own export agreement or battery capacity — don't copy this system's numbers verbatim.
  6. Use the "Test" option on the flow (or trigger it manually) before enabling it live, especially anything that touches your export limit or battery mode.
In practice, only Battery reset needs a full rebuild. Energy Flow, Export Max, Car charging Kraken v4 and Solar-First Charge Controller each only have one or two Sonnen cards at the very start of the chain — everything downstream (Eddi, Zappi, Forecast.Solar, Octopus/Kraken) is already portable and needs no changes at all.

6. Attaching Claude to Homey

Every screenshot in this guide was captured with Claude connected live to this Homey account — the same connection can read device status, run and edit flows, rename devices, and set moods on your own system. It's an official Homey integration, not a workaround.

Prerequisites

  • An eligible Claude plan (check at claude.ai/settings/plans — both Claude and ChatGPT require a paid plan for this).
  • A Homey account.
  • A compatible Homey device: Pro mini, Pro (Early 2023), Pro 2026, Homey Cloud, or a Self-Hosted Server.

Connecting

  1. In Claude, go to Settings → Customize → Connectors.
  2. Choose "Add custom connector."
  3. Name it "Homey", and for the remote MCP server URL enter: https://mcp.athom.com
  4. Click Add, then Connect, and sign in with your Homey account credentials to grant access.

What Claude can then do

  • See the live status of every device.
  • Control devices directly ("turn off all lights downstairs", etc.).
  • Run, design, and edit both Standard and Advanced Flows.
  • Rename devices or move them between zones.
  • Set Moods.

Worth knowing

Homey's own documentation flags this integration as experimental, with broader app-store integration planned. Because Claude can create and edit flows — including ones that touch battery modes or export limits — treat it the way you'd treat any capable assistant with real control: review what it proposes before enabling a flow live, and keep an eye on anything it builds that changes your export ceiling or battery charge schedule. To remove access at any point: Customize → Connectors → Homey → open the menu → Remove.