- ..It is assumed that you already have a PowerPanel-based UPS and PowerPanel itself in your system.
- Download Python 3.11 (Newer or older versions may also be supported. Not verified.)
- Download the latest release or clone the repository
- Rename
example.config.pytoconfig.py, specify your Telegram botTOKENin it. - In the
admins_idsvariable, specify the list of user IDs that will have access to this bot.
Optionals:
You can change the language used by the bot by changing the language class in bot/loader.py: lang_class=En(),
(The following languages are supported out of the box: English and Russian.)
You can change the notification phrases by opening the localization you need (example langs/en.py).
/test - Check how your UPS will operate in battery mode
/mute - Temporarily disable the alarm on the UPS
/status - Get statistics on the status of your UPS
Although there is a license for this, I want to duplicate it here.
If you use my code, please consider adding links to the original author.
And please read the license. Thank you!