This project provides a web-based interface for power on hosts using an ESP8266 and Wake On Lan magic packets.

Important
Instruction of migration to version 2.x.x
.
Important
Same instruction to upgrade from version 2.0.0
to version >= 2.1.0
.
- CRUD Host Management: CRUD functionality to manage host information.
- Wake on LAN (WoL): Send a WoL request to wake a host remotely.
- Basic HTTP Authentication: Enable/disable authentication and update credentials (username/password) as needed.
- Network Configuration: Switch seamlessly between static IP and DHCP modes.
- Host Ping Utility: Test connectivity by pinging a specified host.
- Over-The-Air (OTA) Updates: Secure OTA updates with password:
ber#912NerYi
. - Auto-Update: Update to the latest version without using an IDE via internet.
- Dark Mode: Toggle between light and dark themes.
- Periodic Ping: Configure periodic pings; if a ping fails, the program attempts to wake the host.
- Export database: Export database to CSV file.
- Import database: Import database from CSV file.
- mDNS: You can access the web page using a domain name. The default is
wol.local
.
- Hardware: ESP8266 board (e.g., NodeMCU, Wemos D1 Mini).
- Software:
- Arduino IDE
- ESP8266 Core for Arduino
- Libraries:
Installation of the CH341 driver is required. Use the following links to download and install it:
- Windows: Download CH341SER.EXE
- Linux Download CH341SER_LINUX_ZIP
- MacOS: Download CH341SER_MAC.ZIP
After installation, add the following URL to the Arduino IDE settings:
http://arduino.esp8266.com/stable/package_esp8266com_index.json
Then, install the latest version of the ESP8266 board package via the Boards Manager in the Arduino IDE.
- Clone the Repository:
git clone [repository-url]
- Open the Project: Open the cloned project in the Arduino IDE.
- Install Required Libraries: Use the Library Manager in the Arduino IDE to install all necessary libraries.
- Upload the Code: Connect your ESP8266 board and upload the code.
- Download the Binary File (
EspWOL.bin
) from the latest release. - Flash the Firmware: Use one of the following online tools to flash the binary:
-
Access Web Interface:
- Power the ESP8266 and connect it to Wi-Fi.
- Open the IP address of the board in a web browser (the IP is set using the DHCP protocol).
-
Manage Hosts:
- Add Host: Click the
+
button. - Wake Host: Click the play button (
▶️ ) next to a host to send a WoL request.
- Add Host: Click the
Warning
In version 2.0.0
, it is not possible to perform an update. This functionality is available starting from version 2.1.0
. Instruction to upgrade from version 2.0.0
to version >= 2.1.0
.
-
Open Settings:
- Click the Settings button.
- Green Badge: Indicates the latest version is installed.
- Yellow Badge: An update is available.
- Click the Settings button.
-
Start Update:
- Click the yellow badge, then click Update in the next window.
-
Wait for Completion:
- Do not disconnect power until the update finishes.
- Ensure your firmware version is 1.2.3.
- Click the Export button.
- Export the database and download the export file.
- Upload version 2.x.x to the device with the "All Flash Contents" option enabled.
- Click the Export button again.
- Upload the previously exported file.
- Click Import.
- Migration complete!