added MQTT will topic & payload

This commit is contained in:
proddy
2019-01-12 18:56:10 +01:00
parent 343703fa52
commit 6e3312c772
4 changed files with 23 additions and 10 deletions

View File

@@ -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