Guides · 9 min read

ESP32 Busy Light: Home Office Status Lamp with Calendar Sync

Build an ESP32 busy light: red, green and yellow status on WS2812B, one-click control from phone or computer, automatic meeting mode from Google Calendar.

A busy light is a small status lamp that people working from home put on the door or next to the desk: green means come in, red means a video call or deep work, and yellow says "free in a minute". Ready-made ones are expensive and most only work with one particular app. In this guide you'll build your own with an ESP32 and a few WS2812B LEDs; you can control it from your phone, your computer or a button on the case, and if you like it will check your Google Calendar and turn red on its own when a meeting starts.

The project has two stages. First we test the LED colours and the button without Wi-Fi. Then we add a small web server to the ESP32 so the status can be changed from any device with one click, and finally a Google Apps Script detects calendar meetings automatically. At the end you'll find practical tips for mounting the light neatly on the door.

WS2812B addressable RGB LED
WS2812B LEDs, each able to take its own colour, form the body of the busy light

How does an ESP32 busy light work?

The ESP32 joins your home Wi-Fi and serves a small web page. The page has a big button for each status; tap one on your phone and the ESP32 stores the status and paints the WS2812B LEDs in that colour. You can do the same by opening an address on your computer, pressing the physical button by the door or automatically in calendar mode. Because the ESP32 writes the last status to flash, the light picks up where it left off after a power cut. On the local network the device can also be reached as mesgul.local, so you don't have to remember its IP address.

PartQtyNote
ESP32 development board1DevKit V1 or similar, powered over USB
WS2812B LED stick or ring18-LED stick or 12-LED ring
330 Ω resistor1In series with the data line
1000 µF 10 V capacitor1Across the LED supply
Push button1On top of the case, for changing status by hand
5 V 1 A USB adapter and cable1A flat USB cable slips easily through the door gap
Frosted acrylic or 3D-printed case1Diffuses the light and hides the individual dots

Status and colour table

We picked the colours from the traffic light logic everyone understands instantly. Red is used for two states: steady red means "busy, knock if you must", while slowly breathing red means "camera and microphone are on, do not come in". The breathing effect catches the eye without being tiring; the brightness swings gently between 20 and 100 percent every two seconds. The last column of the table is the command you send to the ESP32 to change the status.

StatusColourEffectMeaningCommand
FreeGreenSteadyCome in, questions welcome/set?s=free
BusyRedSteadyFocused work or a phone call/set?s=busy
In a meetingRedSlow breathingVideo call, camera and microphone on/set?s=meeting
Back soonYellowSteadyShort break, come back in a few minutes/set?s=away
OffDarkNoneDone for the day/set?s=off
Calendar modeGreen or breathing redAutomaticMeeting if there's an event in the calendar, otherwise free/set?s=auto

Wiring diagram

PartPart pinESP32 pin
WS2812BDINGPIO 16 (through 330 Ω)
WS2812B5V / VCCVIN (5 V from USB)
WS2812BGNDGND
1000 µF capacitor+ / −WS2812B 5V / GND
Push buttonOne leg (other to GND)GPIO 27
The ESP32 outputs 3.3 V signals, while a WS2812B powered at 5 V expects about 3.5 V on its data input. With a short wire (under 10 cm) 3.3 V usually works, but if the LEDs show random colours add a level shifter such as a 74AHCT125 on the data line. Don't power the LEDs from the ESP32's 3V3 pin; its regulator can't carry both the ESP32 and the LEDs. Mind the capacitor's polarity and place the 330 Ω resistor close to the LEDs.

Controlling the WS2812B: first test

The first sketch doesn't use Wi-Fi; it only checks that the LEDs are wired correctly and shows how the colours look. Install the Adafruit NeoPixel library from the Library Manager in the Arduino IDE, select ESP32 Dev Module as the board and upload the code. Every press of the button should step the light through green, red, breathing red and yellow.

C++ (Arduino IDE)
1// ESP32 meşgul ışığı, 1. adım: WS2812B renk testi ve butonla durum değiştirme (Wi-Fi yok)
2// ESP32 busy light, step 1: WS2812B colour test and changing status with a button (no Wi-Fi)
3#include <Adafruit_NeoPixel.h>
4
5const byte LED_PIN = 16;      // WS2812B DIN (330 Ω direnç ile) / WS2812B DIN (through 330 Ω)
6const byte BUTTON_PIN = 27;   // Buton GND'ye / button to GND
7const byte LED_COUNT = 8;     // 8 LED'lik çubuk / 8-LED stick
8const byte BRIGHTNESS = 60;   // 0-255, göz almasın / don't dazzle
9
10Adafruit_NeoPixel strip(LED_COUNT, LED_PIN, NEO_GRB + NEO_KHZ800);
11
12enum Status { ST_FREE, ST_BUSY, ST_MEETING, ST_AWAY };
13Status status = ST_FREE;
14bool lastButton = HIGH;
15unsigned long lastChange = 0;
16
17void fill(uint8_t r, uint8_t g, uint8_t b, float level) {
18  for (byte i = 0; i < LED_COUNT; i++) strip.setPixelColor(i, r * level, g * level, b * level);
19  strip.show();
20}
21
22void showStatus() {
23  switch (status) {
24    case ST_FREE: fill(0, 255, 0, 1.0); break;      // Yeşil: müsait / green: free
25    case ST_BUSY: fill(255, 0, 0, 1.0); break;      // Kırmızı: meşgul / red: busy
26    case ST_MEETING: {                              // Kırmızı nefes: toplantı / red breathing: meeting
27      float level = 0.2 + 0.8 * (0.5 + 0.5 * sin(millis() * 2.0 * PI / 2000.0));
28      fill(255, 0, 0, level);
29      break;
30    }
31    case ST_AWAY: fill(255, 150, 0, 1.0); break;    // Sarı: birazdan / yellow: back soon
32  }
33}
34
35void setup() {
36  pinMode(BUTTON_PIN, INPUT_PULLUP);
37  strip.begin();
38  strip.setBrightness(BRIGHTNESS);
39  strip.show();
40}
41
42void loop() {
43  bool b = digitalRead(BUTTON_PIN);
44  if (b == LOW && lastButton == HIGH && millis() - lastChange > 200) { // Basma anı + debounce / press edge + debounce
45    status = (Status)((status + 1) % 4);
46    lastChange = millis();
47  }
48  lastButton = b;
49
50  static unsigned long lastFrame = 0;
51  if (millis() - lastFrame >= 20) { // 50 kare/sn / 50 frames per second
52    lastFrame = millis();
53    showStatus();
54  }
55}

Most WS2812B LEDs take the colours in green, red, blue order, which is why we create the object with NEO_GRB. If the colours come out wrong (red instead of green), try NEO_RGB. For yellow we use 255, 150, 0; since green looks brighter on LEDs, 255, 255, 0 looks more lime than yellow. The breathing effect is calculated with sin(): millis() is mapped onto a 2000 ms period, the result is shifted into the 0 to 1 range and the brightness never drops below 20 percent. The current is easy to work out too: at full brightness a single colour channel draws about 20 mA per LED, so 8 LEDs in red draw 160 mA; with BRIGHTNESS = 60 that drops to around 40 mA, which any USB adapter handles easily.

Control from your phone and computer over Wi-Fi

  1. Enter your home network's name and password in WIFI_SSID and WIFI_PASS in the code below.
  2. If you haven't set up calendar mode yet, leave CALENDAR_URL as it is; manual control still works.
  3. Upload the code, open the Serial Monitor at 115200 baud and note the IP address the ESP32 gets.
  4. Open the browser on your phone and go to http://mesgul.local or the IP address you noted.
  5. Add the page to your home screen; that way the busy light opens on your phone like an app with one tap.
C++ (Arduino IDE)
1// ESP32 meşgul ışığı: web sayfası, tek tık adresleri, buton ve Google Takvim ile otomatik toplantı modu
2// ESP32 busy light: web page, one-click URLs, button and automatic meeting mode from Google Calendar
3#include <WiFi.h>
4#include <WebServer.h>
5#include <ESPmDNS.h>
6#include <HTTPClient.h>
7#include <WiFiClientSecure.h>
8#include <Preferences.h>
9#include <Adafruit_NeoPixel.h>
10
11const char* WIFI_SSID = "AgAdi";          // Wi-Fi adın / your Wi-Fi name
12const char* WIFI_PASS = "AgSifresi";      // Wi-Fi şifren / your Wi-Fi password
13const char* CALENDAR_URL = "https://script.google.com/macros/s/KENDI_ID/exec"; // Apps Script adresi / Apps Script URL
14const char* HOSTNAME = "mesgul";          // http://mesgul.local
15
16const byte LED_PIN = 16, BUTTON_PIN = 27, LED_COUNT = 8, BRIGHTNESS = 60;
17const unsigned long CALENDAR_PERIOD = 60000; // Takvimi dakikada bir sor / ask the calendar once a minute
18
19Adafruit_NeoPixel strip(LED_COUNT, LED_PIN, NEO_GRB + NEO_KHZ800);
20WebServer server(80);
21Preferences prefs;
22
23enum Status { ST_FREE, ST_BUSY, ST_MEETING, ST_AWAY, ST_OFF };
24const char* NAMES[] = {"free", "busy", "meeting", "away", "off"};
25Status status = ST_FREE;
26bool autoMode = false;                     // Takvim modu / calendar mode
27unsigned long lastPoll = 0, lastFrame = 0, pressStart = 0;
28bool lastButton = HIGH;
29
30void fill(uint8_t r, uint8_t g, uint8_t b, float level) {
31  for (byte i = 0; i < LED_COUNT; i++) strip.setPixelColor(i, r * level, g * level, b * level);
32  strip.show();
33}
34
35void showStatus() {
36  switch (status) {
37    case ST_FREE: fill(0, 255, 0, 1.0); break;
38    case ST_BUSY: fill(255, 0, 0, 1.0); break;
39    case ST_MEETING: fill(255, 0, 0, 0.2 + 0.8 * (0.5 + 0.5 * sin(millis() * 2.0 * PI / 2000.0))); break;
40    case ST_AWAY: fill(255, 150, 0, 1.0); break;
41    case ST_OFF: fill(0, 0, 0, 0); break;
42  }
43}
44
45void save() {
46  prefs.putUChar("status", status);
47  prefs.putBool("auto", autoMode);
48}
49
50void setStatus(Status s) {
51  status = s;
52  autoMode = false;                        // Elle seçim otomatiği kapatır / a manual choice turns auto off
53  save();
54}
55
56void startAuto() {
57  autoMode = true;
58  lastPoll = 0;                            // Hemen takvime bak / check the calendar right away
59  save();
60}
61
62void pollCalendar() {
63  WiFiClientSecure client;
64  client.setInsecure();                    // Sertifika doğrulaması yok, yalnız okuma / no cert check, read-only data
65  HTTPClient http;
66  http.setFollowRedirects(HTTPC_STRICT_FOLLOW_REDIRECTS); // Apps Script yönlendirir / Apps Script redirects
67  http.setTimeout(8000);
68  if (!http.begin(client, CALENDAR_URL)) return;
69  int code = http.GET();
70  if (code == 200) {
71    String body = http.getString();
72    body.trim();
73    status = (body == "busy") ? ST_MEETING : ST_FREE;
74    Serial.println("Takvim / calendar: " + body);
75  } else {
76    Serial.printf("Takvim hatası / calendar error: %d\n", code); // Durum değişmez / status stays
77  }
78  http.end();
79}
80
81void handleRoot() {
82  String page = "<!DOCTYPE html><html><head><meta charset='utf-8'>"
83                "<meta name='viewport' content='width=device-width'><title>Mesgul</title>"
84                "<style>a{display:block;margin:10px;padding:18px;border-radius:12px;color:#fff;"
85                "text-align:center;font:20px sans-serif;text-decoration:none}</style></head><body>"
86                "<p style='font:18px sans-serif'>Durum / status: <b>" + String(NAMES[status]) +
87                (autoMode ? " (auto)" : "") + "</b></p>"
88                "<a style='background:#1a7f37' href='/set?s=free'>Müsait / Free</a>"
89                "<a style='background:#cf222e' href='/set?s=busy'>Meşgul / Busy</a>"
90                "<a style='background:#8b0000' href='/set?s=meeting'>Toplantı / Meeting</a>"
91                "<a style='background:#b08800' href='/set?s=away'>Birazdan / Back soon</a>"
92                "<a style='background:#555' href='/set?s=off'>Kapalı / Off</a>"
93                "<a style='background:#0969da' href='/set?s=auto'>Takvim / Calendar</a></body></html>";
94  server.send(200, "text/html; charset=utf-8", page);
95}
96
97void handleSet() {
98  String s = server.arg("s");
99  if (s == "auto") startAuto();
100  else for (byte i = 0; i < 5; i++) if (s == NAMES[i]) setStatus((Status)i);
101  server.sendHeader("Location", "/");
102  server.send(303);
103}
104
105void handleStatus() {                       // Betikler için düz metin / plain text for scripts
106  server.send(200, "text/plain", String(NAMES[status]) + (autoMode ? " auto" : ""));
107}
108
109void readButton() {
110  bool b = digitalRead(BUTTON_PIN);
111  if (b == LOW && lastButton == HIGH) pressStart = millis();      // Basıldı / pressed
112  if (b == HIGH && lastButton == LOW) {                          // Bırakıldı / released
113    unsigned long held = millis() - pressStart;
114    if (held > 1000) startAuto();                                 // Uzun bas: takvim / long press: calendar
115    else if (held > 30) setStatus((Status)((status + 1) % 4));    // Kısa bas: sıradaki renk / short press: next colour
116  }
117  lastButton = b;
118}
119
120void setup() {
121  Serial.begin(115200);
122  pinMode(BUTTON_PIN, INPUT_PULLUP);
123  strip.begin();
124  strip.setBrightness(BRIGHTNESS);
125  fill(0, 0, 255, 0.3);                      // Mavi: bağlanıyor / blue: connecting
126
127  prefs.begin("mesgul", false);
128  status = (Status)prefs.getUChar("status", ST_FREE);
129  autoMode = prefs.getBool("auto", false);
130
131  WiFi.mode(WIFI_STA);
132  WiFi.setHostname(HOSTNAME);
133  WiFi.begin(WIFI_SSID, WIFI_PASS);
134  while (WiFi.status() != WL_CONNECTED) delay(250);
135  Serial.println(WiFi.localIP());
136  MDNS.begin(HOSTNAME);
137
138  server.on("/", handleRoot);
139  server.on("/set", handleSet);
140  server.on("/status", handleStatus);
141  server.begin();
142}
143
144void loop() {
145  server.handleClient();
146  readButton();
147  if (autoMode && (lastPoll == 0 || millis() - lastPoll >= CALENDAR_PERIOD)) {
148    lastPoll = millis();
149    pollCalendar();
150  }
151  if (millis() - lastFrame >= 20) {
152    lastFrame = millis();
153    showStatus();
154  }
155}

The code ties three input channels to the same functions. The buttons on the web page and the addresses opened from the computer go to handleSet(), while the button on the case is read by readButton(): a short press moves to the next colour, a press longer than one second turns on calendar mode. Choosing a colour by hand turns calendar mode off, so you can override the calendar when you want to say "I'm free" before a meeting ends. Preferences writes the status and mode to flash. The LEDs are updated 50 times per second, which keeps the breathing effect smooth. In calendar mode the ESP32 sends an HTTPS request once a minute; because it can take a second or two, the breathing may pause briefly at that moment, which is normal. The code was compiled with ESP32 Arduino core 2.0.11 and uses no functions specific to 3.x.

AddressWhat it does
http://mesgul.local/Control page with the colour buttons
/set?s=freeSets Free (green) and turns calendar mode off
/set?s=busySets Busy (steady red)
/set?s=meetingSets Meeting (breathing red)
/set?s=awaySets Back soon (yellow)
/set?s=offTurns the light off
/set?s=autoTurns calendar mode on and checks the calendar right away
/statusReturns the current status as plain text, e.g. meeting auto

Change the status with one click from your computer

You don't want to reach for your phone right before a meeting, so one click on the computer is the most convenient method. Since the ESP32 accepts every command as a plain web address, you don't need to write any extra program. The curl command, built into Windows 10 and later, macOS and Linux, calls the address in the background.

