From 4fb9e10fcf697370697a6e2a01cd693b63d3cde0 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Wed, 7 Feb 2024 16:17:11 +0100 Subject: [PATCH] Add SO158 --- tasmota/include/tasmota_types.h | 2 +- tools/decode-status.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tasmota/include/tasmota_types.h b/tasmota/include/tasmota_types.h index 6df44ec1c..1a37f6033 100755 --- a/tasmota/include/tasmota_types.h +++ b/tasmota/include/tasmota_types.h @@ -191,7 +191,7 @@ typedef union { // Restricted by MISRA-C Rule 18.4 bu uint32_t zcfallingedge : 1; // bit 9 (v13.0.0.1) - SetOption155 - (ZCDimmer) Enable rare falling Edge dimmer instead of leading edge uint32_t sen5x_passive_mode : 1; // bit 10 (v13.1.0.1) - SetOption156 - (Sen5x) Run in passive mode when there is another I2C master (e.g. Ikea Vindstyrka), i.e. do not set up Sen5x sensor, higher polling interval uint32_t neopool_outputsensitive : 1; // bit 11 (v13.2.0.1) - SetOption157 - (NeoPool) Output sensitive data (1) - uint32_t mqtt_disable_modbus : 1; // bit 12 (v13.2.0.1) - SetOption158 - (MQTT) Disable publish ModbusReceived MQTT messages, you must use event trigger rules instead. + uint32_t mqtt_disable_modbus : 1; // bit 12 (v13.3.0.5) - SetOption158 - (MQTT) Disable publish ModbusReceived MQTT messages, you must use event trigger rules instead uint32_t spare13 : 1; // bit 13 uint32_t spare14 : 1; // bit 14 uint32_t spare15 : 1; // bit 15 diff --git a/tools/decode-status.py b/tools/decode-status.py index 922472118..c6de2333d 100755 --- a/tools/decode-status.py +++ b/tools/decode-status.py @@ -213,7 +213,8 @@ a_setoption = [[ "(ZCDimmer) Enable rare falling Edge dimmer instead of leading edge", "(Sen5x) Run in passive mode when there is another I2C master (e.g. Ikea Vindstyrka), i.e. do not set up Sen5x sensor, higher polling interval", "(NeoPool) Output sensitive data (1)", - "","","","", + "(MQTT) Disable publish ModbusReceived MQTT messages, you must use event trigger rules instead", + "","","", "","","","", "","","","", "","","","", @@ -337,7 +338,7 @@ else: obj = json.load(fp) def StartDecode(): - print ("\n*** decode-status.py v13.3.0.2 by Theo Arends and Jacek Ziolkowski ***") + print ("\n*** decode-status.py v13.3.0.5 by Theo Arends and Jacek Ziolkowski ***") # print("Decoding\n{}".format(obj))