Update to ZdisplaySSD1306 to reduce overall resource usage, and enable message queuing (#1417)

This commit is contained in:
Northern Man authored and GitHub committed 2023-01-26 08:17:53 -06:00
1 parent 6e3e8c3330
commit 150603555c
4 files changed
+249 -146

No files matched your search

+3
View File
@@ -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"))