From d028e5c847530b45422b948b3ae37a6e5fbde4d2 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sun, 3 Jan 2021 17:04:14 +0100 Subject: [PATCH] Update changelog --- CHANGELOG.md | 4 +++- RELEASENOTES.md | 3 +++ tasmota/settings.h | 2 +- tools/decode-status.py | 8 +++++--- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bb01ac2a..6637b3a12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,8 @@ All notable changes to this project will be documented in this file. - Basic support for ESP32 Odroid Go 16MB binary tasmota32-odroidgo.bin (#8630) - Command ``CTRange`` to specify the visible CT range the bulb is capable of (#10311) - Command ``VirtualCT`` to simulate or fine tune CT bulbs with 3,4,5 channels (#10311) -- Disable `USE_LIGHT`` light support for ZBBridge (saves 17.6kb) +- Command ``SetOption118 1`` to move ZbReceived from JSON message and into the subtopic replacing "SENSOR" default (#10353) +- Command ``SetOption119 1`` to remove the device addr from json payload, can be used with zb_topic_fname where the addr is already known from the topic (#10355) ### Breaking Changed - Replaced MFRC522 13.56MHz rfid card reader GPIO selection from ``SPI CS`` by ``RC522 CS`` @@ -23,6 +24,7 @@ All notable changes to this project will be documented in this file. ### Changed - Maximum chars in AddLog_P logging reduced from 700 to 128 (LOGSZ) to enhance stability +- Disabled ``USE_LIGHT`` light support for ZBBridge saving 17.6kB (#10374) ## [9.2.0.1] 20201229 ### Added diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 539323f9d..63b7466c3 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -60,6 +60,8 @@ The attached binaries can also be downloaded from http://ota.tasmota.com/tasmota ### Added - Command ``CTRange`` to specify the visible CT range the bulb is capable of [#10311](https://github.com/arendst/Tasmota/issues/10311) - Command ``VirtualCT`` to simulate or fine tune CT bulbs with 3,4,5 channels [#10311](https://github.com/arendst/Tasmota/issues/10311) +- Command ``SetOption118 1`` to move ZbReceived from JSON message and into the subtopic replacing "SENSOR" default [#10353](https://github.com/arendst/Tasmota/issues/10353) +- Command ``SetOption119 1`` to remove the device addr from json payload, can be used with zb_topic_fname where the addr is already known from the topic [#10355](https://github.com/arendst/Tasmota/issues/10355) - Milliseconds to console output [#10152](https://github.com/arendst/Tasmota/issues/10152) - Gpio ``Option_a1`` enabling PWM2 high impedance if powered off as used by Wyze bulbs [#10196](https://github.com/arendst/Tasmota/issues/10196) - BSSID and Signal Strength Indicator to GUI wifi scan result [#10253](https://github.com/arendst/Tasmota/issues/10253) @@ -86,6 +88,7 @@ The attached binaries can also be downloaded from http://ota.tasmota.com/tasmota ### Changed - Logging from heap to stack freeing 700 bytes RAM +- Disabled ``USE_LIGHT`` light support for ZBBridge saving 17.6kB (#10374) ### Fixed - Redesign syslog and mqttlog using log buffer [#10164](https://github.com/arendst/Tasmota/issues/10164) diff --git a/tasmota/settings.h b/tasmota/settings.h index 81a62c835..32d8b8871 100644 --- a/tasmota/settings.h +++ b/tasmota/settings.h @@ -143,7 +143,7 @@ typedef union { // Restricted by MISRA-C Rule 18.4 bu uint32_t mi32_enable : 1; // bit 1 (v9.1.0.1) - SetOption115 - (ESP32 BLE) Enable ESP32 MI32 BLE (1) uint32_t zb_disable_autoquery : 1; // bit 2 (v9.1.0.1) - SetOption116 - (Zigbee) Disable auto-query of zigbee lights and devices (1) uint32_t fade_fixed_duration : 1; // bit 3 (v9.1.0.2) - SetOption117 - (Light) run fading at fixed duration instead of fixed slew rate - uint32_t zb_received_as_subtopic : 1; // bit 4 (v9.2.0.3) - SetOption118 - (Zigbee) Move ZbReceived form JSON message and into the subtopic replacing "SENSOR" default + uint32_t zb_received_as_subtopic : 1; // bit 4 (v9.2.0.3) - SetOption118 - (Zigbee) Move ZbReceived from JSON message and into the subtopic replacing "SENSOR" default uint32_t zb_omit_json_addr : 1; // bit 5 (v9.2.0.3) - SetOption119 - (Zigbee) Remove the device addr from json payload, can be used with zb_topic_fname where the addr is already known from the topic uint32_t spare06 : 1; // bit 6 uint32_t spare07 : 1; // bit 7 diff --git a/tools/decode-status.py b/tools/decode-status.py index ba5ead287..3e940d8ff 100755 --- a/tools/decode-status.py +++ b/tools/decode-status.py @@ -171,8 +171,10 @@ a_setoption = [[ "(Switch) Detach Switches from relays and enable MQTT action state for all the SwitchModes (1)", "(ESP32 BLE) Enable ESP32 MI32 BLE (1)", "(Zigbee) Disable auto-query of zigbee lights and devices (1)", - "", - "","","","", + "(Light) run fading at fixed duration instead of fixed slew rate", + "(Zigbee) Move ZbReceived from JSON message and into the subtopic replacing SENSOR default", + "(Zigbee) Remove the device addr from json payload, can be used with zb_topic_fname where the addr is already known from the topic", + "","", "","","","", "","","","", "","","","", @@ -271,7 +273,7 @@ else: obj = json.load(fp) def StartDecode(): - print ("\n*** decode-status.py v20201222 by Theo Arends and Jacek Ziolkowski ***") + print ("\n*** decode-status.py v20210103 by Theo Arends and Jacek Ziolkowski ***") # print("Decoding\n{}".format(obj))