Telegram bot that notifies when battery is low
Project description
Telegram battery bot.
Monitors laptop battery level and sends a message on Telegram when it drop below specified level.
Usage:
batbot -t TELEGRAM_TOKEN -u TELEGRAM_USER [-b BATTERY_THRESHOLD] [-f CHECK_FREQUENCY]
batbot -c CONFIG_FILE
batbot --help
Options:
-t, --telegram-token=TELEGRAM_TOKEN Telegram bot token
-u, --telegram-user=TELEGRAM_USER Telegram user ID
-b, --battery-threshold=BATTERY_THRESHOLD Battery level alert threshold [default: 10]
-f, --check-frequency=CHECK_FREQUENCY Level check frequency [default: 60]
-c, --config=CONFIG_FILE Read config from file
--help Show this screen
Config file format:
[bot]
telegram_token = TELEGRAM_TOKEN
telegram_user = TELEGRAM_USER
battery_threshold = BATTERY_THRESHOLD
check_frequency = CHECK_FREQUENCY
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for battery-bot-telegram-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ad98b8985e374772bb9f55201bda726fb8a22c56fbcf70fa0765baf2dd34ff6 |
|
MD5 | 57b77282d044796f9491b4cdc71b4c9b |
|
BLAKE2b-256 | 101805ed1f46763c93e711a3f32751f56836df65b32f980a5f66350e6e2c033b |
Close
Hashes for battery_bot_telegram-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99414ec6af83516ae066879422f853da8bc3a01bff6b6bb78b842e553e38d4f7 |
|
MD5 | 8f255c4bc0d4f0e4108144a9244c9fdf |
|
BLAKE2b-256 | 6fd25d107e4026b905dc28fea9a1852887ca8b2abb2a7d0deca120c5dec02680 |