-
Notifications
You must be signed in to change notification settings - Fork 18
setup
Jos van der Zande edited this page Jun 12, 2023
·
1 revision
instruction to setup a Telegram BOT: https://www.domoticz.com/wiki/Telegram_Bot
- LUA: sudo apt install lua5.2
- JSON: sudo apt install lua-json
- HTTP: sudo apt install lua-socket
- HTTPS: sudo apt install lua-sec
- JSON: download dkjson.lua from http://dkolf.de/src/dkjson-lua.fsl/home and rename it to json.lua
- HTTPS: ??
- Edit systemd-dtgbot.sh:
- Fill the proper info in the different fields
- copy dtgbot.service to /etc/systemd/system/dtgbot.service
- enable the service:sudo systemctl enable dtgbot
- start the service: sudo systemctl start dtgbot