Skip to content
Jos van der Zande edited this page Jun 12, 2023 · 1 revision

DTGBOT setup instructions

Setup an Telegram bot

instruction to setup a Telegram BOT: https://www.domoticz.com/wiki/Telegram_Bot

Setup instructions DTGBOT

Debian & Ubuntu

  1. LUA: sudo apt install lua5.2
  2. JSON: sudo apt install lua-json
  3. HTTP: sudo apt install lua-socket
  4. HTTPS: sudo apt install lua-sec

Windows

  1. JSON: download dkjson.lua from http://dkolf.de/src/dkjson-lua.fsl/home and rename it to json.lua
  2. HTTPS: ??

Service setup for DTGBOT

  1. Edit systemd-dtgbot.sh:
    • Fill the proper info in the different fields
  2. copy dtgbot.service to /etc/systemd/system/dtgbot.service
  3. enable the service:sudo systemctl enable dtgbot
  4. start the service: sudo systemctl start dtgbot