Skip to content

Sends alarm notifications, captured from multiviewer

Notifications You must be signed in to change notification settings

geekk0/cinegy_mv_alarm_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cinegy_mv_alarm_bot

switch to Rus

python version languages last-commit
A bunch of a script that launches a server socket and a telegram bot that sends a notification.

Description

This program is designed to control the continuity of the broadcast automation system "Cinegy". Multiviewer module sends a request to the port of the server on which the socket script is running, then the script, via the telegram bot sends notification.

Start

  1. Adding to the virtual environment: pip install -r reqs.txt
  2. In the config.py file add : token = "*bot API token*"
  3. Run on the server server_socket.py и bot.py.

Using a bot

Use the command "/send_me_alarm" to add your chat_id to the notification mailing list.
"/stop_send_alarm", to remove your chat_id from the notification mailing list.

Libraries used

socket, threading, datetime, telebot, ast.

About

Sends alarm notifications, captured from multiviewer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages