Versions Compared

Key

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

...

The default namespaces are provided out of the box and can be simple enabled or disabled.

Default Namespaces


NameNamespace TypeTopic Subscriptions
ElecsysElecsys

tags/#, RBE/#, JPG/#, sys/# and cmd/#

Sparkplug ASparkplugAspAv1.0/#
Sparkplug BSparkplugBspBv1.0/#
XirgoXirgo+/LSD/#


Anchor
SparkplugB
SparkplugB
Sparkplug B Payload

...

Below are examples of the payloads by message type:


Message TypeTopic ExamplePayload Example
NBIRTHspBv1.0/Facility1/NBIRTH/PLC1{"timestamp":1644444653413,"metrics":[{"name":"Sine0","timestamp":1644444653413,"dataType":"Int32","metaData":{"contentType":"","size":0,"seq":0,"fileName":"","fileType":"","md5":"","description":""},"properties":{"Quality":{"type":"Int32","value":192}},"value":-49},{"name":"Node Control/Next Server","timestamp":1644444653414,"dataType":"Boolean","value":false},{"name":"Sine 1","timestamp":1644444653413,"dataType":"Int32","metaData":{"contentType":"","size":0,"seq":0,"fileName":"","fileType":"","md5":"","description":""},"properties":{"Quality":{"type":"Int32","value":192}},"value":318},{"name":"Node Info/Transmission Version","timestamp":1644444653414,"dataType":"String","value":"4.0.10 (b2022020721)"},{"name":"bdSeq","timestamp":1644444653413,"dataType":"Int64","value":14},{"name":"Node Control/Rebirth","timestamp":1644444653414,"dataType":"Boolean","value":false}],"seq":0}
NDEATHspBv1.0/Facility1/NDEATH/PLC1{"timestamp":1644444569832,"metrics":[{"name":"bdSeq","timestamp":1644444569832,"dataType":"Int64","value":13}],"seq":0}
NDATAspBv1.0/Facility1/NDATA/PLC1

{"timestamp":1644444657313,"metrics":[{"name":"Sine0","timestamp":1644444655728,"dataType":"Int32","value":-48},{"name":"Sine 1","timestamp":1644444655728,"dataType":"Int32","value":319}],"seq":1}

{"timestamp":1644444661355,"metrics":[{"name":"Sine0","timestamp":1644444659744,"dataType":"Int32","value":-47}],"seq":3}

STATUS
STATE/MyPrimaryHost
spBv1.0/STATE/primary_host_id

{ "online" : true,  "timestamp" : 1668114759262}

{ "online" : false, "timestamp" : 1668114759262}

STATUS (Legacy)STATE/primary_host_id

ONLINE

OFFLINE

ONLINE


Anchor
SparkplugA
SparkplugA
Sparkplug A Payload

...