Telegram bot for ethOS! Feel free to use it by adding @ethogramBot
to a group, or chatting with it directly.
Since the bot now tracks the chat id's in a file, even if it restarts, we can alert users of downtime, or possible issues with the bot itself by sending status messages (not implemented yet).
- Just add
ethogramBot
to the group, or chat it up directly. - run
/start [PANEL_ID]
to monitor [PANEL_ID].ethosdistro.com
If you'd like to deploy your own version of this bot, please follow this rough guide:
- Use BotFather from Telegram to create a bot, and acquire
TELEGRAM_TOKEN
- Clone this repo on a server, such as DigitialOcean. (Don't use heroku, since this bot relies on file persistence)
- Install python3.
- Install requirements using
pip3 install -r requirements.txt
- Run using
TELEGRAM_TOKEN=XYZ python3 driver.py
action | alert | description |
---|---|---|
all_stats | ✅ | send all available stats |
gpu_temps | ✅ | Alert range 40 - 75 C |
hashrates | ✅ | Alert increase/decrease of +10% |
timestamp | ✅ | Alert if t(n) > t(n+1) |