[BT] Device Tracker sync across gateways (#2094)
Device Tracker sync across gateways - OpenMQTTGateway & Theengs Gateway
This commit is contained in:
1 parent
952a65dd0f
commit
67e50642dd
4 files changed
+39
-3
No files matched your search
@@ -1134,6 +1134,10 @@ void setupMQTT() {
|
||||
mqtt->subscribe(subjectMultiGTWIR, receivingDATA, mqtt_max_payload_size);
|
||||
# endif
|
||||
|
||||
# if enableMultiGTWSync
|
||||
mqtt->subscribe(String(mqtt_topic) + subjectTrackerSync, receivingDATA, mqtt_max_payload_size);
|
||||
# endif
|
||||
|
||||
mqtt->begin();
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user