Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MQTT retain bit
Is there any way of setting the retain bit on topics published to an MQTT broker?

Up to now I've mostly been using my monitors just for logging but with MQTTDash on my phone it's nice to be able to have a quick glance at the temperatures, etc, but a bit tedious to wait up to 2 minutes for a fresh update. I've changed my logging code to ignore retained messages and set some other scripts which publish other information (power consumption and temperatures from some 1-wire sensors) to set the retain bit which works well with MQTTDash. Be nice to do the same with the vAir sensors.
yeah... i will add it, i planned to add it long time ago but i forgot
i will add a checkbox, that - when checked - all mqtt messages will be with the retained flag
Thanks, I'll look forward to it.

Forum Jump:

Users browsing this thread: 1 Guest(s)