Replies: 4 comments 6 replies
-
This is exactly what retain is used for, in general MQTT shouldn't be used as REST API (request --> response) but it's event based (something happens --> notify subscribers). Retain is used so subscribers once subscribe to a specific topic receive the last message published to that topic so they can always keep ther state in sync |
Beta Was this translation helpful? Give feedback.
-
@robertsLando not sure to understand your answer? The only alternative API I'm aware of is |
Beta Was this translation helpful? Give feedback.
-
Hello @robertsLando could you please advise? |
Beta Was this translation helpful? Give feedback.
-
@lxrootard What broker are you using? Does your broker stores retained messages on disk or on ram? |
Beta Was this translation helpful? Give feedback.
-
Hello
Many thanks for your great work on this lib.
I'm implementing a remote docker client that communicates through MQTT.
When I start
zwave-js-ui
after my code I get the/zwave/driver/status
information, but when I startzwave-js-ui
before my code I'm not notified although I've setRETAIN
to true.Is there a way to refresh this information?
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions