diff --git a/CHANGELOG.md b/CHANGELOG.md index 815bc9f63..0d8036227 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file. ### Changed - BLE EQ3-TRV code refactoring (#24978) +- BLE MI32 display icons instead of data lines. disable by removing `#define USE_SENSOR_ICON` ### Fixed diff --git a/RELEASENOTES.md b/RELEASENOTES.md index cc61f42f7..d93f24bae 100755 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -122,6 +122,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm ### Breaking Changed ### Changed +- BLE MI32 display icons instead of data lines. disable by removing `#define USE_SENSOR_ICON` - BLE EQ3-TRV code refactoring [#24978](https://github.com/arendst/Tasmota/issues/24978) ### Fixed diff --git a/tasmota/include/tasmota_configurations_ESP32.h b/tasmota/include/tasmota_configurations_ESP32.h index 6e71c4362..f140cbc81 100644 --- a/tasmota/include/tasmota_configurations_ESP32.h +++ b/tasmota/include/tasmota_configurations_ESP32.h @@ -280,6 +280,7 @@ #define USE_EQ3_ESP32 #endif // USE_MI_EXT_GUI #define USE_MI_ESP32 // (ESP32 only) Add support for ESP32 as a BLE-bridge (+9k2 mem, +292k flash) + #define USE_SENSOR_ICON // Display GUI icons instead of line with data #endif // FIRMWARE_BLUETOOTH diff --git a/tasmota/tasmota_xsns_sensor/xsns_62_esp32_mi_ble.ino b/tasmota/tasmota_xsns_sensor/xsns_62_esp32_mi_ble.ino index 29a3f4996..043a92d35 100644 --- a/tasmota/tasmota_xsns_sensor/xsns_62_esp32_mi_ble.ino +++ b/tasmota/tasmota_xsns_sensor/xsns_62_esp32_mi_ble.ino @@ -35,7 +35,7 @@ #ifdef USE_MI_ESP32 -#define MI32_VERSION "v0.9.3.4" +#define MI32_VERSION "v26.8.31" /*********************************************************************************************\ BLE Xiaomi/Mijia (MI) sensor decoding @@ -47,6 +47,8 @@ -------------------------------------------------------------------------------------------- Version yyyymmdd Action Description -------------------------------------------------------------------------------------------- + 26.8.31 changed - display icons instead of data lines. disable by removing #define USE_SENSOR_ICON + ------- 0.9.3.4 20260823 changed - redesign BTHome events and buffer JSON message for easier rule/script/berry support ------- 0.9.3.3 20260819 changed - fix BTHome decryption of multiple sensors @@ -108,10 +110,10 @@ #define XSNS_62 62 -//#define USE_SENSOR_ICON +//#define USE_SENSOR_ICON // Display GUI icons instead of line with data #define USE_MI_DECRYPTION // Enable also for BTHome V2 -#define USE_MI_DEBUG // Enable debug messages at the cost of more code size / flash usage +//#define USE_MI_DEBUG // Enable debug messages at the cost of more code size / flash usage #include #ifdef USE_MI_DECRYPTION @@ -661,7 +663,7 @@ enum MI32_MI_KEY_REQ { KEY_REQUIRED_AND_INVALID = 4, // we got an encrypted packet, and could not decrypt }; -const char kKeyNeeded[] PROGMEM = "WAIT|NOTKEY|NoKey|KeyOk|KeyInv"; +const char kKeyNeeded[] PROGMEM = "Wait|NotKey|NoKey|KeyOk|KeyInv"; /*********************************************************************************************\ * Classes @@ -4232,14 +4234,11 @@ void MI32ShowTriggeredSensors(){ const char SI_WEB_CSS[] PROGMEM = "" // Terminate current two column table... "