Quick install: pick your route¶
Three ways to get the Bridge running, on one page:
- A. A spare Windows, Mac or Linux computer, from the command line.
- B. A new Home Assistant OS, on a spare PC, a Raspberry Pi or a virtual machine. Then C.
- C. The Home Assistant OS you already have, with the Bridge added as an App.
Open the interactive page · Light image (PNG) · Dark image (PNG)

For screenshots of each step see Installing, in pictures. The full text, including Docker, upgrading and troubleshooting, is INSTALL.md. Where this page and INSTALL.md disagree, INSTALL.md is the reference.
Before you start¶
- Give the aGate a fixed address: a DHCP reservation on your router. Every route asks for it.
- Same network: the computer running the Bridge must be on the same home network as the aGate.
A. Spare desktop, from the command line¶
1. Get Python 3.11 or newer¶
The Bridge runs inside Ubuntu on Windows (WSL).
-
Right-click Start → Terminal (Admin) and run:
-
Restart. Ubuntu opens; choose a username and password.
-
In the Ubuntu window:
Then do step 2 below in the Ubuntu window. Running the Bridge directly on Windows, without WSL, has not been tried.
-
Open Terminal and install Homebrew:
-
Run the two commands it prints under Next steps.
-
Install Python:
-
Close Terminal, open a new one, and check the version:
It must say 3.11 or newer. If it still says 3.9,
python3is the Mac's own Python, not Homebrew's. In step 2 below, use$(brew --prefix)/bin/python3 -m venv .venvinstead ofpython3 -m venv .venv.
Or use the installer from python.org.
2. Install and run¶
The same on all three:
mkdir fwh-bridge
cd fwh-bridge
python3 -m venv .venv
source .venv/bin/activate
python --version
pip install "franklinwh-direct-connect-bridge[cloud]"
python --version must say 3.11 or newer before you run pip install. On an older Python,
pip stops with No matching distribution found for hems==0.2.0, because the Bridge's
dependencies need 3.11+. Delete the folder's .venv and create it again with a newer
Python (see your OS tab above).
That installs straight from GitHub; git is not needed. Check it can see your aGate (each line
should say ok):
Start it:
Copy the admin password
The first start prints an admin password, once. Copy it before the window scrolls.
Open http://localhost:8101 in a browser. Accept the certificate warning (the Bridge makes
its own certificate), then sign in as admin. See
Security for what the first admin is and how to add other users.
- Choose your own login instead: set
ADMIN_USERNAMEandADMIN_PASSWORDbefore the first start. - Lost the password: run
franklinwh-direct-connect-bridge reset-password adminin the same folder.
Just trying it? Start without a sign-in
On the first start, add SECURITY=off:
http://localhost:8101 then opens straight away: no password, no certificate warning,
and no admin is created. Anyone on your home network can use it, battery control
included, so turn Security on under Settings → Admin → Security when you're done
trying it. SECURITY is read only on the first start: it never turns Security off on
an install that already has it on.
Next time, from the same folder:
cd fwh-bridge && source .venv/bin/activate && FWH_HOST=<aGate address> franklinwh-direct-connect-bridge run
History and schedules only run while the Bridge runs, so keep the computer awake.
B. New Home Assistant OS¶
- On home-assistant.io/installation, choose your hardware: a PC (Generic x86-64), a Raspberry Pi, or a virtual machine on Windows, macOS or Linux.
- Follow that page's steps: write the image to the drive or create the virtual machine, then start it.
- From a browser on the same network, open
http://homeassistant.local:8123and finish onboarding. - Continue with route C.
C. Existing Home Assistant OS¶
- Back up first: Settings → System → Backups → Back up now.
-
Add the repository. Press the button, or go to Settings → Apps → App store → ⋮ → Repositories and add
https://github.com/david2069/franklinwh-direct-connect-bridge. -
Install: find FranklinWH Direct Connect Bridge in the store and press Install.
- Configure: on Configuration, set
fwh_hostto the aGate's address. Leavemqtt_enabledon to get Home Assistant entities. Save. - Start, then Open Web UI. No password is needed there. To open it from the sidebar too, turn on Show in sidebar on the same page: a Direct Connect entry appears. It was off after a fresh install on Home Assistant OS 18.4 (#784).
- Optional: install the Mosquitto broker App for Home Assistant entities. The Bridge picks it up on its own, even if you add it later.
Home Assistant 2026.10 and later calls add-ons Apps; INSTALL.md still says Add-ons.
How this page was checked¶
- Route A on macOS was run on 2026-11-19 with Bridge 0.5.53, installed from the GitHub
zip as above, using Homebrew's Python 3.12 by its full path:
ping, the first start (the admin password was printed), andhttp://localhost:8101redirecting to the HTTPS sign-in page. - Plain
python3on macOS was also tried on 2026-11-19. On that Mac it was Apple's Python 3.9.6 (from Xcode), and the install failed with No matching distribution found for hems==0.2.0 (PyPI listshems0.2.0 asrequires_python >=3.11). That is why the version checks are there. - The
SECURITY=offquick start (added in #786) was run on 2026-11-20 on macOS with Bridge 0.5.54, installed from this branch, on an empty data folder and with no aGate. Port 8101 answered200with no redirect to the sign-in page, no password was printed, and the log warned that Security is off. - Route A on Windows and Linux uses each system's standard tools and has not been run for this page.
- Routes B and C follow Home Assistant's own installation pages and this project's
Installing, in pictures, whose screenshots were taken
on 2026-10-16 with release 0.5.0. The sidebar title (
panel_title: "Direct Connect") and option names (fwh_host,mqtt_enabled) are from the add-on'sconfig.yaml. - Route C was run on 2026-11-20 on a fresh Home Assistant OS 18.4 virtual machine with add-on 0.5.53 and no aGate: repository added, App installed and started. Show in sidebar was off after installing; Open Web UI worked, and with the toggle on, Direct Connect appeared in the sidebar. The add-on log reported Security on for a new install and printed no password; the sidebar panel opened without a sign-in.
- On that virtual machine, Home Assistant answered on port 80, and every request to 8123
was redirected to the same path on port 80. On a home network,
homeassistant.local:8123therefore still lands on Home Assistant. Seen on one install only.