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

DTGBOT Telegram Bot for Domoticz

This is the Wiki for the new v2.0 version release soon. Information about the current Master can be found on the main github page.

The new v2 version of DTGBOT has much more errorchecking to increase stability and logging.
It combines the Telegram Menus versions at the Bottom and the Inline.
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