Skip to content

Telegram bot support#357

Open
testing270505-rgb wants to merge 1 commit intolossless1024:masterfrom
testing270505-rgb:tg-bot
Open

Telegram bot support#357
testing270505-rgb wants to merge 1 commit intolossless1024:masterfrom
testing270505-rgb:tg-bot

Conversation

@testing270505-rgb
Copy link
Copy Markdown

Add support for Telegram Bot,
Message when rec starts,stops
and names of models rec in every 1/2 hour (adjustable).

image

How to Get Telegram Bot Token and Chat ID

  • Create a bot: Message @Botfather on Telegram and follow the instructions to create a new bot
  • Get Chat ID: Message your bot anything, then visit https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates to find your chat ID
  • Put values in parameters.py or in .env

@testing270505-rgb
Copy link
Copy Markdown
Author

I implemented this cause i had StreaMonitor running at my homelab continuously.
And i was kind of paranoid that "Are the stream recording perfectly or not"
I know i can ssh and see but even then i can miss sometime...

In future we can also implement to run commands from telegram bot like add new streamer or starting the stream using commands from bot.

Comment thread .env
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well i kind of unnecessarily pushed this file cause we can also put values in parameters file but anyone can look here and can have idea what to put where :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant