A Golang Telegram bot that enables remote Wake-on-LAN functionality for devices on your local network.
Make sure you have docker installed, then open a terminal and execute
./build-deb.shCopy the built debian file over your device using scp, then run
sudo dpkg -i wol-bot.debEdit /etc/wol-bot/config.toml to configure the bot:
bot_token: Your Telegram bot token from @BotFatherallowed_user_ids: Array of authorized Telegram user IDsdata_file: Path to device storage JSON filedefault_wake_timeout_seconds: Default wait time after WoL before checking statusping_interval_seconds: Interval between ping checksmax_ping_attempts: Maximum ping attempts before giving up
Start a conversation with your bot on Telegram and use the menu buttons to:
- List all devices and their status
- Add new devices
- Wake devices
- Edit device settings (including per-device wake timeout)
- Delete devices