Simple program for ESP-32 to power up my server in case of power cut
Go to file
leca 3cd3051149 initial commit 2025-04-10 00:32:30 +03:00
src initial commit 2025-04-10 00:32:30 +03:00
.gitignore initial commit 2025-04-10 00:32:30 +03:00
LICENSE Initial commit 2025-04-09 18:18:44 +03:00
README.md initial commit 2025-04-10 00:32:30 +03:00

README.md

deadmans_hand

Simple program for ESP-32 to power up my server in case of power cut.

Usage

/!\ WARNING /!\ The author (leca) is not responsible for any damage you've caused to your hardware with your own hand /!\ WARNING /!\

  1. Set up the sketch
git clone https://git.foxarmy.org/leca/deadmans_hand
cd deadmans_hand
cp src/secrets.h.template src/secrets.h
# Open the file with your favorite editor and insert Wi-Fi SSID and password.
nano src/secrets.h

If you wish to change GPIO pins, please, do it in src/src.info Flash the sketch in your board

  1. Connect pin STATUS_PIN to anything in your server that has voltage when the server is running (usually some led on the forward panel)
  2. Connect pin WAKE_PIN to power pin on your motherboard
  3. Connect GND to motherboard's ground.
  4. Make sure that the board has some power supply (usually you want to use 18650 Li-ion batteries) to be online when the power is down.