Skip to content

0.5.52 — 2026-11-18

Everything merged since 0.5.50, by area:

  • Energy planning (hems 0.2.0): a solar forecast that learns from your system, a Home Assistant Load Forecast, Battery warranty & wear, and opt-in HEMS setup.
  • FranklinWH TOU and tariffs: buy and sell rates per day type, Import from FranklinWH into Plans & meters, weekend rates, tables, clashes on a timeline, and TOU entities in Home Assistant.
  • Home Assistant: Battery Command controls, Bridge Version, VPP, off-grid, smart circuit, V2L, generator and alarm sensors; entities published only while their source is active; mocks never published.
  • System view: several aPowers show as one battery with the count, each aPower in the hover and details.
  • Fixes: the setup wizard's Yes no longer errors on a mock; a plan starting today is in force on an Australian morning.

0.5.51 was superseded the same day (its images lack the setup wizard fix #724) and was not released to main.

Added

  • FranklinWH TOU schedule: the copy keeps each block's buy and sell rate, per day type (a band can cost one thing on weekdays and another at weekends), shown on Scheduler → FranklinWH TOU with the unit marked please confirm. The schedule is also re-read once a day. Home Assistant gets TOU Schedule, TOU Dispatch Now / Next and TOU Tariff Now / Next, worked out from the copy each minute with no cloud read, and published only while the cloud is set up for that gateway (#656, #421) (guide, Home Assistant).

  • Tariffs: a time period can have a weekend rate (#656). Saturday and Sunday are billed at it and other days at the period's own rate; it's an optional weekend: {buy, sell} beside the period's rates in the tariff profile, carried by Export and Import and shown in the tariff editor. Tariffs without one price exactly as before (guide).

  • Billing & Utilities → Plans & meters: Import from FranklinWH (#656). The TOU schedule set in the FranklinWH app becomes a plan of the meter, offered while the cloud is signed in for the meter's gateway. 1 Pre-fill: the retailer, tariff and country come from the cloud, and the seasons, bands, blocks and buy and sell rates from the latest copy, keeping a band's weekend rate where the app's differs; the currency, rate unit, network and start date are marked please confirm. 2 Ask for what the app doesn't hold (billing day, daily supply and other fixed charges, tax, demand charge, export bonus and charge, dates), each with doesn't apply. 3 Check runs the tariff check and shows today's price by hour; Import adds the plan as any tariff import does. When the app's schedule changes later, the plan says Schedule changed — re-import? Nothing is written to the cloud or the aGate (guide).

  • Settings → Gateways: HEMS setup, opt-in (#713, hems 0.2.0). Describe the home for energy planning: the always-on load and the high, medium and low usage periods, filled in from your own history to confirm, and each heavy load (how it is measured, when it runs, its circuit, and whether it is deferrable, sheddable or soaks up spare solar, and an EV charger's details), checked against what this bridge can control. Answers only: nothing is switched from them yet (guide).

  • Settings → Gateways: Battery warranty & wear (#713, hems 0.2.0). Warranty end and throughput (filled from the FranklinWH cloud when signed in, marked Please confirm), the guaranteed end SoH, install date and replacement value give the wear cost per kWh discharged, the throughput used and left, and the daily pace that lasts the warranty; with SoH and the round-trip efficiency from full cycles on the aGate's own counters. Each charge and discharge block is recorded. Nothing is written to the aGate (guide).
  • Home Assistant: Load Forecast (#713). The home load expected this hour, in kW, with the next 48 hours as HAEO's forecast attribute (every 30 minutes), learnt by hems 0.2.0 from the gateway's own hourly home load and the site's temperatures. Published every half hour; no aGate read (guide).
  • Health: the weekly battery report shows how far off the load forecast was over the last 90 days, against "same as the day before" (#713) (guide).
  • System view: several aPowers are one battery with the count and the aGate's charge and power; its hover and details list each aPower (aP1, aP2 …: charge, current, BMS state, and state of health in the details), read once a minute with the Battery tab's reads (#703; franklinwh-system-view 0.4.1) (guide).
  • Home Assistant: Bridge Version on the bridge's own device (#706). Its state is this bridge's version; its attributes give the install type (HA add-on, Docker, Podman, pip), the Home Assistant version for the add-on, the platform (OS, CPU, Python), the integrations in use (local gateways, FranklinWH cloud signed in, Modbus client, MQTT, Home Assistant instances) and the installed version of each FranklinWH and shared library. Sent on connect, with every heartbeat and when an integration changes; no serial, address, account or install id (guide).
  • Home Assistant: VPP Active, Off-Grid Reason and Off-Grid Duration, Smart Circuit 1–3 Power and Energy Today, V2L Power, Export and Import Energy, Generator State, Enabled and Today, and Active Alarms (#704). All come from reads the bridge already makes: every poll, and the 60-second smart-circuit, V2L and generator read. A value that isn't read is unknown in Home Assistant, never 0 (guide).
  • Home Assistant: Battery Command, Command Power, Command Power %, Command Duration and Target SoC controls, as the Modbus Bridge has them (#705). They run the Battery tab's Battery Command on that gateway and share its staged values; they need Allow writes and the Modbus client on, and mock gateways don't have them (guide).

Changed

  • Scheduler → FranklinWH TOU: clashes on a timeline. Under today's TOU bar a second bar, This bridge's schedules, shows today's mode and Force schedules on the same 24 h scale with hour marks, the clashing minutes marked on both bars; hover or tap a span for its name and times. The long uppercase heading is now Clashes today, and with none there is one line, No clashes today. What counts as a clash is unchanged (#421) (guide).

  • Scheduler → FranklinWH TOU: today and each season's day types are tables (Time, Dispatch, Band, Buy, Sell) instead of run-on lines, which were hard to read; a band with a rate but no block that day keeps its own row (#421) (guide).

  • Solar forecast: learns from your system and allows for hot panels (#713). Each day the forecast is compared with the solar your site's gateways measured; after five sunny days it is scaled by measured ÷ forecast over the last 30 days. Hot panels make less, and the forecast now allows for it. The maths come from hems 0.2.0 (the shared engine); the card, the sensors and the solar-fill warning are unchanged (guide).

  • Home Assistant: an entity is published only while its source is active (#711). Each entity now has a source: the aGate's Direct Connect API (local), the FranklinWH cloud (cloud) or this bridge's Modbus client (modbus). The Battery Command controls appear only while the Modbus client is on, as the reserve numbers already did only with cloud credentials for the gateway; both now follow a change at once, without a restart, and are removed from Home Assistant (not left unavailable) when their source goes away. The guide's entity tables have a Source column, and list every entity (guide).
  • Settings: a mock gateway is never published to Home Assistant (#711). Its Publish to Home Assistant switch is gone, from Add mock and its Edit dialog, and anything a mock published before is removed from Home Assistant when it starts (guide).

Fixed

  • Setup wizard: Yes to Home Assistant showed an error for a mock gateway (#724). The first run's Yes asked to publish the mocks it had just created, which the bridge refuses since mocks are never published (#711); it now opts in real gateways only (guide).
  • Plans & meters: a plan starting today showed as future in the Australian morning (#722). The plan list took today as the UTC date, so the meter said "No tariff in force"; it now uses the site's date, as Analytics does (guide).
  • System view said "Battery" for a gateway with four aPowers (#703). The count came only from the power-flow read, which leaves it out on this firmware; it now also comes from the aGate's list of aPowers in its login reply (guide).