Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wildegor/ino-wol
WOL - wake on lan bot using ESP8266
https://github.com/wildegor/ino-wol
arduino esp8266 iot wake-on-lan wol
Last synced: 4 months ago
JSON representation
WOL - wake on lan bot using ESP8266
- Host: GitHub
- URL: https://github.com/wildegor/ino-wol
- Owner: WildEgor
- Created: 2024-07-14T06:21:48.000Z (7 months ago)
- Default Branch: develop
- Last Pushed: 2024-07-16T14:45:38.000Z (7 months ago)
- Last Synced: 2024-10-10T15:02:07.897Z (4 months ago)
- Topics: arduino, esp8266, iot, wake-on-lan, wol
- Language: C++
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ino-wol
ESP8266 wake-on-lan any LAN device via Telegram Bot!
## Usage
- Create and edit bot token and network settings in `src/secrets.cpp`;
```cpp
#include "secrets.h"String telegramToken = ""; // your bot token
char ssid[] = ""; // your network SSID (name)
char password[] = ""; // your network password
```- Create and edit devices in `src/devices.cpp`;
```cpp
#include "devices.h"int numDevices = 2;
TargetDevice devices[] ={
{
"PC", // any device name (will show in list of devices)
IPAddress(192, 168, 1, 2),
{ 0xA1, 0xA1, 0xA1, 0xA1, 0xA1, 0xA1 }, // device MAC address in hex format
"", // empty state
5 // default retry counter
},
};
```- Upload `src/main.cpp` to ESP8266 (using PlatformIO);
- [More details](https://wildegor.github.io/posts/WOL/)