Skip to content
Jos van der Zande edited this page Jun 7, 2023 · 8 revisions

DTGOT Telegram Bot for Domoticz

This branch is the version of DTGBOT with much more errorchecking to increase stability and logging.
It combines the Menus at the Bottom and the Inline Menu versions.
It now uses standard ssl and LUA install packages in stead of the previous compiled usr versions.
Works much more stable and installs on the new Debian version.

Setup

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

DTGMenu screenshots:

Alt text Alt text

Clone this wiki locally