KB-1901293

Install RadiusStack-HA in Home Assistant with HACS

Add the custom integration, connect it to the API on a trusted network, and select Global or tenant scope explicitly.

10 views

Install the custom repository

RadiusStack-HA is the Home Assistant integration, not RadiusStack cluster high availability. The 2.0.2 project lists Home Assistant 2024.1.0 or later. In HACS, open the menu for Custom repositories, add https://github.com/deangoldhill/RadiusStack-HA as category Integration, install the package, and restart Home Assistant as directed. Then use Settings → Devices & services → Add Integration and search for RadiusStack, the manifest name; the HACS package is named RadiusStack-HA.[10][11][17]

Enter API connection details

  1. On a RadiusStack administrator with only the permissions you need, use Administrators → select admin → Generate API Key. For initial setup, the selected key must be able to read the dashboard overview report in the intended scope. Use an approved key store, not a note or dashboard card.[10][12][13]
  2. In Host / IP address, enter a bare internal hostname or IP, such as radius.internal.example. API port defaults to 3000; don't enter a full HTTPS URL or one of the RADIUS packet ports. The 2.0.2 client constructs an HTTP URL, so keep this traffic on a secured private network or protected tunnel. Do not publish this API port to make setup easier.[13][17]
  3. Leave Tenant ID (optional) empty or 0 for Global, or enter the actual positive tenant ID, not its display name. Use Poll interval (seconds) of 60 as a starting point; the form minimum is 10. Submit and expect the entry title RadiusStack (Global) or RadiusStack (Tenant N) when that scope passes the API check.[12][17][16]

Check the first sensor update

Open the new integration entry and inspect an overview sensor such as Total Users in the same scope as the RadiusStack web console. A loaded entry is not proof that all optional endpoints are available. If the form rejects the key, check the report permission and tenant before generating a replacement. If setup cannot connect, start from the Home Assistant host's route and API port rather than the browser device's route. Keep Restart buttons out of a monitoring dashboard and don't grant write access merely to populate statistics.[13][14][15]

Sources