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.
This commit is contained in:
ortegafernando 2022-09-21 21:39:45 +02:00 committed by GitHub
parent a4bf3b3ff0
commit cd2656b8ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -283,8 +283,8 @@ String EthernetMacAddress(void);
#ifndef MQTT_CLEAN_SESSION #ifndef MQTT_CLEAN_SESSION
#define MQTT_CLEAN_SESSION 1 // 0 = No clean session, 1 = Clean session (default) #define MQTT_CLEAN_SESSION 1 // 0 = No clean session, 1 = Clean session (default)
#endif #endif
#ifndef MQTT_SSERIALRECEIVED #ifndef MQTT_DISABLE_SSERIALRECEIVED
#define MQTT_SSERIALRECEIVED 1 // 0 = Disable sserialreceived mqtt messages, 1 = Enable sserialreceived mqtt messages (default) #define MQTT_DISABLE_SSERIALRECEIVED 0 // 1 = Disable sserialreceived mqtt messages, 0 = Enable sserialreceived mqtt messages (default)
#endif #endif
#ifndef MQTT_LWT_OFFLINE #ifndef MQTT_LWT_OFFLINE
#define MQTT_LWT_OFFLINE "Offline" // MQTT LWT offline topic message #define MQTT_LWT_OFFLINE "Offline" // MQTT LWT offline topic message