mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Retain LWT
This commit is contained in:
parent
5d69f909e5
commit
27704a9aa1
@ -307,7 +307,7 @@ void mqttStart()
|
||||
conn_opts.will = &will_opts;
|
||||
conn_opts.will->message = "offline";
|
||||
conn_opts.will->qos = 1;
|
||||
conn_opts.will->retained = 0;
|
||||
conn_opts.will->retained = 1;
|
||||
conn_opts.will->topicName = "hasp/plate35/LWT";
|
||||
|
||||
conn_opts.keepAliveInterval = 20;
|
||||
|
Loading…
x
Reference in New Issue
Block a user