Skip to content

MQTT retained messages and new topic 'status'#52

Open
derpicknicker1 wants to merge 1 commit intoEdzelf:masterfrom
derpicknicker1:MQTT_retain_and_status
Open

MQTT retained messages and new topic 'status'#52
derpicknicker1 wants to merge 1 commit intoEdzelf:masterfrom
derpicknicker1:MQTT_retain_and_status

Conversation

@derpicknicker1
Copy link
Copy Markdown

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.

1 participant