From 9f397504e4cc1caffa718ab1ba9addf01e97a9ea Mon Sep 17 00:00:00 2001 From: Florian <1technophile@users.noreply.github.com> Date: Sun, 23 Jun 2019 08:41:01 +0200 Subject: [PATCH] recover BTtoMQTT function with HM10 --- OpenMQTTGateway.ino | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/OpenMQTTGateway.ino b/OpenMQTTGateway.ino index 491e783..924756d 100644 --- a/OpenMQTTGateway.ino +++ b/OpenMQTTGateway.ino @@ -647,6 +647,12 @@ void loop() #ifdef ZgatewayPilight PilighttoMQTT(); #endif + #ifdef ZgatewayBT + #if defined(ESP8266) || defined(ESP32) + if(BTtoMQTT()) + trc(F("BTtoMQTT OK")); + #endif + #endif #ifdef ZgatewaySRFB SRFBtoMQTT(); #endif