Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/)