The Bridge always talks to your aGate over the local Direct Connect API. Everything to the right is optional: switch on another transport when you need a write the local API can't do, or publish into Home Assistant.
A working example of the Direct Connect API, grown into a full app
The Bridge started as a reference implementation of FranklinWH's local Direct Connect API. The goal was a REST API with an OpenAPI specification that a user interface could be built on, to run and administer an aGate and its aPowers: first one gateway, then several. Home Assistant support and scheduling were built on that foundation.
LibraryDirect Connect APIReverse-engineered from Wireshark packet captures
Working exampleThe BridgeShows the library in real use, against real hardware
ContractREST API + OpenAPI specEvery feature available to other apps
ProductA UI to run aGate and aPowerOne gateway first, then several from one install
2–5 Aug 2026
Foundation
Live dashboard and REST API, all reads in one session2 Aug
MQTT with Home Assistant discovery, verified on the real aGate2 Aug
Finds the aGate again when its IP changes; firmware and moved notices to HA5 Aug
7–8 Aug 2026
One gateway to many
Mock aGate emulator and demo mode7 Aug
Multi-gateway monitoring8 Aug
Cloud-aligned API and gated writes8 Aug
Aug – 14 Sep 2026
History and transports
SQLite metrics and logsby 10 Sep
Cloud transport for reserve SoCby 10 Sep
Generator writes verified on hardware14 Sep
Core
15–22 Sep 2026
Scheduling
Scheduler v1 with Home Assistant actions15 Sep
Multiple HA instances and phone notification devices15 Sep
Interval and cron triggers, priority, exit conditions22 Sep
Scheduled force charge and discharge22 Sep
25–27 Sep 2026
Operate and account
Database backup and restore25 Sep
Push-notification triggers and billing periods26 Sep
Setup wizard with broker conflict check27 Sep
4 Oct – 18 Nov 2026
Public and Home Assistant app
Public release on GitHub4 Oct
First live HA add-on install; install guide on HA OS with 0.5.015–16 Oct
System view overlay0.5.22, 1 Nov
Current release0.5.52, 18 Nov
Dates come from the original roadmap in BACKLOG.md, completion dates in BACKLOG_ARCHIVE.md, CHANGELOG.md and git history. Work before 4 Oct happened in a private repository, so those dates are as recorded in the backlog. "By 10 Sep" marks features first reported in the 10 Sep API comparison without an exact landing date.
Installation types, left to right
Start with the default setup (or the mock gateways if you have no hardware yet), then add layers. Each column says what it needs and what you get.
Run it
Reach the aGate
Into your home
Baseline
Default setup
Bridge + your aGate over the local Direct Connect API. No cloud account, no broker.
You needaGate on the LAN with a fixed IP. Nothing to enable on the gateway.
Live power flow, SoC, mode and run status
Per-cell BMS voltages and temperatures, with recorded sessions
Several gateways from one install, with LAN discovery
Local SQLite history, charts, Analytics and CSV export
Scheduler, tariffs and billing, solar forecast
Writes stay off until you enable them
HA add-onDockerPython 3.11+
No hardware
Mock setup
Seeded emulated aGates bundled in the image, with solar, battery and load that follow the time of day.
You needDocker. One demo command starts it.
See the whole UI working before you connect real hardware
Two mock gateways ready for multi-gateway testing
Control buttons enabled safely against the mock
Kept apart from a real install, with its own data and MQTT off
Good for demos, screenshots and UI work
Optional transport
FranklinWH Cloud
The FranklinWH cloud API. Used only where the local API can't reach.
You needA FranklinWH account and internet. Included in the add-on and Docker image.
Reserve SoC write (the aGate discards it locally)
Cloud-native mode and smart-circuit setters
The Bridge shows which transport handles each feature
Optional transport
Modbus TCP
SunSpec Modbus on the aGate, from FranklinWH's published PICS plus register extensions FranklinWH supplied.
You needModbus switched on in the aGate, and the Bridge's Modbus client turned on in Settings.
Force charge or discharge at a set power
Optional target SoC to stop at
Bridge watchdog and a global Release, so a dropped link can't leave the battery dispatched
No separate Modbus Bridge service needed
Modbus reachability shown in Health
Publish out
MQTT broker
Publishes each aGate as a native Home Assistant device through MQTT discovery. No custom integration.
You needA broker. As an add-on it auto-configures from Mosquitto, even one installed later.
Sensors, binary sensors, selects and switches in HA
Offline gateways show as unavailable, not stale
Republish, unpublish and per-group entity control
Broker scan for other FranklinWH publishers
Read in
Home Assistant integration
The Bridge links to one or more HA instances over HA's REST API and reads from them.
You needNothing as an add-on (linked automatically). Elsewhere: HA URL and a long-lived token.
Use any HA entity as a Scheduler entry or exit condition
Call HA services from schedules
Setup checks that tell you what is missing
Dashboard-card YAML generator
Alert you
Home Assistant notifications
Pushes to your phone through the HA Companion app, plus persistent notices in HA.
You needA linked Home Assistant and the Companion app on your phone.
aGate offline or back online
Off-grid started or ended
Battery dispatch the Bridge didn't start (VPP)
SoC below or above your thresholds
In HA: Modbus down, cloud sign-in rejected, firmware changed, aGate moved IP
Capabilities by transport
Everything is built on the Direct Connect API. The two optional transports each fill a gap the local API physically can't.
Used by the BridgePartialTransport can, Bridge doesn't use itNot possible
Baseline · always onDirect Connect API
Local network. Undocumented, reverse-engineered from Wireshark packet captures. Library: franklinwh-direct-connect-api.
Local network. Built from FranklinWH's PICS, published by the SunSpec Alliance, plus non-SunSpec register extensions supplied by FranklinWH. Library: franklinwh-modbus.
Monitor
Power flow, SoC, mode, run status
Yes
Available
Available
Per-aPower battery and per-cell BMS
YesCell voltages and temperatures
Module level
Module level
Smart circuits, live V / I / P, EV
Yes
Available
No
Grid compliance profile
YesFull parity with cloud
Available
Partial
Inverter AC electricals (V, I, Hz, PF)
PartialPer-circuit meter only
Available
Register level
Device, network, Wi-Fi, firmware info
Yes
Available
Partial
Control (all writes gated off by default)
Operating mode switch
YesHardware-verified
YesCloud-native setter
Available
Off-grid / reconnect
Yes
Available
Available
Reserve SoC (read / write)
Read onlyThe aGate silently discards a local write
Write
Register
Smart circuit switch and schedule
PartialSchedule write tested in the library
YesLive-verified
No
Battery dispatch: force charge / discharge at W, target SoC
NoNo local setpoint command
Exists, not wired
Yes
Generator: enable, mode, exercise, start SoC
Yes
Available
No
SunSpec enable toggle (DER comms)
YesTurns Modbus on
No
NoMust be on first
Reboot
YesDouble-gated
Available
No
What it takes
Account or internet
None. LAN only.
FranklinWH sign-in, internet
None. LAN only.
If it's missing
The Bridge can't run
Cloud features show as unavailable
Dispatch reports unavailable
Which FranklinWH API? The cloud transport is FranklinWH's own cloud API, the same one the FranklinWH app uses, reached through the franklinwh-cloud library. That library was based on and inspired by richo's franklinwh-python library and the ha-franklinwh HACS integration, with most endpoints discovered using HTTP Toolkit. It comes with the add-on and Docker image.