Hi all,
I'd like to share a flow I built for my own home setup: a WireGuard monitor for Node-RED Dashboard 2.

It polls wg show all dump on the router over SSH (or locally) every 30 s and shows:
- all peers with tunnel / endpoint IP, live rate, a 24 h traffic graph, totals, last handshake and time online today
- a 7-day online heatmap and an event log (connect, disconnect, endpoint change, router outage)
- live orbiting icons for the active tunnels

What I found tricky: WireGuard has no real "connected" state, only the last handshake. My iPhone kept "disconnecting" every few minutes while it was asleep. So the dashboard shows the live state right away, but the log and Telegram only record a disconnect after a configurable wait (per device, e.g. 1 min for routers, 10 min for phones).
Other bits:
- demo mode, so you can try it without a router
- no extra packages besides Dashboard 2, uses the built-in exec node
- read-only SSH key on the router (
command="wg show all dump"), so the key can't do anything else - English / Hungarian UI, CSV export, multiple routers
Tested on a Teltonika RUTX10 (RutOS) with Node-RED 4 + Dashboard 2 1.36.1 in Docker on a Synology NAS. OpenWrt should work the same way (same dropbear SSH). Plain Linux and local mode aren't tested yet, so feedback is very welcome.
Flow library: WireGuard monitor dashboard (Dashboard 2) – peers, traffic, history, Telegram alerts (flow) - Node-RED
The GitHub repo (README, screenshots, demo video) is linked from the flow page: juhasz-zoltan/node-red-wireguard-monitor
Full disclosure: I'm a network / security integrator, not a programmer. Most of the code was written with AI assistance (Claude), and I designed and tested it on my own gear. Happy to hear what you think, and what breaks on your setup!
Zoltán