ESP32 Projects
Start a build
Markdown

ESP32 Server Management for ESP32-C3

An ESP32 display project for ESP32-C3.

ESP32-C3Arduino, PlatformIOUnrated
Parts and source

Before you start

Confirm board compatibility and supported firmware targets in the upstream documentation.

Upstream README

ESP32 Server Management Dashboard

ESP32 PlatformIO C++ Arduino

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_deps and include server.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