diff --git a/main/ZgatewayIR.ino b/main/ZgatewayIR.ino index 2454e027..f5d067c9 100644 --- a/main/ZgatewayIR.ino +++ b/main/ZgatewayIR.ino @@ -174,6 +174,7 @@ void MQTTtoIR(char* topicOri, JsonObject& IRdata) { } if (data != 0 || raw) { Log.trace(F("MQTTtoIR value || raw detected" CR)); + irrecv.disableIRIn(); bool signalSent = false; const char* protocol_name = IRdata["protocol_name"]; unsigned int valueBITS = IRdata["bits"] | 0; diff --git a/platformio.ini b/platformio.ini index 7e611a31..9f551d52 100644 --- a/platformio.ini +++ b/platformio.ini @@ -117,7 +117,7 @@ picomqtt = PicoMQTT@1.1.1 rc-switch = https://github.com/1technophile/rc-switch.git#98537e9 newremoteswitch = https://github.com/1technophile/NewRemoteSwitch.git#8eb980e ble = https://github.com/h2zero/NimBLE-Arduino.git#1.4.1 -irremoteesp = IRremoteESP8266@2.8.2 +irremoteesp = IRremoteESP8266@2.8.5 lora = https://github.com/sandeepmistry/arduino-LoRa.git#f4a1d27 esppilight = ESPiLight@0.17.0 rfWeatherStation = WeatherStationDataRx@0.3.1