mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 12:36:52 +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 = "";
|
||||
topicFreeMem = "";
|
||||
clientname = "watermeter";
|
||||
|
||||
clientname = "AIOTED-" + getMac();
|
||||
|
||||
OldValue = "";
|
||||
flowpostprocessing = NULL;
|
||||
user = "";
|
||||
|
||||
Reference in New Issue
Block a user