From a469b35f021ac2d0d8a8753cb39f22201af5ba00 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Mon, 7 Nov 2022 11:06:17 +0100 Subject: [PATCH] Bump version to v12.2.0.3 --- CHANGELOG.md | 17 ++++++++++++++--- RELEASENOTES.md | 5 ++++- tasmota/include/tasmota_version.h | 2 +- tasmota/tasmota_support/support_features.ino | 13 +++++++++---- tools/decode-status.py | 8 ++++---- 5 files changed, 32 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a3da0ee0..6ed7e1001 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,19 @@ All notable changes to this project will be documented in this file. ## [Unreleased] - Development -## [12.2.0.2] +## [12.2.0.3] +### Added +- Support for BP1658CJ RGBCW led bulbs like Orein OS0100411267 by Cossid (#17011) + +### Breaking Changed + +### Changed + +### Fixed + +### Removed + +## [12.2.0.2] 20221107 ### Added - Support for Digital Addressable Lighting Interface (DALI) by Andrei Kazmirtsuk (#16938) - Support for two phase power calibration using commands ``PowerSet2``, ``VoltageSet2`` and ``CurrentSet2`` @@ -14,8 +26,6 @@ All notable changes to this project will be documented in this file. - ESP32 DMX ArtNet optimization to avoid any object allocation and avoid garbage collector pauses - Berry add ``dyn`` class -### Breaking Changed - ### Changed - Move some persistent data (PowerLow) - ESP32 Framework (Core) from v2.0.5 to v2.0.5.2 @@ -25,6 +35,7 @@ All notable changes to this project will be documented in this file. - Deduplicate code and fix %timer n% rule regression from v12.2.0 (#16914) - Serial initialization for baudrate and config (#16970) - ModbusBridge buffer overflow (#16979) +- Default serial bridge configuration from 5N1 to 8N1 regression from v10.1.0.3 ### Removed - Define ``USE_PN532_DATA_RAW`` from NFC reader (#16939) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index e582f6c68..0fc183dd2 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -107,7 +107,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl http://ota.tasmo [Complete list](BUILDS.md) of available feature and sensors. -## Changelog v12.2.0.2 +## Changelog v12.2.0.3 ### Added - Command ``SetOption47 1..255`` to delay power on relay state in seconds reducing power surge. ``SO47 1`` delays until network connected. ``SO47 2`` delays until mqtt connected - Support for two phase power calibration using commands ``PowerSet2``, ``VoltageSet2`` and ``CurrentSet2`` @@ -116,6 +116,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl http://ota.tasmo - Support for up to four DS18x20 GPIOs by md5sum-as [#16833](https://github.com/arendst/Tasmota/issues/16833) - Support for Digital Addressable Lighting Interface (DALI) by Andrei Kazmirtsuk [#16938](https://github.com/arendst/Tasmota/issues/16938) - Support for NTAG2xx tags read and write on PN532 NFC reader [#16939](https://github.com/arendst/Tasmota/issues/16939) +- Support for BP1658CJ RGBCW led bulbs like Orein OS0100411267 by Cossid [#17011](https://github.com/arendst/Tasmota/issues/17011) - Berry ``bytes().setbytes()`` method [#16892](https://github.com/arendst/Tasmota/issues/16892) - Berry ``bytes().reverse()`` method [#16977](https://github.com/arendst/Tasmota/issues/16977) - Zigbee router firmware for Sonoff ZBBridgePro [#16900](https://github.com/arendst/Tasmota/issues/16900) @@ -134,6 +135,8 @@ The latter links can be used for OTA upgrades too like ``OtaUrl http://ota.tasmo - BP5758D red channel corruption regression from v12.1.1.6 [#16850](https://github.com/arendst/Tasmota/issues/16850) - Deduplicate code and fix %timer n% rule regression from v12.2.0 [#16914](https://github.com/arendst/Tasmota/issues/16914) - Serial initialization for baudrate and config [#16970](https://github.com/arendst/Tasmota/issues/16970) +- ModbusBridge buffer overflow [#16979](https://github.com/arendst/Tasmota/issues/16979) +- Default serial bridge configuration from 5N1 to 8N1 regression from v10.1.0.3 ### Removed diff --git a/tasmota/include/tasmota_version.h b/tasmota/include/tasmota_version.h index 6d24b16b5..c2ac91bfd 100644 --- a/tasmota/include/tasmota_version.h +++ b/tasmota/include/tasmota_version.h @@ -20,6 +20,6 @@ #ifndef _TASMOTA_VERSION_H_ #define _TASMOTA_VERSION_H_ -const uint32_t VERSION = 0x0C020002; // 12.2.0.2 +const uint32_t VERSION = 0x0C020003; // 12.2.0.3 #endif // _TASMOTA_VERSION_H_ diff --git a/tasmota/tasmota_support/support_features.ino b/tasmota/tasmota_support/support_features.ino index 78d972340..9c728ef75 100644 --- a/tasmota/tasmota_support/support_features.ino +++ b/tasmota/tasmota_support/support_features.ino @@ -840,10 +840,15 @@ void ResponseAppendFeatures(void) #if defined(USE_ENERGY_SENSOR) && defined(USE_MODBUS_ENERGY) feature9 |= 0x00000010; // xnrg_29_modbus.ino #endif -// feature9 |= 0x00000020; -// feature9 |= 0x00000040; -// feature9 |= 0x00000080; - +#if defined(USE_SPI) && defined(USE_SHELLY_PRO) + feature9 |= 0x00000020; // xdrv_88_esp32_shelly_pro.ino +#endif +#ifdef USE_DALI + feature9 |= 0x00000040; // xdrv_89_esp32_dali.ino +#endif +#if defined(USE_LIGHT) && defined(USE_BP1658CJ) + feature9 |= 0x00000080; // xlgt_10_bp1658cj.ino +#endif // feature9 |= 0x00000100; // feature9 |= 0x00000200; // feature9 |= 0x00000400; diff --git a/tools/decode-status.py b/tools/decode-status.py index d076f11a2..1ae8641e2 100755 --- a/tools/decode-status.py +++ b/tools/decode-status.py @@ -97,8 +97,8 @@ a_setoption = [[ "(Rotary) Rotary step boundary (default 10)", "(IR) Base tolerance percentage for matching incoming IR messages (default 25, max 100)", "(Bistable) Pulse time in milliseconds for two coil bistable latching relays (default 40)", - "(not used) Tuya MCU power Id", - "(not used) Energy Tariff1 start hour", + "(PowerOn) Add delay of 10 x value milliseconds at power on", + "(PowerOn) Add delay of value seconds at power on before activating relays", "(not used) Energy Tariff2 start hour", "", ],[ @@ -287,7 +287,7 @@ a_features = [[ "USE_BP5758D","USE_HYT","USE_SM2335","USE_DISPLAY_TM1621_SONOFF" ],[ "USE_SGP40","USE_LUXV30B","USE_CANSNIFFER","USE_QMC5883L", - "USE_MODBUS_ENERGY","","","", + "USE_MODBUS_ENERGY","USE_SHELLY_PRO","USE_DALI","USE_BP1658CJ", "","","","", "","","","", "","","","", @@ -321,7 +321,7 @@ else: obj = json.load(fp) def StartDecode(): - print ("\n*** decode-status.py v12.1.1.4 by Theo Arends and Jacek Ziolkowski ***") + print ("\n*** decode-status.py v12.2.0.3 by Theo Arends and Jacek Ziolkowski ***") # print("Decoding\n{}".format(obj))