I edit the database by adding a table related to the user and the Chatid field that is used by Telegram to identify users.
Improved Admin to see the table Telegram and created the "message_detect_tag" class in the models to detect if the user enters or leaves the space and thus send a personalized greeting or farewell.
This message system is independent of bots Telegram to fall if continue to send these "simple" messages.
Also warns a group of Telegram when the first user (Site Open) enters or exits the last (Closed Site).
Add the Bot Telegram, programmed in python using the TelegramBotApi.
- Know if the space is open or closed by the command "/status".
- Return a list of users who are within the space at that moment in the command "/users_in".
- (Coming soon) Option to open the doors using the command "/open" to persons authorized to do this.
Can you think of a new option?
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.