mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-09 13:06:54 +03:00
use unique MQTT client ID. Without this (and multiple running deevices with same ID), they disconnect each other!
This commit is contained in:
@@ -26,7 +26,9 @@ void ClassFlowMQTT::SetInitialParameter(void)
|
|||||||
|
|
||||||
topicUptime = "";
|
topicUptime = "";
|
||||||
topicFreeMem = "";
|
topicFreeMem = "";
|
||||||
clientname = "watermeter";
|
|
||||||
|
clientname = "AIOTED-" + getMac();
|
||||||
|
|
||||||
OldValue = "";
|
OldValue = "";
|
||||||
flowpostprocessing = NULL;
|
flowpostprocessing = NULL;
|
||||||
user = "";
|
user = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user