Product / Unified namespace
Unified namespaceA unified namespace you don’t maintain by hand.
Every value in mii has one path, built from your ISA-95 model. The same path is the historian key, the report key and the MQTT topic, so when the model changes the topics follow.
One path per value.
The namespace is the set of names under which every value of the plant is published. It is built from the codes of the enterprise, site, area, work center, equipment and tag, joined by /. A value of the Filler speed in the demo plant has this path:
DEMOFOODS/IZMIR/BOTTLING/LINE1/FILLER/Speed
Nobody keeps a topic list in a spreadsheet. You change the model and the topics follow.
The levels of a path
| Level | Example |
|---|---|
| Enterprise | DEMOFOODS |
| Site | IZMIR |
| Area | BOTTLING |
| Work center | LINE1 |
| Equipment | FILLER |
| Tag | Speed |
Two ways to get topics.
They are not the same, and you can use both.
| ISA-95 topics on an uplink | Public read-only feed | |
|---|---|---|
| Where it runs | An MQTT or AWS IoT uplink to your broker | The broker inside the Console or runtime |
| Topic root | Your choice, or none | Always mii/uns |
| Messages | One per group, or one per tag | One per tag |
| Payload | The uplink’s upload format | value, quality, ts, tagId |
| Direction | Out to your broker | Your client reads from the plant |
| Account | Your broker’s | mii-reader, read only |
The public feed is optional and ships with mii Lite. The path rules are in the namespace docs.
Rules that keep it clean.
The same rules apply to every value, so a topic never depends on who typed it.
- Codes, not names. A code has letters, digits, underscore and hyphen, 1 to 64 characters. Names are for people.
- Five levels are required: enterprise, site, area, work center and equipment. Work unit, group and tag are optional.
- Unsafe characters are encoded. A topic over the length or depth limit is an error, never silently cut.
- Collisions are refused. A topic that would clash with another, or start with a reserved root, fails with a named error.
Unified namespace questions.
Is mii a unified namespace?
mii builds the namespace. Every tag sits under an ISA-95 path, and that path is the key in the historian, in reports and on MQTT. The broker is yours (an MQTT uplink) or the optional read-only feed that ships with mii Lite.
Who maintains the topic list?
Nobody. Topics are generated from the plant model, so you change the model and the topics follow.
Can I put my own root in front of the topics?
Yes. An uplink has an optional topic root. The public read-only feed always starts with mii/uns.
Which clients can read the public feed?
Any MQTT client with the read-only mii-reader account, for example mosquitto_sub or Node-RED.
What happens if I rename a code?
The path changes, and with it the historian path and every topic that uses it. Choose codes once.
Related: Plant model · Uplinks · Namespace and MQTT topics in the docs
Ask your plant something real.
One line, one PLC family, live history — and an MCP URL your team can plug into Claude or Cursor.