Menu

Built a local ESP32 web server that toggles an LED from my phone — no app, no cloud

#esp32#redditesp32#phone#home#board
Reading 0:00
15s threshold

I wanted a dumb phone-controlled light without Home Assistant / Blynk / any cloud — just a browser on my phone talking to the board on my LAN.

Why this ESP32 variant: I used a plain ESP32-WROOM-32 DevKit (dual-core Xtensa) because Wi-Fi is built in, Arduino-ESP32 support is solid, and I did not need BLE, camera, or ESP32-S3 extras for a single LED toggle.

Hardware: - ESP32-WROOM-32 DevKit - LED + current-limiting resistor on GPIO 26 - Powered over USB for the test

Libraries / stack and why: - Arduino-ESP32 core + WiFi.h for STA join - WebServer.h (built-in) instead of ESPAsyncWebServer — for one GET /toggle endpoint Async was overkill and harder to debug on a 60s demo - No MQTT / ESP-NOW / Home Assistant — HTTP was enough for one client and one pin

How it works: Board joins Wi-Fi, prints its IP, serves a tiny HTML page with one button. Phone opens that IP → tap → GET /toggle → flip pin 26. Traffic never leaves the LAN.

Technical hurdles: 1.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.