Access of Supla MQTT from other docker instances (Homeassistant)

User avatar
klew
Posts: 13905
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

PeterP wrote: Sun May 24, 2026 5:02 pm With manual editing the supla.cfg file in /etc/supla-server/ and adding the correct MQTT values
and using docker kill —-signal=SIGHUP to restart the app without recreation of the container the connect works and also the HA discovery.

So the task is now on developer side. This workaround is not stable —- any tecreation/restart of containers revoke the connection.
I tried installing everything from scratch. After some time I got to the same point as you. I had "SUPLA_MQTT_..." entries in .env, but it wasn't connecting to the broker. No logs, nothing.

There is a bug in latest release. supla-docker /cloud assume that the entries in .env should be SUPLA_MQTT_, but supla-server is still expecting the old names starting from MQTT_
So I removed "SUPLA_" in .env from MQTT entries and it started to work.

So thanks for reporting this problem and for your patience. We'll fix it.
Najlepsze suple dla Twojego domu :mrgreen:
PeterP
Posts: 53
Joined: Wed Nov 05, 2025 8:47 am

Post

Hi thanks for reply,

I would say if it works starting with MQTT then I think only docu needs to be updated, the Variable starting with SUPLA_ anyway I think is not a good turn.

First: it is a long naming, too long to write without making things more clear, we know we‘re doing it with Supla

AND more important - as I was on the wrong turn for some time - it tends to indicate that you create an SUPLA internally MQTT broker.

So I would not introduce again the SUPLA_MQTT….

I‘ll test without the first word and if that works : all good , just update the docu…
PeterP
Posts: 53
Joined: Wed Nov 05, 2025 8:47 am

Post

Tested, works without the word SUPLA_ in .env

So from my side I would recommend to keep this and only change documentation.

The retain policy for Voltage/current measures which is also not woking currently needs to be corrected/bugfixed. That is not the same issue, means, not working at all because leaving out the word SUPLA_ does not help there.

It‘s not possible to guess if there was just a name change done or it was not set up in the current release.
User avatar
klew
Posts: 13905
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

PeterP wrote: Tue May 26, 2026 8:06 am The retain policy for Voltage/current measures which is also not woking currently needs to be corrected/bugfixed.
What do you mean? Is it set to "retain" or to "not retain"? And what do you expect?
Najlepsze suple dla Twojego domu :mrgreen:
PeterP
Posts: 53
Joined: Wed Nov 05, 2025 8:47 am

Post

ask fracz, he maintained it.
He answered at start of this long thread ;-)

I think it‘s done for the next releasse
User avatar
klew
Posts: 13905
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

PeterP wrote: Tue May 26, 2026 9:06 pm ask fracz, he maintained it.
He answered at start of this long thread ;-)

I think it‘s done for the next releasse
I went through current topic and I haven't seen any message from fracz here.
Najlepsze suple dla Twojego domu :mrgreen:
PeterP
Posts: 53
Joined: Wed Nov 05, 2025 8:47 am

Post

oh, sorry:


https://en-forum.supla.org/viewtopic.php?t=18545
fracz wrote: Tue May 19, 2026 7:33 am

Return to “Help”