Versions Compared

Key

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

...

To determine the string replacement needed for the namespace:

  • each incoming topic:

Consider an incoming MQTT message with the characteristics:

  • Topic = a/b
  • Payload = { "tag 1": 123, "tag@2": "some.value" }

Image Removed

  • Look at the published MQTT topic and a sample payload, if parsing as JSON, and identify any characters that may be problematic.
  • Review these characters against the rules above or open Ignition designer and test if a tag can be created with the specific characters.
  • If a tag cannot be created, created a string replacement rule.


Consider Now consider an incoming MQTT message with the characteristics:

  • Topic = a/b
  • Payload = { "tag 1": 123, "tag@2": "some.value" }


This A custom namespace with a subscription a/# will be able to receive the message however this will fail to be handled by the Custom Namespace and an error will be logged that looks like:

...