diff --git a/CHANGELOG.md b/CHANGELOG.md index bb3a0f677..86b43dabc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file. ## [13.0.0.3] ### Added +- Support for MAX17043 fuel-gauge systems Lipo batteries (#18788) ### Breaking Changed diff --git a/CODE_OWNERS.md b/CODE_OWNERS.md index 796f9e58e..b0d05100f 100644 --- a/CODE_OWNERS.md +++ b/CODE_OWNERS.md @@ -80,7 +80,16 @@ In addition to @arendst the following code is mainly owned by: | xdrv_66_tm1638 | @arendst | xdrv_67_mcp23xxx | @arendst | xdrv_68_zerocrossDimmer.ino | @stefanbode -| | +| xdrv_69_pca9557 | @cctweaker +| xdrv_70 | +| xdrv_71 | +| xdrv_72 | +| xdrv_73 | +| xdrv_74 | +| xdrv_75 | +| xdrv_76 | +| xdrv_77 | +| xdrv_78 | | xdrv_79_esp32_ble | @staars, @btsimonh | xdrv_81_esp32_webcam | @gemu, @philrich | xdrv_82_esp32_ethernet | @arendst @@ -208,6 +217,7 @@ In addition to @arendst the following code is mainly owned by: | xsns_106_gdk101 | @Szewcson | xsns_107_gm861 | @arendst | xsns_108_tc74 | Michael Loftis +| xsns_109_sgp4x | Andrew Klaus | xsns_110_max17043 | Vincent de Groot | | | Libraries | diff --git a/RELEASENOTES.md b/RELEASENOTES.md index cd0e562d6..218c428f5 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -115,6 +115,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm - Command ``BrRestart`` to restart the Berry VM (experimental) [#19003](https://github.com/arendst/Tasmota/issues/19003) - Command ``Delay -1`` to wait until next second [#18984](https://github.com/arendst/Tasmota/issues/18984) - Command ``Restart 9`` to save all changes and go into deepsleep waiting for a reset [#19024](https://github.com/arendst/Tasmota/issues/19024) +- Support for MAX17043 fuel-gauge systems Lipo batteries [#18788](https://github.com/arendst/Tasmota/issues/18788) - Support for SGP41 TVOC/NOx Sensor [#18880](https://github.com/arendst/Tasmota/issues/18880) - Support for DeepSleep battery level percentage [#19134](https://github.com/arendst/Tasmota/issues/19134) - Berry `getgbl` performance counter to `debug.counters()` [#19070](https://github.com/arendst/Tasmota/issues/19070) diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index 4a8291e27..a29158ccf 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -711,7 +711,7 @@ // #define TC74_MAX_SENSORS 8 // Support non-default/multiple I2C addresses // #define TC74_I2C_PROBE_ADDRESSES { 0x48, 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F } // Addresses to probe/support // #define TC74_MAX_FAILCOUNT 8 // Maximum failed polls before it's marked inactive until reprobing later -// #define USE_MAX17043 // [I2cDriver110] Enable MAX17043 sensor (I2C addresses 0x36) +// #define USE_MAX17043 // [I2cDriver110] Enable MAX17043 sensor (I2C address 0x36) (+0k9 code) // #define USE_PCA9557 // [I2cDriver81] Enable PCA9557 8-bit I/O Expander (I2C addresses 0x18 - 0x1F) (+2k5 code) diff --git a/tasmota/tasmota_support/support_features.ino b/tasmota/tasmota_support/support_features.ino index 5103f7ac2..3a73c7e61 100644 --- a/tasmota/tasmota_support/support_features.ino +++ b/tasmota/tasmota_support/support_features.ino @@ -900,8 +900,9 @@ void ResponseAppendFeatures(void) #if defined(USE_I2C) && defined(USE_SGP4X) feature9 |= 0x01000000; // xdrv_109_sgp4x.ino #endif - -// feature9 |= 0x02000000; +#if defined(USE_I2C) && defined(USE_MAX17043) + feature9 |= 0x02000000; +#endif // feature9 |= 0x04000000; // feature9 |= 0x08000000; diff --git a/tools/decode-status.py b/tools/decode-status.py index 7a76bde39..4a5533e80 100755 --- a/tools/decode-status.py +++ b/tools/decode-status.py @@ -298,7 +298,7 @@ a_features = [[ "USE_DISPLAY_TM1650","USE_PCA9632","USE_TUYAMCUBR","USE_SEN5X", "USE_BIOPDU","USE_MCP23XXX_DRV","USE_PMSA003I","USE_LOX_O2", "USE_GDK101","USE_GM861","USE_TC74","USE_PCA9557", - "USE_SGP4X","","","", + "USE_SGP4X","USE_MAX17043","","", "","","","" ]] @@ -327,7 +327,7 @@ else: obj = json.load(fp) def StartDecode(): - print ("\n*** decode-status.py v13.0.0.1 by Theo Arends and Jacek Ziolkowski ***") + print ("\n*** decode-status.py v13.0.0.3 by Theo Arends and Jacek Ziolkowski ***") # print("Decoding\n{}".format(obj))