github jmasarweh/UniFi-Insights-Plus v2.3.0-beta.1
v2.3.0-beta.1 — Self-Hosted Controller Support

latest releases: v3.7.0, v3.6.3, v3.6.2...
pre-release3 months ago

⚠️ Pre-release — this is a beta build for early testing. Report issues at the GitHub discussion page #36.

What's New

Self-Hosted Controller Support

  • Cookie-based authentication for self-hosted UniFi Network Application (POST /api/login with remember: true)
  • Automatic site _id resolution — self-hosted requires the unique site ID, not the site name
  • Session re-authentication on 401/403 or api.err.LoginRequired responses
  • Wizard controller type selector: "Cloud Gateway (UniFi OS)" vs "Local Gateway (Self-Hosted)"
  • Saved credentials with encrypted storage (Fernet) — re-use on reconnect without re-entering
  • Credentials excluded from config export for security

Firewall Gating

  • Firewall management disabled for self-hosted controllers (supports_firewall: false)
  • Info banner in Settings Firewall section explaining the limitation
  • Setup wizard skips firewall step when connected to self-hosted

Diagnostics (Temporary)

  • In-app Diagnostics tab in Settings for self-hosted API exploration
  • Backend endpoint probes ~16 API endpoints and returns raw JSON
  • Copy/Download JSON for sharing diagnostic data

Key Files Modified

  • receiver/unifi_api.py_build_url(), _login_session(), _resolve_site_id(), re-auth logic, feature flag gating
  • receiver/routes/unifi.py — Self-hosted credential handling in test/save endpoints
  • ui/src/components/UniFiConnectionForm.jsx — Controller type toggle, username/password fields
  • ui/src/components/SetupWizard.jsx — Firewall step gating for self-hosted
  • ui/src/components/SettingsFirewall.jsxsupports_firewall info banner

Don't miss a new UniFi-Insights-Plus release

NewReleases is sending notifications on new releases.