Page 1 of 1

LWT messages how often

Posted: 07 Jan 2020, 11:52
by Quart
I have some Wemos D1 running esp easy.
And now they are pretty important in my automation.
When they startup they send a LWT message that confirms that they are online.
But after that they dont send any more LWT messages.
Can I change that?
Working with Node-Red and am planning to use a flow for when example a LWT message is older the xx minutes do something.

Tested this setting but nothing more then a startup LWT message

http://www.sundshult.se/lwt.JPG

Re: LWT messages how often

Posted: 07 Jan 2020, 12:37
by grovkillen
LWT is a message that the broker will send when it hasn't heard from the client within set amount of seconds. You should probably look into having the unit publish a "ping" message. This can be done using rules or a switch plugin (set it to a none used GPIO and interval of let's say 30 seconds).