ESP32 Server Management for ESP32-C3
An ESP32 display project for ESP32-C3.
Parts and sourceBefore you start
Confirm board compatibility and supported firmware targets in the upstream documentation.
Upstream README
ESP32 Server Management Dashboard
A physical one-click power switch for your home server β built on an ESP32.

π€ AI Notice
Parts of this project (dashboard UI, firmware refactoring and documentation) were developed with the help of AI tooling (Claude Code). All changes were reviewed, tested on real hardware and are maintained by the author.
π Project Structure
π¦ ESP32 Server Management Dashboard
βββ π src/
β βββ π― main.cpp # Server setup & route registration
β βββ π routes/
β βββ π₯οΈ routes.server.manager.h/.cpp # Power on/off + status polling
β βββ π€οΈ routes.example.h/.cpp # Example routes
βββ π data/
β βββ π web/
β βββ π¨ index.html # Dashboard UI (SVG + JS)
β βββ π¨ main.css # Styles
βββ π include/ # Shared headers
βββ π library.json # PlatformIO library config
βββ βοΈ platformio.ini # Build targets
βββ π README.md
π Built With
ESP32 MiniWebServer Framework A lightweight HTTP server framework for ESP32 β routing, LittleFS file serving, WiFi management, and a built-in admin dashboard. Add it to any PlatformIO project via
lib_depsand includeserver.h.
π Acknowledgments
- π Arduino Community for the amazing ecosystem
- π§ PlatformIO for the excellent development platform
- π ESP32 community for inspiration and support
- π Open Source contributors worldwide
Overview
This project turns an ESP32 into a tiny always-on web server that lets you boot and shut down a home server (or NAS) from any device on your local network β no SSH, no VPN, no laptop required.
The ESP32 sits permanently on the network and serves a browser-based dashboard. From there you can:
- Power on the server by sending a Wake-on-LAN magic packet over UDP.
- Shut down the server by calling a remote API endpoint on the server itself.
- Monitor whether the server is currently reachable and jump to its dashboard (
https://nfs.fritz.box) once it is online.
The dashboard polls the ESP32 every 30 seconds to reflect the current state. A background FreeRTOS task probes the server over HTTPS every 15 seconds and updates an internal state singleton that all HTTP handlers read from.
Because the ESP32 draws only a few milliwatts in idle, it can stay on around the clock while the main server sleeps.
Built with the ESP32 MiniWebServer Framework.
May not work with RISC-V based ESP32 variants:
- ESP32-C3
- ESP32-C6
- ESP32-H2
Should work with:
- ESP32 (WROOM, WROVER, CAM ...)
- ESP32-S2
- ESP32-S3