Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

MQTT Engine Custom Namespaces, configured to parse the payload as JSON, do not handle changing JSON structures automatically due to the way JSON payloads are parsed.

Consider these two message payloads received sequential sequentially on topic "a/b" at MQTT Engine:

...

Tip
Our recommendation to manage MQTT messages published with the same topic and changing payload JSON structures, is not to use the built in JSON parsing option in the Custom Namespace but to leave parsing as a string, create a tag change script and parse teh the string in a custom script per your requirements.

...