Feature: ESP-NOW auto mesh + Nodes (ESP-NOW) UI

- Broadcast beacons with magic KLNK; no MAC pairing
- Track up to 8 peer MACs; stale after 12s
- Telemetry/health JSON: espnow_ok, espnow_peers
- Web metric + OLED health line
- README: ESP-NOW section and channel requirement

Made-with: Cursor
This commit is contained in:
drjones
2026-03-21 17:58:20 -07:00
parent 9f5428c55f
commit 01d95ee0e9
3 changed files with 176 additions and 7 deletions

View File

@@ -89,4 +89,9 @@
#define CAP_DURATION_S 4 // max capture window (seconds)
#define CAP_BUF_BYTES ((CAP_SAMPLE_HZ * CAP_DURATION_S) / 8 + 8) // ~50 KB
// ESP-NOW mesh: auto-discover other boards on same firmware (same AP WiFi channel)
#define ESPNOW_BEACON_MS 750 // broadcast presence interval
#define ESPNOW_PEER_STALE_MS 12000 // drop peer if silent this long
#define ESPNOW_MAX_PEERS 8 // max other nodes tracked (4+ boards)
#endif