selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
WakeMyPotato logo

Self-host WakeMyPotato

v2.4.4

Systemd service to auto-restart old laptops after power loss

ReleaseOpen SourceAGPL-3.0
Updated3 months ago
LanguageShell
Setup difficultyModerate
Stars
148
Requires
Rtcwake, Systemd, Upower
Install with Linux

What is WakeMyPotato?

WakeMyPotato (WMP) is a last-resort systemd service for Linux that keeps repurposed old laptops running as home servers alive after power failures. It programs automatic rtcwake calls to schedule a reboot, safely powers down RAID arrays to prevent mechanical wear, and attempts to boot once AC power is restored after a configurable wait time. The service runs a check every minute via a systemd timer; if AC power is lost or an optional ping target becomes unreachable, it triggers an emergency shutdown with a scheduled wake-up. Installation is via a bash script that deploys systemd unit files and helper binaries to /usr/local/sbin. The project is licensed under AGPL-3.0 and targets personal and homelab users with older hardware lacking Wake-on-LAN or BIOS wake timers.

Should you self-host WakeMyPotato?

WakeMyPotato scores 42/100 on selfhost.directory (how scoring works) and ranks #12 of 22 in Home Server. It has 148 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is moderate: expect some configuration beyond a single command. It is AGPL-3.0-licensed and written mostly in Shell.

Its closest alternative on selfhost.directory is CasaOS (76/100, 37 389 stars). It scores higher overall, so compare the two before you pick. See WakeMyPotato vs CasaOS side by side.

Features

  • Automatic restart after power outage
  • CLI management utility
  • Last-resort fallback for hardware without Wake-on-LANMay fail if CMOS battery is dead; not a replacement for proper WOL
  • Network connectivity check
  • Safe RAID disk shutdown

WakeMyPotato README

How to install WakeMyPotato

Install WakeMyPotato with Linux

Linux with systemd, upower, rtcwake, mdadm (for RAID), udisksctl

git clone https://github.com/pablogila/WakeMyPotato.git cd WakeMyPotato sudo bash install.sh

Requires root; installs systemd units and binaries to /usr/local/sbin; prompts for wake time and optional ping IP

How to configure WakeMyPotato

  • PINGIPOptional IP address to check network connectivity; if ping fails, triggers shutdown

    Optional IP address to check network connectivity; if ping fails, triggers shutdown

    values: IP address or hostname

  • WAKETIME600Seconds to wait before waking up after a blackout (default 600)

    Seconds to wait before waking up after a blackout (default 600)

    values: positive integer

More in Administration

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…