# MQTT Engine (Ignition): Namespace Advice/Issues

**URL:** <https://forum.cirrus-link.com/t/mqtt-engine-ignition-namespace-advice-issues/73>\
**Category:** MQTT Modules\
**Created:** [April 8, 2021, 7:36pm UTC](https://forum.cirrus-link.com/t/mqtt-engine-ignition-namespace-advice-issues/73 "2021-04-08T19:36:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisgray](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@chrisgray](https://forum.cirrus-link.com/u/chrisgray)\
**Post date:** [April 8, 2021, 7:36pm UTC](https://forum.cirrus-link.com/t/mqtt-engine-ignition-namespace-advice-issues/73/1 "2021-04-08T19:36:53Z")

</div>

We have a multi-site application we are working on where the Namespace Hierarchy needs to be organized by Company or Business unit followed by various levels that further breakdown the hierarchy (see figure).

The issue we seem to be having is that when we implement the hierarchy we get a conflict in the data coming in as the devices at the Equipment level are from different locations and are (obliviously) different EoN.

Do you have any advice on how we can achieve our Hierarchy and have multiple field devices?

 ![MQTT Hierarchy](https://canada1.discourse-cdn.com/flex028/uploads/cirrus_link/original/1X/23c27d334d9ba2f1100ff9a85e1eefb4a1792d4a.jpeg)

---

<div class="post-metadata">

**Author:** ![wes.johnson](https://avatars.discourse-cdn.com/v4/letter/w/f14d63/32.png) [@wes.johnson](https://forum.cirrus-link.com/u/wes.johnson)\
**Post date:** [April 8, 2021, 7:59pm UTC](https://forum.cirrus-link.com/t/mqtt-engine-ignition-namespace-advice-issues/73/2 "2021-04-08T19:59:10Z")

</div>

The only hard requirement is that each MQTT client in the system have a unique combination of Group ID and Edge Node ID. In this case that is you couldn’t have two Edge Nodes using the same company name and plant name. So, this only allows for one edge node per plant which probably isn’t ideal. As one option, you could combine the plant name with area name. For example:

Group ID = company name  
Edge Node ID = plant name combined with area name (i.e. plant1\_area3)

Obviously this means you could only have one edge node per area. But if this is ok, this could work for you.

---

<div class="post-metadata">

**Author:** ![chrisgray](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@chrisgray](https://forum.cirrus-link.com/u/chrisgray)\
**Post date:** [April 8, 2021, 9:00pm UTC](https://forum.cirrus-link.com/t/mqtt-engine-ignition-namespace-advice-issues/73/3 "2021-04-08T21:00:04Z")

</div>

Hmm…Just to be clear, I am not using the MQTT Group ID and Edge Node ID in the namespace. I am using Ignition’s name space only. (Fields are blank in the configuration of Gateway for MQTT Group/Node IDs)

Oddly the system (Designer) allows me to configure this architecture without constraint, but it was only when I noticed the unusual data quality color changes and the fact the the “heartbeats” were not displaying did I realize that this namespace design had problems. (see figure below)

 ![Igntion MQTT Questions](https://canada1.discourse-cdn.com/flex028/uploads/cirrus_link/original/1X/c1a5c7704596456d2b5f5eb293421f46d5652a72.jpeg)

---

<div class="post-metadata">

**Author:** ![wes.johnson](https://avatars.discourse-cdn.com/v4/letter/w/f14d63/32.png) [@wes.johnson](https://forum.cirrus-link.com/u/wes.johnson)\
**Post date:** [April 8, 2021, 9:55pm UTC](https://forum.cirrus-link.com/t/mqtt-engine-ignition-namespace-advice-issues/73/4 "2021-04-08T21:55:22Z")

</div>

The edge side (MQTT Transmission) really defines the Sparkplug IDs that are used to define the layout that is shown in MQTT Engine. I’d recommend reading this document: [MQTT Transmission Transmitters and Tag Trees - MQTT Modules for Ignition 8.x - Confluence](https://docs.chariot.io/display/CLD80/MQTT+Transmission+Transmitters+and+Tag+Trees)

It should provide some additional context.
