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

Make 'online' message retained again #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

lennardk
Copy link
Owner

@lennardk lennardk commented Nov 5, 2018

When a consumer starts after py-otgw-mqtt, it previously received the last-will 'offline' message from the top level topic, even while py-otgw-mqtt is still running.

Behavior observed and change tested on mosquitto 1.4.10-3+deb9u2 from Debian

Changing the 'offline' message to match the setting (and deleting the retained will) works as well, but I assume it was left hardcoded at True intentionally.

When a consumer starts after py-otgw-mqtt, it previously received the last-will 'offline' message from the top level topic, even while py-otgw-mqtt is still running.
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

Successfully merging this pull request may close these issues.

1 participant