Guides · 8 min read

ESP32 Wake on LAN: Turn On Your PC Remotely via Telegram or Web

ESP32 Wake on LAN guide: the magic packet, BIOS and network card setup, waking your PC with a Telegram command or a web button, ping status and common problems.

With an ESP32 Wake on LAN project you can turn on your home computer from your phone, from anywhere in the world. Wake-on-LAN (WoL) is a standard that switches a powered-off computer on by sending a special "wake up" packet to its network card. Sending that packet requires a device that's always on in the network; an ESP32 does this 24/7 while drawing about 0.5 W, so you don't have to leave your computer running for nothing. You switch it on only when you need it, to reach a file, stream a game or use remote desktop.

In this guide you'll see how the magic packet is built byte by byte, which BIOS and network card settings must be enabled on the computer, and three ESP32 sketches that wake the computer first with a button, then from a web page and finally with a Telegram command. You'll also find how to check with ping whether the computer really turned on, a table of common problems with Wi-Fi connected computers and sleep modes, and security tips.

ESP32 development board as a Wake on LAN bridge
ESP32: thanks to its built-in Wi-Fi it becomes a small, low-power bridge that stays on in the network and sends the magic packet.

What is Wake on LAN and how does the magic packet work?

Even when the computer is off, as long as it's plugged in, the motherboard feeds a small standby voltage to the network card. The card listens to every incoming Ethernet frame and, when it sees a packet containing its own MAC address in a specific pattern, it sends a "power on" signal to the motherboard. This packet is called the magic packet and its structure is very simple: first 6 bytes of 0xFF, then the target MAC address repeated 16 times in a row; 6 + 16 x 6 = 102 bytes in total. The packet is usually sent over UDP to port 9, to the broadcast address that reaches everyone in the network. Broadcast is used because a powered-off computer has no IP address; the router can't know where to send it, but every card on the same network hears a broadcast.

PartContentLength
Sync streamFF FF FF FF FF FF6 bytes
MAC repetitionTarget MAC (e.g. 1C:69:7A:12:34:56) x 1696 bytes
TransportUDP, port 9 (sometimes 7)102-byte payload in total
DestinationSubnet broadcast (e.g. 192.168.1.255) or 255.255.255.255Doesn't leave the router
Optional SecureOn passwordExtra 6-byte password (few cards support it)108 bytes

Preparing the computer: BIOS and network card settings

Most WoL problems are on the computer's side, not the ESP32's. If the motherboard doesn't power the network card while off, or Windows disables the wake feature when it shuts the card down, the computer won't turn on no matter how correct the packet is. There's an easy way to tell whether the settings are right: after shutting the computer down, look at the LEDs on the Ethernet socket at the back. If they stay lit, the card is getting standby power; if they go completely dark, the problem is in the BIOS.

  1. Enter the BIOS/UEFI by pressing Del or F2 while the computer starts.
  2. In the Power / APM menu set Wake on LAN, Power On By PCI-E or Resume by PCI-E Device to Enabled; the name depends on the manufacturer.
  3. Set ErP Ready or EuP 2013 to Disabled; if it stays on, the motherboard cuts power to the network card while off.
  4. Turn off Deep Sleep if present, save the settings and exit.
  5. In Windows open Device Manager, right-click the Ethernet card under Network adapters and choose Properties.
  6. On the Power Management tab tick "Allow this device to wake the computer" and "Only allow a magic packet to wake the computer".
  7. On the Advanced tab set "Wake on Magic Packet" and, if present, "Shutdown Wake-On-Lan" to Enabled.
  8. Turn off Fast startup under Control Panel > Power Options > Choose what the power buttons do; on many cards it blocks WoL after a full shutdown.

Next, find the computer's Ethernet MAC address and give it a fixed IP in your router's DHCP settings (e.g. 192.168.1.50); the ESP32 will use this IP when pinging. The Windows firewall may block ping by default, and the command below allows it. On Linux, WoL is off in most distributions and is enabled with ethtool. The commands below aren't Arduino code; you run them in a terminal on your computer.

Code
1:: Windows (Komut İstemi / Command Prompt)
2:: Ethernet kartının MAC adresi: "Fiziksel Adres" satırı / the "Physical Address" line
3ipconfig /all
4:: Ping'e (ICMPv4 echo) izin ver, yönetici olarak çalıştır / allow ping, run as administrator
5netsh advfirewall firewall add rule name="ICMPv4 Echo" protocol="icmpv4:8,any" dir=in action=allow
6
7# Linux (terminal)
8ip link                                  # MAC: "link/ether" satırı / the "link/ether" line
9sudo ethtool enp3s0 | grep Wake-on       # "Wake-on: g" olmalı / should show "Wake-on: g"
10sudo ethtool -s enp3s0 wol g             # sihirli paketle uyanmayı aç / enable magic packet wake
11nmcli connection modify "Wired connection 1" 802-3-ethernet.wake-on-lan magic   # kalıcı / persistent
12
Wake on LAN works almost exclusively over wired Ethernet. A desktop or laptop connected via Wi-Fi drops off the network while it's off and can't hear the packet. Some laptops support "Wake on Wireless LAN" (WoWLAN), but it usually only wakes from sleep, not from a full shutdown. If your computer is on Wi-Fi, running a cheap Ethernet cable to it is the most reliable fix.

First sketch: sending the magic packet with a button

The first sketch uses no extra libraries; WiFi and WiFiUdp from the ESP32 core are enough. Once the board is on Wi-Fi, the magic packet goes out when you press the onboard BOOT button (GPIO 0) or send the letter w from the Serial Monitor. As long as the ESP32's Wi-Fi and the computer's Ethernet are on the same subnet of the same router, the broadcast packet also crosses to the wired side. Replace the pcMac array in the code with your computer's MAC address; write an address like 1C-69-7A-12-34-56 as 0x1C, 0x69 and so on.

C++ (Arduino IDE)
1// ESP32 Wake-on-LAN: BOOT butonu ya da seri komutla bilgisayarı aç
2// ESP32 Wake-on-LAN: wake the PC with the BOOT button or a serial command
3#include <WiFi.h>
4#include <WiFiUdp.h>
5
6const char* WIFI_SSID = "AgAdi";             // 2,4 GHz Wi-Fi adı / 2.4 GHz Wi-Fi name
7const char* WIFI_PASS = "Sifre123";
8uint8_t pcMac[6] = {0x1C, 0x69, 0x7A, 0x12, 0x34, 0x56};   // PC'nin Ethernet MAC adresi / PC's Ethernet MAC
9const int BUTTON_PIN = 0;                    // kart üstündeki BOOT butonu / onboard BOOT button
10const uint16_t WOL_PORT = 9;                 // standart WoL portu (7 de olur) / standard WoL port (7 works too)
11
12WiFiUDP udp;
13
14bool sendMagicPacket(const uint8_t* mac) {
15  uint8_t packet[102];
16  memset(packet, 0xFF, 6);                   // 6 x FF başlık / 6 x FF header
17  for (int i = 1; i <= 16; i++) {
18    memcpy(packet + i * 6, mac, 6);          // MAC adresi 16 kez / MAC address 16 times
19  }
20  bool ok = true;
21  IPAddress targets[2] = {WiFi.broadcastIP(), IPAddress(255, 255, 255, 255)};
22  for (int t = 0; t < 2; t++) {              // alt ağ yayını + genel yayın / subnet + limited broadcast
23    for (int r = 0; r < 3; r++) {            // UDP garantisiz, 3 kez yolla / UDP is unreliable, send 3 times
24      udp.beginPacket(targets[t], WOL_PORT);
25      udp.write(packet, sizeof(packet));
26      ok &= (udp.endPacket() == 1);
27      delay(10);
28    }
29  }
30  return ok;
31}
32
33void setup() {
34  Serial.begin(115200);
35  pinMode(BUTTON_PIN, INPUT_PULLUP);
36  WiFi.mode(WIFI_STA);
37  WiFi.begin(WIFI_SSID, WIFI_PASS);
38  while (WiFi.status() != WL_CONNECTED) {
39    delay(300);
40    Serial.print(".");
41  }
42  Serial.println();
43  Serial.print("IP: ");
44  Serial.println(WiFi.localIP());
45  Serial.print("Yayin / broadcast: ");
46  Serial.println(WiFi.broadcastIP());
47  Serial.println("BOOT butonuna bas ya da 'w' gonder / press BOOT or send 'w'");
48}
49
50void loop() {
51  bool request = false;
52  if (digitalRead(BUTTON_PIN) == LOW) {      // basıldı / pressed
53    request = true;
54    while (digitalRead(BUTTON_PIN) == LOW) delay(10);   // bırakılmasını bekle / wait for release
55  }
56  if (Serial.available() && Serial.read() == 'w') request = true;
57  if (request) {
58    Serial.println(sendMagicPacket(pcMac) ? "Sihirli paket gitti / magic packet sent"
59                                          : "Gonderim hatasi / send error");
60  }
61  delay(20);
62}
63

The code sends the packet three times to two addresses: WiFi.broadcastIP() gives the subnet's broadcast address (e.g. 192.168.1.255), and 255.255.255.255 is the limited broadcast. Some routers don't pass one of the two to the wired side, and trying both removes that problem. Because UDP gives no delivery guarantee, repeating is also a good habit; if the computer is already on, the extra packets don't affect anything. If endPacket() returns 1, the packet has left the ESP32, but you only know whether the computer turned on by pinging it.

A web button and ping status check

The second sketch turns the ESP32 into a small web server. When you open the ESP32's IP address in a browser on any phone or computer in your home network, you see a big "Wake PC" button and a line showing whether the computer is on or off. The status comes from a ping to the computer's fixed IP address; for this, install the ESPping library from the Library Manager. Making the button use a POST request is deliberate: some browsers preload links on a page, and an address that works with GET could turn the computer on without you touching anything. For more on web servers see the ESP32 web server guide.

C++ (Arduino IDE)
1// ESP32 Wake-on-LAN web paneli: buton + ping ile durum / web panel: button + ping status
2#include <WiFi.h>
3#include <WiFiUdp.h>
4#include <WebServer.h>
5#include <ESPping.h>                         // Kütüphane Yöneticisi: ESPping / Library Manager: ESPping
6
7const char* WIFI_SSID = "AgAdi";
8const char* WIFI_PASS = "Sifre123";
9uint8_t pcMac[6] = {0x1C, 0x69, 0x7A, 0x12, 0x34, 0x56};
10IPAddress pcIp(192, 168, 1, 50);             // router'da PC'ye sabit IP ver / reserve this IP in the router
11
12WiFiUDP udp;
13WebServer server(80);
14
15void sendMagicPacket() {
16  uint8_t packet[102];
17  memset(packet, 0xFF, 6);
18  for (int i = 1; i <= 16; i++) memcpy(packet + i * 6, pcMac, 6);
19  for (int r = 0; r < 3; r++) {
20    udp.beginPacket(WiFi.broadcastIP(), 9);
21    udp.write(packet, sizeof(packet));
22    udp.endPacket();
23    delay(10);
24  }
25}
26
27bool pcIsOn() {
28  return Ping.ping(pcIp, 2);                 // 2 deneme / 2 attempts
29}
30
31void handleRoot() {
32  bool on = pcIsOn();
33  String html = "<!DOCTYPE html><html><head><meta charset='utf-8'>"
34                "<meta name='viewport' content='width=device-width,initial-scale=1'>"
35                "<title>PC</title><style>body{font-family:sans-serif;text-align:center;margin-top:40px}"
36                "button{font-size:22px;padding:14px 28px;border-radius:10px}</style></head><body>";
37  html += "<h2>Bilgisayar / Computer</h2><p>Durum / status: <b>";
38  html += on ? "ACIK / ON (" + String(Ping.averageTime(), 0) + " ms)" : "KAPALI / OFF";
39  html += "</b></p><form action='/wake' method='POST'><button>Bilgisayari ac / Wake PC</button></form>";
40  html += "<p><a href='/'>Yenile / refresh</a></p></body></html>";
41  server.send(200, "text/html", html);
42}
43
44void handleWake() {
45  sendMagicPacket();
46  server.sendHeader("Location", "/");        // ana sayfaya dön / back to the main page
47  server.send(303);
48}
49
50void setup() {
51  Serial.begin(115200);
52  WiFi.mode(WIFI_STA);
53  WiFi.begin(WIFI_SSID, WIFI_PASS);
54  while (WiFi.status() != WL_CONNECTED) delay(300);
55  Serial.print("Panel IP: ");
56  Serial.println(WiFi.localIP());
57  server.on("/", HTTP_GET, handleRoot);
58  server.on("/wake", HTTP_POST, handleWake); // GET değil: tarayıcı ön yüklemesi PC'yi açmasın / not GET
59  server.begin();
60}
61
62void loop() {
63  server.handleClient();
64  if (WiFi.status() != WL_CONNECTED) WiFi.reconnect();
65  delay(2);
66}
67
The computer doesn't answer ping right away when it turns on: the motherboard starting, the operating system loading and the network card getting an IP usually take 20–60 seconds. After pressing the button, refresh the page about a minute later. If ping never answers but the computer did turn on, the problem is most likely the Windows firewall.

Waking it from outside with a Telegram command

The web panel only works inside your home network. To wake the computer from outside, using Telegram instead of opening a port on the router is both easy and safe: every two seconds the ESP32 asks the Telegram server "any new messages?", so no connection is ever opened from outside to the ESP32. When you send /ac to the bot from your phone, the ESP32 pings first and tells you if the computer is already on; otherwise it sends the magic packet. The /durum command reports the ping result and latency. The code accepts commands only from your chat ID, so someone who learns the bot's name can't turn your computer on. For the bot creation steps see the ESP32 Telegram bot guide.

C++ (Arduino IDE)
1// ESP32 Wake-on-LAN + Telegram: /ac, /durum komutları / /ac (wake), /durum (status) commands
2#include <WiFi.h>
3#include <WiFiUdp.h>
4#include <WiFiClientSecure.h>
5#include <UniversalTelegramBot.h>
6#include <ESPping.h>
7
8const char* WIFI_SSID = "AgAdi";
9const char* WIFI_PASS = "Sifre123";
10#define BOT_TOKEN "1234567890:AAExxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
11#define ALLOWED_CHAT "123456789"             // yalnız bu kişi komut verebilir / only this chat may command
12uint8_t pcMac[6] = {0x1C, 0x69, 0x7A, 0x12, 0x34, 0x56};
13IPAddress pcIp(192, 168, 1, 50);
14
15WiFiUDP udp;
16WiFiClientSecure client;
17UniversalTelegramBot bot(BOT_TOKEN, client);
18unsigned long lastPoll = 0;
19
20void sendMagicPacket() {
21  uint8_t packet[102];
22  memset(packet, 0xFF, 6);
23  for (int i = 1; i <= 16; i++) memcpy(packet + i * 6, pcMac, 6);
24  for (int r = 0; r < 3; r++) {
25    udp.beginPacket(WiFi.broadcastIP(), 9);
26    udp.write(packet, sizeof(packet));
27    udp.endPacket();
28    delay(10);
29  }
30}
31
32void handleMessages(int count) {
33  for (int i = 0; i < count; i++) {
34    String chatId = bot.messages[i].chat_id;
35    String text = bot.messages[i].text;
36    if (chatId != ALLOWED_CHAT) {            // yabancıyı reddet / reject strangers
37      bot.sendMessage(chatId, "Yetkin yok / not authorised");
38      continue;
39    }
40    if (text == "/ac") {
41      if (Ping.ping(pcIp, 1)) {
42        bot.sendMessage(chatId, "Bilgisayar zaten acik / PC is already on");
43      } else {
44        sendMagicPacket();
45        bot.sendMessage(chatId, "Sihirli paket gitti, 1 dk sonra /durum yaz / packet sent, try /durum in 1 min");
46      }
47    } else if (text == "/durum") {
48      bool on = Ping.ping(pcIp, 2);
49      bot.sendMessage(chatId, on ? "Acik / ON, ping " + String(Ping.averageTime(), 0) + " ms"
50                                 : "Kapali ya da uykuda / OFF or asleep");
51    } else {
52      bot.sendMessage(chatId, "Komutlar / commands: /ac, /durum");
53    }
54  }
55}
56
57void setup() {
58  Serial.begin(115200);
59  WiFi.mode(WIFI_STA);
60  WiFi.begin(WIFI_SSID, WIFI_PASS);
61  while (WiFi.status() != WL_CONNECTED) delay(300);
62  client.setCACert(TELEGRAM_CERTIFICATE_ROOT);
63  bot.sendMessage(ALLOWED_CHAT, "WoL kopru hazir / WoL bridge ready");
64}
65
66void loop() {
67  if (millis() - lastPoll > 2000) {          // 2 saniyede bir yeni mesaj sor / poll every 2 s
68    lastPoll = millis();
69    int count = bot.getUpdates(bot.last_message_received + 1);
70    while (count) {
71      handleMessages(count);
72      count = bot.getUpdates(bot.last_message_received + 1);
73    }
74  }
75  if (WiFi.status() != WL_CONNECTED) WiFi.reconnect();
76}
77

The commands use Turkish abbreviations (/ac for on, /durum for status); you can change them to /wake or /status as you like. If you register them with /setcommands in BotFather, Telegram shows them in the menu. Because the ESP32 runs nonstop on a USB adapter, the yearly energy cost is tiny: 0.5 W x 8,760 hours is about 4.4 kWh. If you don't want the Wi-Fi password in the code, you can set it from your phone with the method in the WiFiManager guide.

Sleep modes: which states can it wake from?

StateACPI nameWakes with WoL?Note
SleepS3Almost alwaysMost reliable mode; RAM stays powered
HibernateS4Yes on most desktopsNeeds the card setting and BIOS support
ShutdownS5If WoL is on and ErP off in the BIOSWindows fast startup must be off
Modern StandbyS0ixMixedOn newer laptops; network wake behaves differently
Power cutG3No"Restore on AC Power Loss" in the BIOS can handle the first boot
Powered-off PC on Wi-FiS5Usually noUse an Ethernet cable

Common problems and fixes

ProblemLikely causeFix
Ethernet LEDs go dark after shutdownErP on or WoL off in the BIOSTurn ErP off, enable Wake on LAN / Power On By PCI-E
Wakes from sleep but not from shutdownWindows fast startupTurn off fast startup, enable Shutdown Wake-On-Lan on the card
Packet goes out but nothing happensWrong MAC (the Wi-Fi card's was used)Get the Ethernet card's MAC with ipconfig /all
ESP32 on the guest network doesn't workGuest network or AP isolation blocks broadcastsConnect the ESP32 to the main network, disable AP isolation
Works only sometimes on a mesh systemThe broadcast doesn't cross between nodesSend the packet repeatedly, place the ESP32 near the node the PC is on
PC is on but ping doesn't answerThe firewall blocks ICMPAdd the ICMPv4 Echo rule
Won't wake after a power cutThe network card gets no standby powerSet Restore on AC Power Loss to Power On or Last State in the BIOS
Laptop never wakesWi-Fi connection or Modern StandbyUse an Ethernet adapter, try sleep mode
Opening UDP port 9 on your router to the internet (port forwarding) for Wake on LAN isn't recommended: directed broadcast packets coming from the internet are a security risk, and most routers don't allow it anyway. The ESP32 + Telegram method does the same job without opening any port to the outside. Don't share your bot token with anyone, and delete the token and Wi-Fi password before uploading your code anywhere.

Ideas to extend it

  • For several computers, put their MACs and IPs in an array and add Telegram commands like /ac1 and /ac2.
  • To shut the computer down, wire the power button to the ESP32 through a relay, or add a remote shutdown command with a small script running on the computer.
  • Connect the ESP32 to a voice assistant and trigger it with "turn on the computer"; details in the ESP32 Alexa and Google Home guide.
  • Show the computer's status and last wake time on a small OLED screen on top of the ESP32.
  • Using the same ping logic, build a panel that monitors whether devices at home like a NAS, printer or server are on.

With the right BIOS and network card settings, the ESP32 becomes a reliable bridge that turns your computer on from anywhere in the world, uses a few kilowatt-hours a year and doesn't make you open any ports. If you want to try ESP32 Wi-Fi connections, a web server, reaching the device by name with mDNS and sending notifications to Telegram step by step with a circuit diagram and code, have a look at the related ESP32 projects in the BlueGrays app; every piece you need to build the bridge in this article is explained there one by one.

Frequently asked questions

Does Wake on LAN work over Wi-Fi?

Waking a powered-off computer over Wi-Fi almost never works, because the wireless card isn't connected to the network while it's off. Some laptops wake only from sleep with WoWLAN. The ESP32 that sends the packet being on Wi-Fi is no problem; what matters is that the computer is connected via Ethernet.

Why is Wake on LAN not working?

The most common causes are ErP enabled or WoL disabled in the BIOS, Windows fast startup, the network card's power management settings and a wrong MAC address. If the Ethernet LEDs go dark after shutdown, the problem is in the BIOS. If the ESP32 is on a guest network or the router uses AP isolation, the broadcast packet won't reach the computer.

Which port does Wake on LAN use?

The magic packet is usually sent to UDP port 9, sometimes to port 7. The network card doesn't actually care about the port; it looks at the MAC repetition inside the packet, and the port is only needed to carry the packet across the network. That's why both ports work inside a home network.

How do I wake my computer over the internet with Wake on LAN?

The safest way is to use a device that's always on in your home network: the ESP32 receives the command from Telegram and broadcasts the magic packet on the home network. Opening UDP 9 with port forwarding on the router doesn't work on most devices and is a security risk. The Telegram method works without opening any port to the outside.

How do I find my computer's MAC address?

On Windows open Command Prompt and type ipconfig /all; the "Physical Address" line under the Ethernet adapter is the MAC address. On Linux look at the link/ether line in the output of ip link. Make sure you take the wired Ethernet card's address, not the Wi-Fi card's.

Which ESP32 board do I need for Wake on LAN?

Any ESP32 board will do; an ESP32 DevKit, ESP32-C3 Super Mini or ESP32-S3 runs the same code because only Wi-Fi and UDP are used. An ESP8266-based Wemos D1 Mini also works with small code changes. The board should be powered permanently from a USB adapter and connect to a 2.4 GHz Wi-Fi network.

See all projects
LED Blink with ESP32
ES-1Beginner

LED Blink with ESP32

Teaches basic GPIO output usage with ESP32. We achieve a blinking effect by turning an LED on and off from a digital pin. ESP32 version of the classic blink project on Arduino UNO; the basic blink commands in the Arduino environment are the same, but the ESP32's pin layout and 3.3 V GPIO levels differ from those of the Arduino UNO.

4.7(38)
114
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 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)
40
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 WebSocket Counter (2 Buttons + LCD + Real-Time Web)
ES-28Advanced
Premium

