Wi-Fi Signal Monitor: Per-Client Signal Alerts for UniFi in Home Assistant

Wi-Fi Signal Monitor: Per-Client Signal Alerts for UniFi in Home Assistant. AutoMatter

What happened

A Home Assistant community member posted a project called Wi-Fi Signal Monitor, an app that watches the Wi-Fi signal of every client on a UniFi network. Their problem will be familiar to anyone with a lot of Wi-Fi gear: with 40-odd devices (Shellys, cameras, panels, an EV charger), they usually only learned something was flaky after an automation failed. They say the UniFi integration does not expose per-client signal strength, so they built something that reads it straight from the UniFi console. The announcement thread has the details, and the code lives in a GitHub repository.

What it does

  • Once a minute it reads signal (dBm) and UniFi’s “Wi-Fi experience” score for each connected Wi-Fi client.
  • Defaults: weak below -70 dBm, critical below -80 dBm, poor experience below a 50% score. All thresholds can be changed from its dashboard.
  • A client must be bad for 3 readings in a row before it is reported, so a phone walking around the house does not spam you.
  • It creates entities through MQTT discovery: a bad connection count, worst and average signal, per-access-point stats, and one signal sensor per client.
  • It fires a wifi_monitor_alert event, keeps a persistent notification of current problems, and logs to a CSV file.
  • An ignore list, managed from the dashboard, covers phones and tablets that come and go.

It ships with a dashboard built from built-in cards only, plus a blueprint that sends alerts to your phone and clears them when the device recovers.

What you need

A UniFi OS console (the author lists UCG, UDM, UDR and Cloud Key Gen2+) and either an API key from it or a local read-only account. For the full set of entities you also need Mosquitto or another MQTT broker. To install, add the repository URL under Settings, Apps, App store, the three-dot menu, Repositories, or use the My Home Assistant link.

What it means for your system

Flaky Wi-Fi devices are one of the most common reasons an otherwise solid setup misbehaves, and this puts a number on it. Our take on how to use it:

  • Treat it as early software. The author runs it daily on Home Assistant OS (x86) with a UCG Max, four U7 Pro and three AC Pro access points. The aarch64 image builds, but they have not tested it on a Pi. They specifically ask for reports from UDM, Cloud Key and older Network versions. The repository is new, with 5 commits and no stars yet. We have not run it ourselves.
  • Use the read-only account. The app only needs to read client data, so give it the least access that works rather than a full admin login.
  • Tune the ignore list first. Mobile devices will always look bad at some point. Ignore them so the alerts that remain mean something, like a fixed camera or charger sitting at a poor signal.
  • Check your MQTT setup. If you already run Mosquitto for Zigbee2MQTT or similar, it will show up there with discovery. If you do not, you are adding a broker just for this.

A weak reading on a fixed device is usually a placement or access point question, not a device fault. It is also worth remembering that 2.4 GHz Wi-Fi shares spectrum with Zigbee, Thread and Bluetooth, so a crowded band can hurt more than one protocol at once.

A note on how it was built

The author says they built it with a lot of help from Claude, the AI assistant, and that they reviewed and tested the code on their own network. The repository says the same. It is MIT licensed, and issues and pull requests are welcome. As with any community app that talks to your network gear, read what it asks for before you install it.

Bottom line

If you run UniFi and have a pile of Wi-Fi devices, this is a low-cost way to catch a bad connection before it breaks an automation. If you are on a Pi or an older UniFi version, expect to be an early tester rather than a user.

Sources