Replies: 3 comments 4 replies
-
You can look at the list of commands for commands such as PowerRetain, SensorRetain, etc... |
Beta Was this translation helpful? Give feedback.
4 replies
-
I forgot status retain which is related, will make a PR for that. |
Beta Was this translation helpful? Give feedback.
0 replies
-
statusretain added #11109 Status can be triggered on mqtt connect with this rule:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I try to switch from my own software ( https://github.com/jeroenst/espmqtt ) to tasmota.
In my software all items are retained except for button press events.
By using retain in the MQTT server I always have the latest data present when a client connects to the MQTT broker.
This is very handy for a lot of things. I have for example a status page which connects to the MQTT server with javascript and requests al information (like uptime, rssi, ip address, software version etc.) from the MQTT broker and displays them right away.
WIth the (for example STATE) messages not being retained it takes a long time before the status page is filled with all the data which is not an option for me.
I could create a PHP process to gather all the data and republish them retained in an mqtt topic but that is more a workaround for me.
I would like to make the tele/INFOx and tele/STATE topic retained.
Is it possible to implement this?
Beta Was this translation helpful? Give feedback.
All reactions