-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support LWT (Last Will and Testament) #17
Comments
Sure, that's a good idea. Does it have to be configurable, or will the following suffice:
|
I guess it's not a big deal to make it configurable, so I'll do that. |
@CWempe I've added this functionality, so please test with version PS. Check the bottom of the readme for config values. |
Can LWT be used to set many topics on death? It would be great if I could use that to clear any retained inputs when it is disconnected. Or maybe there's another mqtt feature that does the same? |
@vontrapp I don't think so. This is a good article on the subject: If you want to clear retained messages when it's disconnected, would just setting retain = false work? |
It would be great if the program would support LWT messages.
see: http://www.hivemq.com/blog/mqtt-essentials-part-9-last-will-and-testament
and also this comment: http://www.hivemq.com/blog/mqtt-essentials-part-9-last-will-and-testament/#comment-44936
The text was updated successfully, but these errors were encountered: