Add Wi-Fi scan details display and MQTT publish
- HTML: Add Wi-Fi scan results container to network.html - Rust: Implement `wifi_scan_details()` with RSSI, channel, auth method - API & UI: Fetch and display scan results in table format - MQTT: Publish top 10 networks sorted by RSSI to `/wifi_scan`
This commit is contained in:
@@ -280,6 +280,7 @@ async fn safe_main(spawner: Spawner) -> FatResult<()> {
|
||||
error!("Error publishing battery state {e}");
|
||||
});
|
||||
let _ = mqtt::publish_mppt_state(&mut board).await;
|
||||
let _ = mqtt::publish_wifi_scan(&mut board).await;
|
||||
}
|
||||
|
||||
log(
|
||||
|
||||
Reference in New Issue
Block a user