Docker Recommended
- Docker Compose builds and starts the hub, publishes port 8787 and keeps data in a named volume.
- Restarts automatically unless stopped.
- If Hue or deCONZ discovery fails inside the container, run it with host networking on Linux.
ControlZHub is a standalone hub for your home network: one Go process with a full web and PWA console and REST + SSE APIs. It connects to Philips Hue, deCONZ / Conbee, MQTT / Zigbee2MQTT, Home Assistant and HomeSeer HS4, and runs your scenes, sensor groups and automations on the hub itself.
You don't need the ControlZ Apple app or a Mac. Run it in Docker or as a service on a Mac, Linux computer or Windows PC, and use it from any browser, phone or tablet.
Version 1.0.0 · In development · Docker, macOS, Linux and Windows · Web and PWA console for phones, tablets and computers
ControlZHub is not publicly available yet. Use the contact form and choose ControlZ to hear when it is ready or to ask about testing it.
How it works
The hub talks to each bridge's own API on your network and serves the console and API from the same address.
Run it with Docker Compose, an OS installer or from source on a machine on your home network. The console opens at port 8787.
Open Bridges, then Discover and pair Hue or Probe deCONZ, MQTT, Home Assistant, HS4, ControlZ or HomeZ. Use any subset — Hue and MQTT alone is fine.
Use Rooms, Favorites, Devices, Scenes and Sensors in the console, and build scenes, sensor groups and automations that run on the hub.
Open Help → Connection…, scan the QR code on your phone and add the console to your home screen as an app.
Features
Multi-bridge home control without a Mac running ControlZ.
Every bridge is configured the same way in the Bridges tab and uses that product's own API on your network. ControlZ and HomeZ are optional; when present each is a full bridge, not a migration step.
Rooms with power, brightness and colour; Favorites; Devices grouped by room; Scenes from bridges and the hub; and Sensors with battery levels where available.
Create scenes with ordered steps and delays using the Create scene… wizard, or snapshot the devices currently visible. Scenes are stored and run on the hub.
Build your own rooms on the hub and assign devices from any bridge, alongside the rooms and zones each bridge already reports.
Combine motion, contact and other sensors from the catalogue into hub sensor groups under Devices → Groups, ready to trigger automations.
Time, sensor and sensor-group triggers run a scene, a device, a room, a delay or a notification. The Create event… publisher walks through Event, Trigger, Conditions, Controls and Publish. Set the hub's location for sunrise and sunset.
Freeform Cards and Floor plan layouts hosted by the hub, with a designer, draft and published states, a floor-plan background image and live published pages.
A green Live badge shows the event stream is connected. Hue events and hub notifications update tiles straight away, and a short periodic refresh keeps other bridges current without losing your place.
Large, Thin and Compact tiles, with independent scale sliders from 60 to 140% in 10% steps. Appearance follows the system or stays Dark or Light.
Enlarges controls and simplifies the menu bar on the Devices console, for a wall-mounted or bench-top tablet.
Open and Close, plus a 0–100% position slider on Large tiles when the bridge reports position. A per-cover Reverse direction switch fixes motors wired the other way.
All on and All off apply to lights. All off shows an Undo toast for about eight seconds so you can restore the previous state.
Search by name, filter by favourites, active sensors, bridge or kind, and keep active filters visible as pills. Star favourites, hide tiles, and drag or use Edit order to reorder. Order, favourites, theme and filters sync to the hub.
Choose which kinds of device each bridge imports (lights, switches, covers, locks, sensors, HS4 events). Hide duplicate devices helps when the same light arrives through Hue and a Mac hub.
Use the install banner, Connection → Install app or Add to Home Screen. On iPhone and iPad, use Safari's Share → Add to Home Screen. The shell works offline; control needs the hub.
/ to search, 1–5 for Rooms, Favorites, Devices, Scenes and Sensors, and Esc to close menus and dialogs. A built-in User Manual is under Help.
ControlZ family
ControlZHub shares the ControlZ logo and the Web Dashboard and Floor Plan look, but it is its own product with its own code and API.
The hub owns devices, scenes, sensors, sensor groups and automations, stored and run on the hub. You don't need the ControlZ Apple app or a Mac.
It is not a ControlZ fork, doesn't include ControlZ's Swift code, and doesn't use CloudKit or Apple Continuity.
ControlZHub doesn't own HomeKit sessions. HomeKit devices can appear through Home Assistant, a ControlZ Mac hub or a HomeZ Mac hub if you set those up.
It speaks its own controlzhub-api-1, not the ControlZ companion-api-1. It can, however, use a ControlZ Mac hub as one of its bridges.
Automations created on the hub run only on the hub. If a ControlZ or HomeZ Mac hub connected as a bridge runs its own events on the same lights, turn off the overlapping rules on one side; new automations are best made on the hub.
A HomeKit bridge inside the hub, HS4 card embeds or plugin hosting, full Hue Entertainment streaming (areas start and stop only), and a Play Store app — the PWA covers Android.
Bridges
Each bridge uses that product's own API on your local network. Enable any subset.
CLIP v2 with live events. Discover the bridge, press its button and pair; rooms, lights, scenes and sensors follow.
Phoscon REST. Discover through the Phoscon finder or enter the host, then pair with the gateway unlock.
Set the broker URL and base topic, then Probe & save to check the broker and count devices.
REST and WebSocket with a long-lived access token. Lights, outlets and covers, including position when exposed.
Direct HS4 /JSON with user and password or a token; HS4 events appear as scenes. The ControlZ Export plugin isn't needed.
Optional. Talks to a ControlZ Mac hub over companion-api-1: discover on port 8080, paste a ControlZ web API key, Probe & save.
Optional and HomeKit-only. Discover on port 9080 and paste a HomeZ web API key, for HomeKit devices without running full ControlZ.
Platforms
The hub runs on one machine on your home network. Everything else connects to it with a browser.
API and architecture
The console, the controlzhub-api-1 REST API and the live streams share one address and port.
GET /health, /api/v1/info, /api/v1/bridges, /api/v1/devices, /api/v1/rooms and /api/v1/scenes for one unified catalogue across bridges.
PUT /api/v1/devices/{id}/state, PUT /api/v1/rooms/{id}/state and POST /api/v1/scenes/{id}/recall. Device IDs carry the bridge, such as hue:…, ha:… or hs4:….
/api/v1/local-scenes, /api/v1/sensor-groups and /api/v1/automations (with …/{id}/run), plus /api/dashboards for Web Dashboards and Floor Plans.
On the hub machine, localhost can control devices without a token. Other clients send the czh_… token as X-API-Key, or open a join link with ?apiKey=. Set a fixed token with CONTROLZHUB_TOKEN.
Server-sent events keep the console live, /ws feeds dashboards, and the hub advertises _controlzhub._tcp with mDNS on your network.
Bridges, Hue credentials, scenes, sensor groups, automations, rooms, preferences and dashboards are JSON files in the data folder (CONTROLZHUB_DATA). The listen address is CONTROLZHUB_ADDR, :8787 by default.
Deployment
The documented ways to run ControlZHub once you have a build.
From the project folder, run docker compose up --build -d and open http://127.0.0.1:8787/. Data persists in the controlzhub-data volume.
Build with make build or make dist, then run ./deploy/install-macos.sh, sudo ./deploy/install-linux.sh or .\deploy\install-windows.ps1.
With Go 1.26 or later, make run starts the hub with data in ./data.
Open Bridges to pair or enable at least one bridge, then use Help → Connection… to open the console on your phone and install it.
After an upgrade: if the console looks out of date, hard-refresh the page once so the service worker picks up the new version. Keep the czh_… token private, like a password.
ControlZHub is in development. Use the contact form and choose ControlZ to be told when it is available or to ask about testing. If you use Apple devices today, ControlZ is on the App Store.