ESP32 WebSocket Counter (2 Buttons + LCD + Real-Time Web)

In this project, two buttons wired to the ESP32 (GPIO 5 counts up, GPIO 4 counts down) change a counter. The value updates instantly both on a 16x2 I2C LCD and, through the WebSocket support of ESPAsyncWebServer, in every connected browser without reloading the page. Instead of HTTP polling a single persistent connection is used, and the ESP32 sends the new value to everyone with ws.textAll().

4.5(14)
23
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 OTA Update — Wireless Firmware Installation (With LCD Screen)
ES-30Advanced
Premium

ESP32 OTA Update — Wireless Firmware Installation (With LCD Screen)

In this project you'll learn to upload new firmware to the ESP32 over Wi-Fi, without a USB cable. With the ArduinoOTA library the ESP32 becomes visible on the network and shows up automatically as bluegrays-ota under "Network port" in the Arduino IDE. The first upload goes over USB; after that every update is wireless, a key feature for devices out in the field.

4.6(14)
22
ESP32 Motion Alarm System (PIR + Buzzer + LED + Telegram)
ES-41Advanced
Premium

ESP32 Motion Alarm System (PIR + Buzzer + LED + Telegram)

A smart security alarm: when the PIR sensor detects motion, it sounds the buzzer, lights the LED and sends the owner an instant Telegram notification. A 30-second cooldown limits how often the alarm repeats; it does not filter out the PIR sensor's false detections. Use it at home, in a garage, a storeroom or a study.

4.0(1)
9