Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 506 Bytes

readme.md

File metadata and controls

21 lines (12 loc) · 506 Bytes

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