0.5.55 — 2026-11-20¶
Everything merged since 0.5.54, by area:
- Install and sign-in (Docker and pip): a guided
setupcommand with checks and a startup banner; custom roles; the signed-in user in the top bar; the Home Assistant add-on and standalone sign-in kept apart. - Home Assistant: richo's FranklinWH integration is detected, with when it last updated and how to turn it off.
- Wording: Standby for a resting battery, VPP Mode, status words with a capital.
- API: an api token can read the API schema.
Added¶
-
Signed-in user in the top bar (owner 2026-11-20). With Security on, the top bar shows who is signed in; click it for the role and Sign out. In Home Assistant's sidebar it shows the HA user and role. It's a Customise → Top bar item, on by default (guide).
-
Custom roles (Docker and pip) (owner 2026-11-20). Under Settings → Admin → Security → Custom roles an admin makes roles of their own: the tabs it can open (any tab, and System view) and what it can change (nothing, battery commands, schedules). The other tabs are hidden and the bridge refuses their data with 403. Custom roles appear in the account role picker; one in use can't be deleted. admin, user, viewer and api are unchanged, and the Home Assistant add-on has none (guide).
-
setupcommand and a startup banner (Docker and pip) (owner 2026-11-20).franklinwh-direct-connect-bridge setupasks for the aGate's address (and checks it answers), the ports, Security on or off and the first admin, and saves the address and ports tobridge.envin the data folder, so a plainfranklinwh-direct-connect-bridgestarts it; environment variables still win. The password goes only into the bridge's accounts, never the file. Before the web server starts, a banner shows the addresses to open (localhost and this computer's, not Uvicorn's0.0.0.0), whether Security is on, and the generated admin password on the one start that makes it (install). -
Sign-in page: version and help links (owner 2026-11-20). Under the form the sign-in page shows the bridge's version and links to the documentation, GitHub Discussions and Issues, each in a new tab (guide).
Changed¶
-
Richo's FranklinWH integration: detect and warn (owner 2026-11-20). With Home Assistant linked, the setup check says whether richo's
franklin_whintegration is running, how many entities it has and when it last updated, and says how to turn it off when you're ready (remove itsplatform: franklin_whentries fromconfiguration.yamland restart Home Assistant). The note no longer promises a later move of entity names and history: the bridge never takes over that integration's entities (guide). Richo's integration set up in YAML (as 2026.3.0 is) is now recognised: Home Assistant lists it asfranklin_wh.sensor, which the check missed before. -
A friendlier
setupcommand (Docker and pip) (owner 2026-11-20). Each question says what it's for, and Enter accepts every default. The aGate address is optional (add it later in the web UI), and so is the admin account: skip it and the first start makesadminwith a password shown once. It ends with a summary and Start the bridge now? (pip; Docker starts withdocker compose up -d). Run from inside thedatafolder, it stops instead of making a second, empty one there. It opens with the version, this folder, the data folder (new or existing install), the settings file and checks (Python version, cloud features, ports free), numbers each step (Step 1 of 4), and ends with a summary of what it saved and where to open the bridge. Each heading has a blank line before and after and an underline, and the header, summary and startup banner show the time. An aGate address whose Direct Connect port (TCP 9000) doesn't answer is asked again, unless you keep it (the aGate may be off). Starting the bridge with port 8101 or 8102 already in use now stops at once and says which port and what to do; before, it started and then stopped, or ran on HTTP alone. On an install that already has gateways, the aGate address is added to them (enabled; the active gateway is unchanged) instead of being saved and ignored. INSTALL.md gives pip installs two paths: update only (keeps everything), or a clean fresh install (moves the old data aside). Setup warns whenFWH_HOST,FWH_HOSTSor a port is set in the environment, which wins over what it saves, and says to enter the main aGate and add any others under Settings → Gateways (guide). Stopping the bridge with Ctrl+C no longer logs "HTTPS port 8102 stopped" as an error. With Security off, the startup banner also lists the HTTPS address (guide). -
Sign-in: Home Assistant add-on and standalone kept apart (owner 2026-11-20). One table in the code now says which sign-in and account features belong to the add-on (HA users through the sidebar, first admin made there) and which to Docker and pip (first admin from settings or generated,
setup,bridge.env,SECURITY=off, the startup banner); every check reads it. Settings → Admin → Security says which way the install is, and on Docker and pip no longer mentions the Home Assistant sidebar (guide). -
Control guide: Battery force section brought up to date (owner 2026-11-20). It no longer says direct Modbus TCP is being retired: Battery Control and the Scheduler keep using this bridge's Modbus client. It now says the Modbus client starts off on a new install and where to turn it on, quotes the current reason text, and says
POST /api/dispatchneeds an installed Modbus Bridge (guide). -
One word for a resting battery: Standby; the VPP badge says VPP Mode (#770, steps 3 and 4; owner 2026-11-20). The dashboard, top bar and Battery tab said Idle where Home Assistant and the aGate's run status say Standby; they now say Standby (solar, home and generator rows still say Idle). The VPP badge's fallback label reads VPP Mode, as the FranklinWH app shows it. Display only.
-
Health and the TOU card: the last lower-case words (#770, step 2). The health pattern level read error in one list and green in the report picker; both now start with a capital (Error, Green), and the TOU card's operating mode reads Unknown when it isn't known. Display only.
-
Status words start with a capital (#770, step 1). The scheduler's log status and monitor state, alert severity and state, the health level and the network link state showed raw lower-case values (fired, holding, warning, green, active) next to capitalised ones. They now read Fired, Holding, Warning, Green, Active. Display only: the API, MQTT and Home Assistant values are unchanged.
Fixed¶
- An api token can read the API schema (#781). With Security on, an api account's
token got 403 on
/openapi.json, so the role meant for integrations couldn't discover the API it may call./openapi.jsonis now open to every role;/docsand/redocstay web pages, as before (guide).