Change default MQTT topics in docker installation

Hi, I have installed tha docker version of TheengsGateway and works fine.

The only thing I can´t do is change the default MQTT topics that I wrote in my docker-compose.yml file

        - MQTT_PUBLISH_TOPIC=blea/TheengsGateway/BTtoMQTT
        - MQTT_SUBSCRIBE_TOPIC=blea/+/BTtoMQTT/undecoded

When I run the docker container this is what I get:

Attaching to TheengsGateway
TheengsGateway  | Creating config at /root/theengsgw.conf ...
TheengsGateway  | {
TheengsGateway  |     "host": "xxx.xxx.xxx.xxx",
TheengsGateway  |     "pass": "xxxxxxxxx",
TheengsGateway  |     "user": "jeedom",
TheengsGateway  |     "port": 1883,
TheengsGateway  |     "publish_topic": "home/TheengsGateway/BTtoMQTT",
TheengsGateway  |     "subscribe_topic": "home/+/BTtoMQTT/undecoded",

I just change home/ to blea/ in my docker-compose.yml file but it doesn´t works

I understand that is a cosmetic error, but… Any clue?

I am running in a docker as well. Instead of:

  • MQTT_PUBLISH_TOPIC=blea/TheengsGateway/BTtoMQTT
  • MQTT_SUBSCRIBE_TOPIC=blea/+/BTtoMQTT/undecoded

Try this:

  • MQTT_PUB_TOPIC=blea/TheengsGateway/BTtoMQTT
  • MQTT_SUB_TOPIC=blea/+/BTtoMQTT/undecoded

for LWT, use LWT_TOPIC
for presence topic use MQTT_PRE_TOPIC

I hope that helps!