Start a new topic

MQTT retain bit?

Is there any way to have the openevse published values have the MQTT retain bit set when published to the broker?  I don't see any config for this in the wifi interface.

1 Comment

Hi David, I don't think it would be a good idea to publish status updated with the retain flag set since the status values are dynamic and subject regularly to change. The status values are posted regualry so you should only need to wait a few seconds for an update. 


The new 'announce' messages that have been implemented in WiFi 3.0 (ESP32) which is still in beta are published with the retain flag since this data is not dynamic in the same way e.g ID, IP-ADDRESS etc. https://github.com/OpenEVSE/ESP32_WiFi_V3.x/issues/15#issuecomment-534322298

Login or Signup to post a comment