Zigbee network topology map for Home Assistant. Visualize your mesh network with LQI signal quality indicators, routing paths, and device hierarchy.
Supports both Zigbee2MQTT and ZHA backends.
Documentation · Getting started · Troubleshooting
- Home Assistant 2024.8.0 or newer
- One of:
- Zigbee2MQTT with the MQTT integration configured
- ZHA integration configured
On Home Assistant 2026.11 or newer, install Zigporter through the Marketplace. Zigporter is not yet listed in the default catalog, so add it as a custom repository.
The button below opens Zigporter in the Marketplace and requires My Home Assistant to be configured:
If the repository is not added automatically:
- Go to Settings → Marketplace and select Custom repositories from the three-dot menu.
- Add
nordstad/zigporter-hawith the type Integration.
Then find Zigporter in the Marketplace, install it, and restart Home Assistant.
On Home Assistant versions older than 2026.11, use HACS instead:
- Open HACS and select Custom repositories from the three-dot menu.
- Add
nordstad/zigporter-hawith the type Integration. - Find Zigporter and install it.
- Restart Home Assistant.
Copy custom_components/zigporter/ to your HA config/custom_components/
directory and restart.
The button requires My Home Assistant to be configured.
Alternatively, go to Settings → Devices & Services → Add Integration and search for Zigporter.
Then:
- Select your Zigbee backend (Zigbee2MQTT or ZHA).
- If using Zigbee2MQTT, confirm the MQTT topic prefix (default:
zigbee2mqtt). - Optionally enter a Name (for example "Building 1") used as the entry name and default card title.
Add one Zigporter entry per Zigbee2MQTT topic using Add entry on the integration page. You can also add one ZHA entry.
Use a separate card and Panel view for each bridge.
See the configuration guide.
Click Configure on the integration to adjust:
| Option | Default | Description |
|---|---|---|
| Backend | (from setup) | Switch between Z2M and ZHA without reinstalling |
| MQTT topic | zigbee2mqtt |
Topic prefix for Z2M |
| Warning LQI | 50 | Links below this show yellow |
| Critical LQI | 20 | Links below this show red |
| Scan timeout | 1000s | Max wait for network scan (60–1800s) |
| Cache TTL | 0 | Seconds to cache the map (0 = manual refresh only) |
| Hop colors | (built-in palette) | Four custom ring gradient colors (details) |
| Hop opacity | 0.90 | Opacity of hop ring fills (0.1–1.0) |
Tip: If you use both ZHA and Zigbee2MQTT, add separate entries to view both networks, or switch an existing entry's backend in its options.
The card JS is registered automatically — no manual resource setup needed.
First install: After adding the integration, refresh your browser (F5) before adding the card. The card resource is registered on integration load, but the browser needs a page refresh to pick it up.
Important: The card must be added to its own Panel view. It is sized to fill the whole page and does not display correctly in Sections or Masonry views.
-
Open your dashboard and click the pencil icon (top-right) to enter edit mode.
-
Click the + tab to create a new view.
-
In the view settings, select Panel (single card) as the layout, give it a title (e.g. "Zigbee Network"), and click Save.
-
Click + Add card (bottom-right).
-
Search for "Zigporter" — or scroll to the bottom and choose Manual, then paste:
type: custom:zigporter-network-map-card
-
Click Save, then Done to exit edit mode.
The map will appear empty until you click Scan to request the first network topology.
| Option | Default | Description |
|---|---|---|
title |
Zigbee Network Map | Card header text |
show_stats |
true |
Show device count, hops, and scan duration |
entry_id |
(original entry) | Bridge to show; select in the card editor |
Cards without entry_id show your original entry.
The integration requests a network topology scan from your Zigbee backend, builds a routing tree using bidirectional LQI for best-path parent selection, renders it as a radial SVG, and delivers it to the card via WebSocket.
- Zigbee2MQTT — publishes to
zigbee2mqtt/bridge/request/networkmapvia MQTT - ZHA — reads device list and neighbor tables from the ZHA gateway
Note: The network map is a point-in-time snapshot. Zigbee mesh networks continuously optimize their routing, and devices may join or leave. The card displays the scan date in the stats line so you know how current the map is. Click Scan to capture a fresh topology.
- The card only works for Home Assistant administrators: the network map, scans and history expose device names and topology.
- ZHA maps may lack routing data, producing a flat topology.
- First scan after HA restart can be slow (coordinator queries each device).
- Very large networks (100+ devices) produce large SVGs — the cache avoids repeated scans.
This Home Assistant integration is the companion to Zigporter CLI — a terminal tool for managing your Zigbee network:
- Migrate devices between ZHA and Zigbee2MQTT (both directions) with automated entity/dashboard cascade
- Rename devices and entities with full HA reference updates (automations, scripts, dashboards)
- Network map — the same radial SVG visualization, exported as a standalone file
- Stale device cleanup — find and remove offline/ghost devices
Install via uv tool install zigporter, pip install zigporter, or
brew tap nordstad/zigporter && brew install zigporter.
Documentation · Interactive demo
Zigporter was featured by BeardedTinker in Home Assistant Finally Lets Me Organize Everything!, where he walks through how to use it.
- Want to try new features early? See Beta testing.
- Something not working? Check Troubleshooting, then open an issue.
- Found a security vulnerability? See our security policy to report it privately.
- Enjoying Zigporter? You can support development on Ko-fi.
