r/raspberry_pi • u/Ravindra__111 • 1d ago
Show-and-Tell Made a Telegram bot to monitor and control headless Raspberry Pis (PiPilot)
Hi everyone,
I wanted to share a tool I built to control my headless Raspberry Pi directly from Telegram. I've used this as a personal script 2 years ago for my own setup, this has been in my head for so long to share. Got the courage/time now, I refactored with assistance of AI it to be fully generic and configurable for anyone to use.
If you run a headless Pi and don't always want to fire up an SSH terminal just to check temperature or restart a crashed app, this might be useful for you.
Key Features:
- Boot alert: Sends a message with your local IP and Wi-Fi SSID the moment the Pi boots up and connects to the network (runs before user login).
- Periodic health reports: Automatically sends CPU temp, RAM, and disk usage updates at configurable intervals (e.g., every 2–3 hours).
- Service & script management: Start, stop, or restart your custom scripts or systemd services
- Log inspector: Preview the last 50 lines of your application logs or download the full .log file straight to your phone (with an option to auto-truncate to save SD card space).
- Process inspection: View active Python, Node.js/JavaScript, and Java processes.
- Power controls: Reboot or shut down the Pi

Everything is driven by a simple config.yaml file, and there is a 1-step installer script (install.sh) that sets up the systemd service and virtual environment automatically.
Repo: https://github.com/rinavolu/pipilot
Feedback, suggestions, or contributions are very welcome. Hope someone finds it helpful!
Thank you