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

MQTT retained messages and new topic 'status' #52

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

Conversation

derpicknicker1
Copy link

MQTT messages will be send as retained, so new connected subscribers
will receive last valid data and don't have to wait for new data.

New topic status which will let the subscribers know if the radio is
online/connected to mqtt broker.

On initial connection to mqtt broker a last will is defined. This last
will will be published to the topic status if the connection to the
mqtt broker is lost (power down, connection issues,...). The last will
publishes the message "offline".

MQTT messages will be send as retained, so new connected subscribers
will recive last valid data and don't have to wait for new data.

New topic _status_ which will let the subscribers know if the radio is
online/connected to mqtt broker.

On initial connection to mqtt broker a last will is defined. This last
will will be published to the topic _status_ if the connection to the
mqtt broker is lost (power down, connection issues,...). The last will
publishes the message "offline".
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.

None yet

1 participant