Code
1# Durumu değiştir / change the status (Windows 10+, macOS, Linux)
2curl "http://mesgul.local/set?s=meeting"
3curl "http://mesgul.local/set?s=free"
4
5# Takvim moduna al / switch to calendar mode
6curl "http://mesgul.local/set?s=auto"
7
8# Şu anki durumu oku / read the current status
9curl "http://mesgul.local/status"
10
11# .local çözülmezse IP adresini kullan / use the IP if .local does not resolve
12curl "http://192.168.1.50/set?s=busy"
  • Bookmark: add a bookmark for each status to the browser's bookmarks bar; one click changes the status and the page shows the new state.
  • Windows desktop shortcut: right-click the desktop, choose New and Shortcut and enter the curl command as the target; you can also assign a keyboard shortcut to it.
  • macOS Shortcuts: create a shortcut with the "Get Contents of URL" action and pin it to the menu bar or a key combination.
  • Macro keypad: map each status to its own key on a small macro keypad and you can run the light without leaving your desk.
  • If .local doesn't work: some Android phones and corporate networks don't resolve mDNS names; give the ESP32 a fixed IP in your router and use it in the addresses.

Automatic meeting mode from your calendar

The handiest setup is when the light checks the calendar by itself. Giving the ESP32 direct access to your Google account would be hard and unnecessary from a security point of view. Instead, we write a few lines in Google's free Apps Script service: the script runs under your account, looks at your calendar and returns only the word "busy" if an event is on right now, otherwise "free". The ESP32 reads this address once a minute. That way the titles, attendees and descriptions of your events never reach the ESP32 or the network.

  1. On your computer, open Google Apps Script and create a New project.
  2. Delete the code in the file, paste the script below and save.
  3. From the Deploy menu choose New deployment and select Web app as the type.
  4. Set Execute as to Me and Who has access to Anyone, then click Deploy; Google will ask for calendar permission, approve it with your account.
  5. Copy the web app address ending in /exec and paste it into CALENDAR_URL in the ESP32 code.
  6. Open the address in a browser first: it should show only free or busy. Then turn on calendar mode on the ESP32.
JavaScript
1// BlueGrays meşgul ışığı: takvimde şu an toplantı var mı? / is there a meeting right now?
2// Google Apps Script, Web uygulaması olarak dağıt / deploy as a Web app
3function doGet() {
4  var now = new Date();
5  var soon = new Date(now.getTime() + 60 * 1000); // Önümüzdeki 1 dakika / the next minute
6  var events = CalendarApp.getDefaultCalendar().getEvents(now, soon);
7  var busy = events.some(function (e) {
8    // Tüm gün etkinlikleri ve reddettiklerin sayılmaz / skip all-day and declined events
9    return !e.isAllDayEvent() && e.getMyStatus() !== CalendarApp.GuestStatus.NO;
10  });
11  return ContentService.createTextOutput(busy ? "busy" : "free");
12}

getEvents() returns every event that runs or starts between now and one minute from now. All-day events (birthdays, days off) and meetings you declined are ignored; otherwise the light would stay red all day. Since the ESP32 asks once a minute, the light turns red at most one minute after a meeting starts. Apps Script's daily call quota is more than enough for one request per minute. Even though the address is public, it only returns "busy" or "free"; still, don't share it with anyone. If you use Home Assistant instead of Google, an automation can do the same job by calling the ESP32's /set?s=meeting address when a calendar event starts; see the ESP32 MQTT and Home Assistant article for details.

Mounting on the door and the case

  • Put the LEDs inside a case made of frosted acrylic or translucent white PLA; the light then looks like an even surface rather than separate dots. A ping-pong ball also makes a cheap, neat diffuser.
  • Place the light on the outside of the door, slightly above eye level; someone walking down the hallway should see the colour before reaching the door.
  • Fix the case with double-sided mounting tape, or with a magnet glued to the back on a metal door; no drilling needed.
  • Use a flat USB cable and run it through the gap between the door and the frame on the hinge side; hold it to the frame with cable clips.
  • With Wi-Fi on, the ESP32 draws more than 100 mA, so it won't last long on a battery; always power the light from a USB adapter.
  • If you can't run a cable to the door, use two ESP32 boards: the control box on your desk sends commands straight to the light on the door over ESP-NOW.

Common problems and fixes

SymptomLikely causeFix
LEDs don't light at allWired to DOUT instead of DIN, or GND not sharedCheck the arrow on the stick, connect the input to DIN, join the GNDs
Colours wrong or flickering3.3 V data signal is borderline, wire too longShorten the wire, add the 330 Ω resistor or use a 74AHCT125
Red instead of greenDifferent LED colour orderTry NEO_RGB instead of NEO_GRB
mesgul.local won't openPhone or network doesn't support mDNSUse the IP from the Serial Monitor, give it a fixed IP in the router
Calendar mode always greenWrong CALENDAR_URL or deployment access not set to AnyoneTest the address in a browser, redeploy with Anyone access
Calendar mode always redA long event or a recurring blockCheck the event in your calendar or add a title filter to the script
Light stays blue at start-upWrong Wi-Fi name or password, or a 5 GHz-only networkCheck the credentials; the ESP32 only connects to 2.4 GHz networks
A title filter is easy to add to the script: for example, to show steady red for events with "Focus" in the title and breathing red for other meetings, have Apps Script return a third word such as "focus" and map it to the ST_BUSY state in the ESP32 code.

The busy light is a small project, but it solves the most common home office problem and teaches web servers, mDNS, persistent settings, HTTPS requests and addressable LEDs on the ESP32 in one build. For more colour experiments, see the ESP32 web colour picker article. In the BlueGrays app you can find step-by-step circuit diagrams and code for projects such as WS2812B NeoPixel strip control with the ESP32, controlling an LED with a button, an async web server, device access over mDNS and reading an API with HTTPClient, and build on your busy light with them.

Frequently asked questions

How do you make a busy light?

An ESP32, a few WS2812B LEDs and a push button are enough. The ESP32 connects to Wi-Fi and serves a small web page; tapping its buttons turns the LEDs green, red or yellow. You can also have a Google Apps Script detect calendar meetings automatically.

Can a busy light sync with my calendar?

Yes. You publish a small web app in Google Apps Script that checks your calendar and returns only busy or free, and the ESP32 reads that address once a minute. When a meeting starts, the light turns red within a minute, and event details never reach the ESP32.

How do I connect a WS2812B to an ESP32?

Connect the WS2812B's DIN to a GPIO pin through a 330 Ω resistor (GPIO 16 in this project), 5V to the ESP32's VIN pin and GND to GND. A 1000 µF capacitor across the supply softens the inrush current at power-up. With long wires you may need a level shifter for the 3.3 V data signal.

How do I change a busy light with one click from my computer?

The ESP32 accepts each status as a web address, for example http://mesgul.local/set?s=meeting. You can save that address as a browser bookmark or attach the curl command to a desktop shortcut or a keyboard shortcut.

Can an ESP32 busy light run on batteries?

With Wi-Fi on, the ESP32 constantly draws more than 100 mA, so a 2500 mAh 18650 cell lasts only about a day. Powering the door light from a USB adapter is the most trouble-free solution. If it must run on batteries, you would need to rebuild it around ESP-NOW with sleep periods.

What colour should a busy light show during a meeting?

The common convention is the traffic light: green for free, red for busy and yellow for a short break. In this project slowly breathing red sets video calls apart from steady red, so whoever is at the door knows right away that the camera is on.

See all projects
ESP32 LED Control with Push Button (Push)
ES-2Beginner

ESP32 LED Control with Push Button (Push)

The LED lights up when the button is pressed and turns off when released. Shows how the ESP32's digital input pin and internal pull-up resistor are used. The INPUT_PULLUP mode eliminates the need for an external resistor.

4.6(36)
57
ESP32 WS2812B NeoPixel Strip Control
ES-24Intermediate
Premium

ESP32 WS2812B NeoPixel Strip Control

WS2812B (NeoPixel) addressable LEDs are smart RGB LEDs that can be chained and controlled from a single data pin. In this project we drive an 8-LED WS2812B strip with the Adafruit_NeoPixel library and create a smooth rainbow animation. The ESP32's 3.3V logic works with most WS2812B batches; if it gets unstable, we show the fix with a 470Ω series resistor and a 1000µF capacitor. The animation shifts the hue in HSV color space.

4.9(19)
31
Using a WS2812B LED Strip
AR-69Intermediate
Premium

Using a WS2812B LED Strip

Meet a smart LED strip where you can colour every single light on its own. The Arduino first lights the first five LEDs red, a second later turns the other five blue, then switches them all off and…

4.8(54)
70
ESP32 RGB LED Control
ES-9Beginner

ESP32 RGB LED Control

Unlimited color generation with a single RGB LED instead of 3 separate LEDs. As in Arduino, we make a rainbow transition by setting the R/G/B values with analogWrite(). Color theory (such as red+green=yellow) is seen practically.

4.6(29)
52
ESP32 Asynchronous Web Server (with IP Display on LCD)
ES-27Advanced

ESP32 Asynchronous Web Server (with IP Display on LCD)

In this project, we’re turning the ESP32 into an asynchronous web server that you can control from your phone or computer on the same Wi-Fi network. Thanks to the ESPAsyncWebServer library, the server can process multiple requests simultaneously (unlike the classic WebServer.h, which blocks on a single request). You’ll be able to open the ESP32’s IP address in a browser and click the ON/OFF buttons (the /on and /off routes) to turn the LED connected to GPIO 5 on and off.

4.8(16)
27
ESP32 mDNS: Accessing the Device via bluegrays-esp.local (with LCD Screen)
ES-29Advanced
Premium

ESP32 mDNS: Accessing the Device via bluegrays-esp.local (with LCD Screen)

In this project we add an mDNS (Multicast DNS) service to the ESP32, so you reach it by a readable host name like bluegrays-esp.local instead of an IP address. Even if the IP assigned by DHCP changes, the device always answers to the same name. A small web server on the board lets you control the LED from your browser at http://bluegrays-esp.local/.

4.8(14)
23
ESP32 Wi-Fi STA Connection (with LCD Screen)
ES-25Advanced

ESP32 Wi-Fi STA Connection (with LCD Screen)

In this project, we connect the ESP32 to the home Wi-Fi network in Station (STA) mode in a secure, fault-tolerant manner. We store the SSID and password in a separate secrets.h file to prevent leaking to Git, set up an auto-reconnect mechanism, and display the RSSI signal level and IP address on an I2C LCD screen. The internal LED works as a status indicator. It is a production-grade connection manager.

4.4(21)
41
ESP32 HTTPClient + Weather API (with LCD Screen)
ES-31Advanced
Premium

ESP32 HTTPClient + Weather API (with LCD Screen)

In this project the ESP32 makes a REST API call over the internet to a weather API (wttr.in) using HTTPClient.h. The JSON response is parsed with ArduinoJson v7, and the city, temperature, humidity, weather and wind are shown on an I2C LCD. wttr.in needs no API key; just type the name of any city.

4.7(13)
20