Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MQTT retain bit
#1
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.
Reply


Messages In This Thread
MQTT retain bit - by Ed Davies - 06-29-2017, 10:34 AM
RE: MQTT retain bit - by admin - 06-29-2017, 12:41 PM
RE: MQTT retain bit - by Ed Davies - 06-29-2017, 02:28 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)