UISP smart home integration, free and open source

Ubiquiti UISP: every router, switch, airMAX and ONU, online state, outages, restart.
Brings your Ubiquiti UISP network into Gladys: every router, switch, airMAX or airFiber radio and fiber ONU that UISP manages, whether they are online, their health, the outages in progress, and a restart command for your scenes.
Not affiliated with Ubiquiti. Developed without the hardware: feedback welcome — the integration is tested against a real UISP 3.1 server, but one that manages no device: the device figures come from a fake server built after the UISP API schemas.
Overview
- UISP devices: one Gladys device per device UISP manages: online, CPU and memory usage, uptime, firmware version, the temperature when UISP reports one, the signal of a radio, and the received and sent throughput of its WAN port (or of its radio interface).
- UISP summary: one device with the devices online and offline and the outages in progress on the followed sites.
- Scene triggers: a UISP device goes offline, a UISP device is back online (with how long it was away).
- Command (off by default): restart a UISP device.
- Dashboard widget: devices online and offline, outages, and the list of the devices that are down.
It works at the controller level: every device of every site in one go, with the outages UISP records. To talk directly to one airMAX radio without UISP (link state, rates, noise, distance), use the gladys-airos integration instead; both can live side by side.
Prerequisites
- A UISP server (self-hosted, the Docker install of Ubiquiti or the UISP Console) or UISP Cloud, reachable from Gladys.
- An API token: in UISP, open Settings → Users → API tokens, create a token and copy it. A read-only token is enough; the restart command needs a token with write access.
Configuration
| Field | What to enter |
|---|---|
| UISP address | The address you open UISP with, e.g. https://uisp.example.com (with the port if not 443). |
| API token | The token created in UISP. |
| Followed sites | Site names or ids, separated by commas. Empty: every site. A client site follows its parent. |
| Accept a self-signed certificate | A self-hosted UISP often has a self-signed certificate: turn this on only for your own server. |
| Refresh interval | 1 to 10 minutes. One refresh costs UISP three requests, whatever the number of devices. |
| Allow restarts | Off by default. |
| Language of the feature names | Set when a device is added to Gladys; also used for the messages. |
Then use Test the connection: it tells the UISP version, the number of devices followed, offline, and the outages in progress — or why it failed.
Devices
Open the Discovery tab of the integration and add the devices to follow.
| Feature | Unit | Notes |
|---|---|---|
| Online | yes/no | UISP status "active". |
| CPU usage | % | |
| Memory usage | % | |
| Uptime | hours | |
| Temperature | °C | Only when UISP reports one for the device. |
| Signal (dBm) | dBm | Radios (airMAX, airFiber...) only. |
| Received throughput | Mbit/s | WAN port of a router; radio interface of a radio in bridge. |
| Sent throughput | Mbit/s | Same interface. |
| Firmware version | text | |
| Devices online | number | Summary device, followed sites only. |
| Devices offline | number | Summary device; a device waiting for adoption is not listed. |
| Outages in progress | number | Summary device, as UISP records them. |
When a device is offline, only "Online" changes: UISP keeps the last figures of an offline device, they are not published as new measures.
Widget
The UISP network widget shows the devices online and offline, the outages in progress, and the list of the devices that are down, under the name you gave them in Gladys. A setting hides that list.
Scene triggers
- UISP device offline: any device of the followed sites, added to Gladys or not. Variables: device name, model, site, MAC address.
- UISP device back online: same variables, plus the minutes it was offline.
Both can be limited to one device. They fire on a change only: a restart of Gladys, of the integration or of UISP never fires them.
Commands
Restart a UISP device, a button of the integration page and a scene action. Off by default: turn on "Allow restarts" and give the token write access. A restart cuts the network behind the device for a few minutes: restarting the router or the radio Gladys reaches UISP through cuts Gladys off too.
Scene examples
- When a UISP device goes offline, send a message: "{{device_name}} ({{site}}) is offline".
- When the "Outages in progress" of the summary goes above 0, notify the household.
- Every Monday at 4 am, restart a radio known to need it.
Troubleshooting
| Message | What to do |
|---|---|
| API token refused | Check the token; create a new one if it was deleted or expired. |
| Certificate refused | Turn on "Accept a self-signed certificate", or give UISP a trusted certificate. |
| Does not answer like a UISP | Check the address: the one you open UISP with, without /nms. |
| No answer | Check the address and the port, and that Gladys can reach the UISP server. |
| The token may not do this | The restart needs a token with write access. |
| No UISP device on the sites | Check the followed sites: names or ids as UISP shows them, separated by commas. |
Limits
- Developed without the hardware: tested against a real UISP 3.1.73 without devices, and a fake server for the device figures. Feedback welcome on the forum.
- The throughput is the one of a single interface (WAN, else radio): a switch has none.
- UISP Cloud should work like a self-hosted UISP (same API), not tested.
- The data comes from UISP: a device UISP sees late is late in Gladys too.
Configuration settings
These are the settings UISP asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| UISP server | section | No | Self-hosted UISP or UISP Cloud. Create the token in UISP, Settings > Users > API tokens. A read-only token is enough, unless restarts are allowed. |
| UISP address | string | Yes | The address you open UISP with, without /nms. |
| API token | secret | Yes | |
| Followed sites | string | No | Site names or ids, separated by commas. Empty: every site. |
| Accept a self-signed certificate | boolean | No | A self-hosted UISP often ships a self-signed certificate: turn this on only for your own server. |
| Refresh interval | select | No | One refresh costs UISP three requests, whatever the number of devices. |
| Commands | section | No | Off by default: a restart cuts the network behind the device for a few minutes. |
| Allow restarts | boolean | No | The token then needs write access. |
| Language of the feature names | select | No | Also used for the messages of the integration. Names are set when a device is added. |
How to install UISP in Gladys
- In Gladys, open Integrations: UISP appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/guim31/gladys-uisp:1.0.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration). - Open the Configuration screen of the integration, fill in the settings, and save.
- You can also install it directly from its repository URL: https://github.com/guim31/gladys-uisp.
UISP requires Gladys >=5.1.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.
Not running Gladys yet? It is free and open source: follow the installation guide to get started.
About external integrations
UISP is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by guim31, not by the Gladys core team.
- Browse all integrations, native and community
- Build and publish your own external integration
- Source code on GitHub — source of this documentation