Skip to content

hlcs/presence-telegram-bot

Repository files navigation

Presence Telegram Bot

A Bot telegram for checking the status of door of the hacklab

For use it copy the file docker-compose.template.yml as docker-compose.yml

and set the env vars:

  • TOKEN_TELEGRAM generated by the @BotFather

  • POLLING_INTERVAL default 60000 1 minutes in milliseconds

  • HISTORY_INTERVAL default 300000 5 minutes in milliseconds

  • GET_LAB_STATE_ENDPOINT

  • GET_LAB_HISTORY_ENDPOINT

  • TIMEZONE_OFFSET default +01:00 (Italy) and for start it run the command docker-compose up -d

About

Telegram Bot that talks to Presence web application API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published