Releases: nexesninja/raspberrypi-telegram-bot
Releases · nexesninja/raspberrypi-telegram-bot
Version 1.0.1
📦 Release v1.0.1 – Improved Boot Stability & Bot Resilience
This release introduces key fixes and improvements to ensure the Raspberry Pi Telegram bot starts reliably after a reboot and handles early network issues gracefully.
Improvements
-
Enhanced systemd service file
- Added
network-online.target
to ensure the bot starts only after the network is ready. - Introduced
ExecStartPre=/bin/sleep 30
to provide additional boot delay for stability. - Updated
Restart
policy toon-failure
with aRestartSec=60
wait time.
- Added
-
Improved Python bot script
- Replaced
asyncio.run()
with nativeapplication.run_polling()
to fix event loop issues. - Added retry mechanism using
time.sleep()
for better resilience on slow network startup. - Enhanced logging for easier debugging and monitoring.
- Replaced
Fixes
- Fixed
Cannot close a running event loop
crash during boot. - The bot now consistently initializes on Raspberry Pi startup.
Updated Files
temp.service
(Systemd service file)temp.py
(Main Telegram bot script)
Note: There's an initial delay of 1 minute until the bot starts after booting rpi.
💬 Let us know if you face any issues or suggestions by opening an issue on GitHub.
Version 1.0
📦 Release v1.0.0 – Initial Stable Release
First official release of the Raspberry Pi 5 Telegram Bot!
Features:
- 🌡️ Temperature Monitoring
- 📊 System Monitoring (coming soon)
- 💻 Remote Command Execution (planned)
- 🔒 SSH-based Setup
Setup Instructions:
- README.md for full setup
- docs/Prerequisites.md
- docs/TemperatureMonitoring.md
Roadmap:
- Temperature monitoring
- CPU & memory usage display
- Custom shell command execution
- Error logging and bot resilience
How to Use:
- /temp → View system temperature
- /help → Get help message
Known Issues:
- Manual token editing required in and systemd service file
- No error handling yet for failed commands or bot disconnections