mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 01:09:51 +03:00
added MQTT will topic & payload
This commit is contained in:
@@ -23,7 +23,8 @@
|
||||
#define MQTT_BASE "home"
|
||||
#define MQTT_TOPIC_START "start"
|
||||
#define MQTT_TOPIC_START_PAYLOAD "start"
|
||||
#define MQTT_WILL "status" // for last will & testament
|
||||
#define MQTT_WILL_TOPIC "status" // for last will & testament topic name
|
||||
#define MQTT_WILL_PAYLOAD "0" // for last will & testament payload
|
||||
#define MQTT_RETAIN true
|
||||
#define MQTT_KEEPALIVE 300
|
||||
#define MQTT_QOS 1
|
||||
|
||||
Reference in New Issue
Block a user