/WakeOnLan

A very cursed way to turn on a computer using telegram.

Primary LanguageC++

WakeOnLan

Controls a computers power button.

Introduction

A cursed hardware implementation for WakeOnLan using a esp8266 running a simple Telegram bot controlling a relay.

Building

Hardware

Installation

Breakout the power button wires.

Build the schematic.
Install the esp8266 package and the UniversalTelegramBot library.

Compile...
Aaaaaand upload.

Features

  • Only responds to a specified client_id so no one else can turn on your pc.

Pictures

alt text

alt text

Todo

  • Use something other than Telegram lol.
  • Add timer class instead of loose variables.
  • Log declined commands to file.
  • Steal laptops USB power so we don't have to use a external adapter
  • poweroff time longer?