Files
beszel-ipv6/agent/wifi
henrygd a042e19549 wifi(linux): query associated station directly
mdlayher/wifi only dumps stations, which some full-MAC drivers (e.g.
out-of-tree Realtek USB) answer with an empty list, leaving RSSI
unavailable. Request the associated BSSID's station directly, as
`iw link` does, and parse it with native.ParseStationInfo.
2026-09-25 19:59:18 -04:00
..

Connected Wi-Fi signal

Reports connected station interfaces only (no scans). info.wf holds the current snapshot keyed by interface (s SSID, r RSSI in dBm when available); stats.wf stores available RSSI as integer dBm. Collected on the default interval only; real-time requests reuse the last snapshot.

  • Linux: nl80211 via github.com/mdlayher/wifi. Docker needs network_mode: host.
  • macOS: CoreWLAN via osascript (JXA). SSID may be redacted by privacy settings.
  • Windows: native WLAN API, keyed by interface GUID.
  • Other platforms: unsupported.