use unique MQTT client ID. Without this (and multiple running deevices with same ID), they disconnect each other!

This commit is contained in:
CaCO3
2022-10-26 10:25:17 +02:00
parent 158ec65e57
commit 6b47eef4cd

View File

@@ -26,7 +26,9 @@ void ClassFlowMQTT::SetInitialParameter(void)
topicUptime = "";
topicFreeMem = "";
clientname = "watermeter";
clientname = "AIOTED-" + getMac();
OldValue = "";
flowpostprocessing = NULL;
user = "";