Skip to content
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

Properly disconnect from broker #99

Open
btro1404 opened this issue Jan 10, 2022 · 0 comments
Open

Properly disconnect from broker #99

btro1404 opened this issue Jan 10, 2022 · 0 comments

Comments

@btro1404
Copy link

For saving battery I run an ESP-01 into deepSleep. This must not produce a LastWill because a LastWill should occur if a (connection-)error happens. I did not find a possibility for disconnecting the EspMQTTClient properly from the broker so that it does not send a LastWill message. Is there a way to do it? Or is there a way to disable / delete the LastWillMessage?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant