Monitor real-time upload & download speeds of all UniFi devices and clients directly in Home Assistant!
This integration connects to your UniFi Network Console (UDM, UDM Pro, UCK, etc.), retrieves bandwidth usage data, and provides it as sensors.
- 📊 Live monitoring of upload & download speeds for every UniFi client
- 🔗 Direct integration with UniFi Network API (no cloud required)
- 🔧 Easy setup via Home Assistant UI (no manual YAML needed)
- 🏷️ Human-readable names (uses device names from UniFi, falls back to MAC addresses)
- 🔍 Works with wildcards: Sensor IDs follow
sensor.unifi_upload_MAC
/sensor.unifi_download_MAC
- Download the latest release from GitHub.
- Extract the contents to:
- Restart Home Assistant.
- Add the "UniFi Bandwidth" integration via Settings → Devices & Services → Add Integration.
🚧 This method requires the integration to be added to HACS (not yet available!)
Once available in HACS:
- Open HACS in Home Assistant.
- Navigate to Integrations → + Explore & Download.
- Search for UniFi Bandwidth and install it.
- Restart Home Assistant.
- Add the integration via Settings → Devices & Services.
To retrieve bandwidth data, this integration requires API access to your UniFi Network Console.
- Login to UniFi Network Console (UDM, UDM Pro, UCK, etc.).
- Go to Settings → System → Network Application API.
- Click Enable API Access.
- In UniFi Network Console, navigate to User Settings.
- Click API Keys → Generate New API Key.
- Copy and save the key securely.
You need the local IP address of your UniFi Console:
- UDM/UDM-Pro Default:
192.168.1.1
- UniFi Cloud Key Default:
192.168.1.2
- Or find it in Settings → Network → Console IP.
Each UniFi client receives two sensors in Home Assistant:
Sensor Name | Description |
---|---|
sensor.unifi_upload_MAC |
Current upload speed (bps) |
sensor.unifi_download_MAC |
Current download speed (bps) |
💡 Example sensor IDs:
✅ Wildcard support: You can use sensor.unifi_upload_*
in automations!
-
No sensors appearing?
- Restart Home Assistant after installation.
- Check API Key & UniFi Console IP.
- Verify API access is enabled in UniFi settings.
-
Some clients missing?
- Ensure they are actively using bandwidth.
- Reconnect devices to refresh UniFi’s client list.
-
Need more help?
- Check Home Assistant logs:
ha core logs | grep unifi_bandwidth
- Open an issue on GitHub.
- Check Home Assistant logs:
- ✅ Current version: Supports real-time upload/download monitoring.
- 🛠 Next features:
- Add HACS support (coming soon!)
- Aggregate total daily/weekly/monthly data
- Create alerts for high bandwidth usage
This project is licensed under the Non-Commercial Open Source License (NCOSL) v1.0.
You are free to use, copy, modify, and distribute this software for non-commercial purposes only.
For full details, please refer to the LICENSE.txt file.
- ✅ Free for personal and non-commercial use
- 🔄 Modifications and redistribution allowed with attribution
- ❌ No commercial use or selling of this software or derivatives
⚠️ Provided "as is" without any warranty
By using this software, you agree to the terms outlined in the LICENSE.txt file.