-
Notifications
You must be signed in to change notification settings - Fork 18
Home
Jos edited this page Jun 13, 2023
·
8 revisions
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:
- modules can be reloaded without service restart
- service restart immediately, not waiting for the long-poll anymore
- 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. - Added MenuMessagesMaxShown=[x] to dtgbot[_user].cfg, when set, will clean all older messages than the last x commands and their reply.
- 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
- It combines the Telegram Menus versions at the Bottom and the Inline which can be switched between dynamically.
- It now uses standard ssl and LUA install packages in stead of the previous compiled usr versions.
- The service now runs from systemd as well.