From 62c0c89cfb341bbe84d5300400124c2e3b33f9e7 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Mon, 4 Nov 2019 12:23:20 +0100 Subject: [PATCH] Add user define MQTT_CLEAN_SESSION Add user define MQTT_CLEAN_SESSION (#6816) --- tasmota/my_user_config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index c225ddd86..a351ee51d 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -265,6 +265,7 @@ // -- MQTT ---------------------------------------- #define MQTT_TELE_RETAIN 0 // Tele messages may send retain flag (0 = off, 1 = on) +#define MQTT_CLEAN_SESSION 1 // Mqtt clean session connection (0 = No clean session, 1 = Clean session (default)) // -- MQTT - Domoticz ----------------------------- #define USE_DOMOTICZ // Enable Domoticz (+6k code, +0.3k mem)