From d9e32d8b068c3b61dedb937ff3c883924353466b Mon Sep 17 00:00:00 2001 From: ortegafernando Date: Wed, 21 Sep 2022 21:41:10 +0200 Subject: [PATCH] Setoption147 Setoption147 (MQTT) Disable publish SSerialReceived MQTT messages. If disabled, you must use event trigger rules instead. If it is activated, tasmota will not publish a MQTT message every time a SSerialReceived event fires. Use rules to control "what, how and when" publish these messages. --- tasmota/include/tasmota_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/include/tasmota_types.h b/tasmota/include/tasmota_types.h index 3135b1995..49bf2dc87 100644 --- a/tasmota/include/tasmota_types.h +++ b/tasmota/include/tasmota_types.h @@ -180,7 +180,7 @@ typedef union { // Restricted by MISRA-C Rule 18.4 bu uint32_t data; // Allow bit manipulation using SetOption struct { // SetOption146 .. SetOption177 uint32_t use_esp32_temperature : 1; // bit 0 (v12.1.1.1) - SetOption146 - (ESP32) Show ESP32 internal temperature sensor - uint32_t mqtt_sserialreceived : 1; // bit 1 (v12.x.x.x) - SetOption147 - (MQTT) Enable publish SSerialReceived MQTT messages. If disabled, use event rules instead. + uint32_t mqtt_disable_sserialrec : 1; // bit 1 (v12.x.x.x) - SetOption147 - (MQTT) Disable publish SSerialReceived MQTT messages, you must use event trigger rules instead. uint32_t spare02 : 1; // bit 2 uint32_t spare03 : 1; // bit 3 uint32_t spare04 : 1; // bit 4