DTGMenu4Docker (updated version of DTGBOT)

Client tools or tools that can connect with Domoticz. Tools for Windows, iOS, Android, Linux etc.

Moderator: leecollings

Post Reply
User avatar
jvdz
Posts: 2488
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

DTGMenu4Docker (updated version of DTGBOT)

Post by jvdz »

I have been working on a Docker version for DTGBOT, which will make the whole installation very simple and avoid all these LUA & SSL incompatibilities we have seen over the last couple of years.
It also has a web front end to make log checking and basic configuration easier.
This will be the only DTGBOT version I am supporting going forward, and I would like to thank @simonrg for all his work on the original DTGBOT project.

All info can be found here: https://github.com/jvanderzande/dtgbotmenu4docker

Some Screenscapture:
DTGBOTIndex.png
DTGBOTIndex.png (181.86 KiB) Viewed 2197 times
DTGBOTConfig_authorisation.png
DTGBOTConfig_authorisation.png (135.23 KiB) Viewed 2197 times
DTGBOTMENU_keyboard_menu1 (Klein).png
DTGBOTMENU_keyboard_menu1 (Klein).png (287.77 KiB) Viewed 2197 times
DTGBOTMENU_inline_menu1 (Klein).png
DTGBOTMENU_inline_menu1 (Klein).png (336.63 KiB) Viewed 2197 times
mojso
Posts: 95
Joined: Friday 08 November 2019 23:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: DTGMenu4Docker (updated version of DTGBOT)

Post by mojso »

Very good and useful, especially when you don't have a public IP address.
You can control Domoticz from wherever you want.
User avatar
andreo
Posts: 48
Joined: Friday 07 August 2015 21:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.3
Location: Anna Paulowna, Netherlands
Contact:

Re: DTGMenu4Docker (updated version of DTGBOT)

Post by andreo »

Successfully implemented and this is so useful, very satisfied with it.
Latest version of Domoticz and more running on Docker|Raspberry Pi 4-B 8GB Bookworm|RF-Link|Klik Aan Klik Uit|Nefit easy|ESPeasy|P1 power meter|S0PCM-5 through Ser2Net|Alecto WS5500|FrtizBox|Satel Integra|Solis
Greetz Andre.
RNEE
Posts: 88
Joined: Sunday 05 August 2018 10:13
Target OS: Raspberry Pi / ODroid
Domoticz version: 2026.4
Location: NL/Eindhoven area
Contact:

Re: DTGMenu4Docker (updated version of DTGBOT)

Post by RNEE »

Hi Jos,

I have troubles implementing DTG bot.

Log :
2026-11-17 11:17:25 : >> Start Initial connectivity check for Domoticz and Telegram ==
2026-11-17 11:17:25 : Domoticz getversion failed
2026-11-17 11:17:25 : !> Initial test connection to Domoticz failed!
2026-11-17 11:17:25 : +> Initial test connection to Telegram successfull.
2026-11-17 11:17:25 : > ------------------------------------------------------------------
2026-11-17 11:17:25 : !> problem connecting to DomoticzURL=http://192.168.2.48:8080. Is it correct in the compose definitions ?
2026-11-17 11:17:25 : !> Fix your docker-compose.yml environment variable(s) and try to restart.
2026-11-17 11:17:25 : !> environment:
2026-11-17 11:17:25 : !> - TZ=Europe/Amsterdam # Timezone setting
2026-11-17 11:17:25 : !> - DomoticzURL=http://192.168.2.48:8080 # your domoticz url

Problem here is : DomoticzURL=http://dtgbot:domoticz@domoticz-host:8080 # your domoticz url
My IP for Domotics is 192.168.2.48
The Docker IP for the Domoticz container is 172.18.0.2

What should the DomoticzURL in the compose.yaml be exactly ? I tried several but no succes.

Thank you, Rene
Domoticz (since 2016) on Docker on Raspberry PI 5 with 500 Gb NVMe|Milight|KaKu + RFXCOM|Goodwe|Smartstuff P1 meter|Buienradar|Afval kalender|Tuya-wifi|Zigbee + deCONZ Conbee II|Marstek Homebattery 5,12Kwh via Modbus on Pusr-dr134|MQTTMapper|Quatt v2|
User avatar
jvdz
Posts: 2488
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: DTGMenu4Docker (updated version of DTGBOT)

Post by jvdz »

I am running them both on the same HOST(ip = 192.168.0.12) in seperate docker stacks and in DTGBOTMENU use:

Code: Select all

    environment:
      - TZ=Europe/Amsterdam     # Timezone setting
      - DomoticzURL=http://dtgbot:[email protected]:8080            # your domoticz url
Which is working fine for me.
Obviously the userid "dtgbot" needs to be defined in domoticz with password "domoticz".
Post Reply