From a79ab7275c209d272597c73b3c8a88291afe42d3 Mon Sep 17 00:00:00 2001 From: ortegafernando Date: Wed, 21 Sep 2022 09:25:23 +0200 Subject: [PATCH] Add SetOption147 Add SetOption147 (MQTT) Enable publish SSerialReceived MQTT messages. If disabled, use event rules instead. If it is disabled, tasmota will not publish an MQTT message every time a SSerialReceived event fires. Use rules to control how and when publish these messages. --- tasmota/tasmota_support/settings.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/tasmota/tasmota_support/settings.ino b/tasmota/tasmota_support/settings.ino index 36dc971e7..6b2e9e376 100644 --- a/tasmota/tasmota_support/settings.ino +++ b/tasmota/tasmota_support/settings.ino @@ -992,6 +992,7 @@ void SettingsDefaultSet2(void) { flag5.mqtt_status_retain |= MQTT_STATUS_RETAIN; flag5.mqtt_switches |= MQTT_SWITCHES; flag5.mqtt_persistent |= ~MQTT_CLEAN_SESSION; + flag6.mqtt_sserialreceived |= MQTT_SSERIALRECEIVED; // flag.mqtt_serial |= 0; flag.device_index_enable |= MQTT_POWER_FORMAT; flag3.time_append_timezone |= MQTT_APPEND_TIMEZONE;