KB-4673524

Build a read-only RadiusStack view in Home Assistant

Choose the right sensors for session counts, reject trends and capacity, and compare them with the same RadiusStack scope.

12 views

Group signals by the question they answer

Use Active Sessions from the overview for the current server-reported total. Active Session Records counts rows returned by the separate active-session request, which asks for a limit of 500; it is not a second unrestricted total. Authentications Today and Auth Rejects Today are overview values. Rejects Last Hour is a different, rolling window from live statistics. Label cards with both the scope and period so an on-call reader does not compare unlike numbers.[13][15]

Create a practical monitoring view

  1. On the Home Assistant dashboard, group Active Sessions, Accepts Last Hour and Rejects Last Hour together under the intended RadiusStack entry. Use Home Assistant's entity picker instead of guessing the generated entity ID. If you monitor multiple entries, start with one and label it with the tenant number or Global scope.[12][15]
  2. Add capacity signals separately: Depleted Allocations is summarized into total, users and MAC devices, while NAS Authentications Today and Downstream Requests Today are derived from collected per-object statistics. Do not present downstream counts as authentication successes. Keep container restart controls off monitoring views.[13][14][15]
  3. Compare one overview reading and one live statistic with the matching RadiusStack scope and time window. With periodic polling, the web console may have a newer sample. Record a time and recheck after the configured interval before treating a small transient difference as a defect.[14][12]

Avoid alerting on missing optional data

Optional queries can fail while the required overview remains healthy. An optional metric may be absent or look like zero because the coordinator supplies empty fallback data and some sensors count items from that fallback. For example, a zero Active Session Records beside a nonzero Active Sessions calls for checking the sessions endpoint and account permission before deciding all clients disconnected. Save a screenshot or event note containing only aggregates if you need to compare trends later. Avoid using an unverified zero as the sole trigger for a disruptive automation.[13][14][15]

Sources