Skip to content
Proxus 2.0.1 Licence and sign-in fixes after the 2.0 upgrade Release notes

Explanation · for Engineers, Developers

Unified Namespace

How Proxus builds the Unified Namespace from the place of each device, the MQTT topics it publishes, and what the messages contain.

A Unified Namespace (UNS) is one shared, structured place where every current value of the plant can be found by its location: this enterprise, this site, this area, this machine, this value. Any system that needs plant data subscribes to the namespace, instead of connecting to each machine or to each other.

Proxus builds the namespace for you. Every device you add is published in it, under the place you gave it, and every tag value appears there as it is read.

The place of a device

The levels of the namespace follow ISA-95, the international standard for the structure of a manufacturing enterprise. You set them on each device, in the device setup wizard or on the device page:

LevelExampleWhat it usually is
EnterpriseMeridianThe company.
SiteLyon Foods PlantOne plant or location.
AreaProcessingA department or hall in the plant.
Process cellDoughA line or a group of machines that work together.
Equipment moduleKneadingA part of a machine, when one device stands for part of a larger unit.

All levels are optional. A level you leave empty is skipped, so a device with only a site is published directly under that site. The place also groups devices in lists, the Trend Workspace and the Operations Center, so it is worth agreeing on names before you add many devices.

Topics

Proxus publishes the namespace over MQTT. Each value has its own topic, built from the place, the device name and the tag name:

v1/<enterprise>/<site>/<area>/<process cell>/<equipment module>/<device>/telemetry/<tag>

For the mixer from Connect your first machine:

v1/Meridian/Lyon_Foods_Plant/Processing/Dough/DOCS_TUTORIAL_MIXER_01/telemetry/Temperature
  • v1 is the version of the topic structure.
  • Empty levels are left out; there is no empty segment.
  • In each level, any character other than a letter, a digit, _ or - becomes _. A space in Lyon Foods Plant becomes Lyon_Foods_Plant. Upper and lower case are kept.

Besides one topic per tag, each device has three more:

TopicContentSent
.../<device>/telemetry/<tag>One value of one tag.Every time the tag is read.
.../<device>/telemetry/_summaryThe latest value of every tag of the device in one message, with the device's place.At most every 5 seconds by default.
.../<device>/state/_lastSeenWhen the device last sent a value.At most every 5 seconds by default; kept by the broker for new subscribers.
.../<device>/state/_statusWhether the device is online.When the status changes; kept by the broker for new subscribers.
.../<device>/modelThe device in its machine type's shape: every mapped field with its value, unit and quality. Only for a device with a type.When a mapped field changes; kept by the broker for new subscribers.
.../<device>/alarms/<rule>One alarm of the device: active, acknowledged, status (New, Acknowledged, Resolved, Ignored, Deleted), reason, count, lastOccurred, alertId, note (its "How was it fixed?" note, or null). The rule name is written as a topic segment (spaces become _).When the alarm changes in Proxus (raised, acknowledged, closed by itself or by hand); kept by the broker for new subscribers. A gateway that starts gets the open ones again.
.../<device>/alarms/<rule>/acknowledgePublished by a client, not by Proxus: true acknowledges that alarm in Proxus if it is open and nobody has acknowledged it yet. The alarm's timeline shows the client's MQTT client id, and its topic reads Acknowledged within a second. Not passed on to other subscribers. Refused with UNSAllowCommands = false and from a device's own token connection.Never; this topic is only received.
.../<device>/alarms/<rule>/resolvePublished by a client, not by Proxus: true closes that alarm in Proxus as resolved if it is open, acknowledged or not. The timeline shows the client's MQTT client id, and the alarm's topic reads Resolved within a second. Not passed on; refused as above.Never; this topic is only received.
.../<device>/alarms/<rule>/notePublished by a client, not by Proxus: the words (plain text or a JSON string) become the "How was it fixed?" note of the device's latest alarm of that rule, open or closed; empty words clear it. The alarm's note changes within a second. Not passed on; refused as above.Never; this topic is only received.
.../<device>/alarms/<rule>/ignorePublished by a client, not by Proxus: true closes that alarm in Proxus as ignored if it is open, acknowledged or not. The timeline shows the client's MQTT client id, and the alarm's topic reads Ignored within a second. Not passed on; refused as above.Never; this topic is only received.

A new subscriber therefore sees the status and the last-seen time of every device at once, and the values as they come in.

Messages

Messages are JSON by default. A value message looks like this:

v1/Meridian/Lyon_Foods_Plant/Processing/Dough/DOCS_TUTORIAL_MIXER_01/telemetry/Temperature
{
  "ts": "2026-10-15T19:12:35.120Z",
  "value": 62.5,
  "dataType": "Float",
  "unit": "°C",
  "quality": "Good",
  "source": "Proxus"
}
FieldMeaning
tsWhen the value was read, in UTC.
valueThe value, as a JSON number, true or false, or text.
dataTypeThe tag's data type (Bool, Int, Float, Double, String...): a Float tag that reads 62 is published as Float. A scaled tag is Double. When a value does not fit the tag's type, for example the error text of a failed read, the type is worked out from the value.
unitThe tag's unit. Left out when the tag has none.
qualityThe value's quality: Good, Bad or Uncertain, as on the device page (see Quality).
sourceAlways Proxus.

Proxus can publish the namespace as Sparkplug B instead of JSON, for systems built on that standard. The format, the summary interval and the other publishing settings are in the [UNS] section of the configuration file; see Configuration keys. In Sparkplug B, each machine type is also a template: its definition is in the node's birth as _types_/<type>, and each device's model is the template instance Model in its birth and data messages.

Where the namespace is published

Each edge gateway publishes the values it reads on its own built-in MQTT broker. For the SYSTEM gateway in the Docker Compose stack, that broker listens on port 1883 of the hub host. A remote gateway has its own broker, on the port chosen when it was installed.

Subscribers need credentials; the broker does not accept anonymous clients by default. MQTT and the UNS topics shows how to connect and subscribe.

In the hub, Organize > UNS Explorer shows the whole namespace as a live tree, with the values of every gateway together.

What's next

Was this page helpful?

Evaluating Proxus? See it on your own machines in a 30-minute technical session.