LWT messages how often

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Quart
Normal user
Posts: 19
Joined: 16 Jul 2019, 10:08
Location: Sweden
Contact:

LWT messages how often

#1 Post by Quart » 07 Jan 2020, 11:52

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

User avatar
grovkillen
Core team member
Posts: 3417
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: LWT messages how often

#2 Post by grovkillen » 07 Jan 2020, 12:37

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).
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests