Skip to content

madhatguy/cbpi4-TeleNotify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cbpi4-telegram

Telegram Push Notifications for Craftbeerpi4

Adapted to cbpi4 from https://github.com/ShintoTuna/cbpi-telegram

This allows you to send any messages that appear in Craftbeerpi to Telegram.

Setup:

  1. Install this plugin from CBPI's plugin section
  2. Install Telegram app from https://telegram.org/
  3. Create Telegram Bot and acquire Bot token
    • On Telegram, search @BotFather, send him a /start message
    • To create a new bot send him /newbot message and follow instructions to set up username and name for your new bot
    • BotFather will send you confirmation message with API token. Save it for later
  4. Get Chat ID
    • On Telegram, search your bot (by the username you just created) or by clicking on the link that BotFather gave you inside the bot creation confirmation message, press the “Start” button or send a /start message
    • Open a new tab with your browser, enter https://api.telegram.org/bot<yourtoken>/getUpdates , replace <yourtoken> with your API token, press enter and you should see something like this: {"ok":true,"result":[{"update_id":77xxxxxxx,"message":{"message_id":333,"from":{"id":34xxxxxxx,"is_bot":false,"first_name":"XXXX","last_name":"XXXX","username":"xxxxxxx","language_code":"en-GB"}
    • Look for “id”, for instance, 34xxxxxxx above is my chat id. Look for yours and save it for later
    • If you cannot see your chat id, remove your bot from the chat and add it back (to remove click on three dots in the right corner and select delete conversation then add it back by searching for bot username or clicking the link in confirmation message from BotFather again). Open the url described above again and you should find you chat id.
  5. Input your Bot token and and Chat ID you acquired in previous steps into the Craftbeerpi parameters page (may require a system reboot if parameters not visible).
  6. Reboot your system.
  7. Everything should now be pushed to your Telegram.

About

Telegram Bot integration for CraftbeerPI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%