Skip to content
Jos edited this page Jun 13, 2023 · 8 revisions

DTGBOT Telegram Bot for Domoticz

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

The new v2 version of DTGBOT has much more errorchecking with increased stability and logging:

  1. modules can be reloaded without service restart
  2. service restart immediately, not waiting for the long-poll anymore
  3. Hard errors in LUA modules won't cause hardcrash, but are captured to log file and the process will continue.
    The sender of the command will get an Telegram message indicating the Hardcrash of the module.
  4. Added MenuMessagesMaxShown=[x] to dtgbot[_user].cfg, when set, will clean all older messages than the last x commands and their reply.
  5. Added internal commands:
    • "_reloadconfig" will reload all settings from dgtbot.cfg and domoticz tables & LUA Modules without restarting service. So this allows you to set eg: TelegramBotLoglevel in domoticz and do this command to make it active.
    • "_reloadmodules" Will reload all LUA modules without restarting the service.
    • "_cleanall" Remove all DTGBOT messages, only when MenuMessagesMaxShown is set greater than 0 in dtgbot[_user].cfg
  6. It combines the Telegram Menus versions at the Bottom and the Inline which can be switched between dynamically.
  7. It now uses standard ssl and LUA install packages in stead of the previous compiled usr versions.
  8. The service now runs from systemd as well.

DTGBOT Setup

DTGBOT basics

Alt text Alt text

DTGMenu basics

Alt text Alt text

Clone this wiki locally