Status Panels over MQTT
LAN-only health monitoring for my web server and home devices. A poller pulls server telemetry over a locked-down SSH key, and an MQTT bus carries alerts to tablets, Raspberry Pi and NodeMCU displays, and Telegram.
Server health, security updates, traffic per site, login attempts and certificate expiry. Nothing is exposed on the public server: a poller on the local network runs the collector over SSH every five minutes and serves the dashboard on the LAN.
It began as that one dashboard and is now a set of small projects that share an MQTT broker:
- Hub (devicehealth-webserver): one front door on the LAN for the local services, with a tiles page of live summaries. It supervises the services and the Mosquitto broker, manages device logins, and forwards alerts to Telegram with sensitive details removed.
- StatusPanel (devicehealth-linuxserver): the server collector, the SSH poller and the dashboard. Alerts are published to the bus, and a site is confirmed down before anything alerts.
- TabletPanel (devicehealth-tabletweather): wall-mounted Android tablets showing time and weather. Their server relays alerts from the bus and adds National Weather Service alerts to it.
- Pi display (devicehealth-pidisplay): a Raspberry Pi with a 480x320 LCD showing a Wi-Fi signal meter and the server’s status.
- NodeMCU sketches (devicehealth-arduino): ESP8266 Wi-Fi meters and the shared library that puts them on the bus.
Raspberry Pis and NodeMCUs report their own health every 30 seconds. From the hub’s devices page each one can be added, updated, identified on its own screen, or marked out of service so its warnings stop reaching the displays.