diff --git a/main/ZgatewayBT.ino b/main/ZgatewayBT.ino index 0841ffe882..eed31ad21a 100644 --- a/main/ZgatewayBT.ino +++ b/main/ZgatewayBT.ino @@ -1230,7 +1230,7 @@ void process_bledata(JsonObject& BLEdata) { model_id = BLEconectable::id::LYWSD03MMC; else if (name.compare("DT24-BLE") == 0) model_id = BLEconectable::id::DT24_BLE; - else if (name.compare("Battery Monitor") == 0) + else if (name.compare("Battery Monitor") == 0 || name.compare("Li Battery Monitor") == 0 || name.compare("ZX-1689") == 0) model_id = BLEconectable::id::BM2; else if (name.compare("MHO-C401") == 0) model_id = BLEconectable::id::MHO_C401; diff --git a/platformio.ini b/platformio.ini index 282091a482..a634df017f 100644 --- a/platformio.ini +++ b/platformio.ini @@ -152,7 +152,7 @@ somfy_remote=Somfy_Remote_Lib@0.3.0 rtl_433_ESP = https://github.com/NorthernMan54/rtl_433_ESP.git#v0.3.0 emodbus = miq19/eModbus@1.0.0 gfSunInverter = https://github.com/BlackSmith/GFSunInverter.git#v1.0.1 -decoder = https://github.com/theengs/decoder.git#v1.5.7 +decoder = https://github.com/theengs/decoder.git ssd1306 = https://github.com/ThingPulse/esp8266-oled-ssd1306.git#f96fd6a lm75 = jeremycole/I2C Temperature Sensors derived from the LM75@^1.0.3 rn8209 = https://github.com/theengs/RN8209C-SDK.git#arduino