Update to ZdisplaySSD1306 to reduce overall resource usage, and enable message queuing (#1417)
This commit is contained in:
1 parent
6e3e8c3330
commit
150603555c
4 files changed
+249
-146
No files matched your search
@@ -219,6 +219,9 @@ void pubBTMainCore(JsonObject& data, bool haPresenceEnabled = true) {
|
||||
topic = BTConfig.extDecoderTopic; // If external decoder, use this topic to send data
|
||||
topic = subjectBTtoMQTT + String("/") + topic;
|
||||
pub((char*)topic.c_str(), data);
|
||||
if (data.containsKey("model") || data.containsKey("distance")) { // Only display sensor data
|
||||
pubOled((char*)topic.c_str(), data);
|
||||
}
|
||||
}
|
||||
if (haPresenceEnabled && data.containsKey("distance")) {
|
||||
if (data.containsKey("servicedatauuid"))
|
||||
|
||||
Reference in new issue
Block a user