Action (ID) - 2nd field of topic
LabTime defines a set of actions that differentiate MQTT messages. The action Id is the second field of a topic
Client (ID) - 3rd field of topic
A client is any computer program or device that is communicating through an MQTT broker.
Edge
Edge devices are small computers that have sensors and can control equipment. The device can be an arduino, PLC, Raspberry PI, PC, etc
Instance (ID)
When executing a project, each time you start and stop that project you create an instance of it. Instances have their own web page in Drupal and can have their own images, comments, discussions, etc.
IOT - IIOT
Internet of Things - Industrial Internet of Thing
The Internet of Things (IoT) refers to a network of physical objects embedded with sensors, software, and other technologies to connect and exchange data with other devices and systems over the internet.Metric (ID) - 4th field of topic
A metric is a measurement or setpoint. It can be a temperature, switch position, pressure, voltage, etc. It can have multiple values and states. A Metric ID must be unique within a project.
MQTT Broker
The MQTT broker is the program that manages the routing, security, and permissions of all messages in a system implementing MQTT.
Payload
A payload is the data portion of an MQTT message. It can be anything - JSON, Binary, Image, HTML, etc. The MQTT broker does not care what it is, it simply relays it on to subscribers.
Project (ID) - 1st field of topic
For each experiment, or piece of equipment, you can create a project in LabTime. For example if you have 5 reactors all running the same recipes, you would create a project for each reactor.
React
React is a JavaScript library for building user interfaces in web browsers, particularly single-page applications, by allowing developers to create reusable UI components and manage the state of these components efficiently.
Subscribe
MQTT uses a publish/subscribe methodology. When a client is started it connects to the MQTT broker and using topics, subscribes to the messages it wants.
Telegraf (ID) - 5th field of topic
InfluxDB uses the telegraf loader to get data into the InfluxDB. This is a very sophisticated loader that get data from files, the MQTT broker, other databases, etc. The data format can be JSON, XML, CSV, or custom. The Telegraf ID is used to trigger the loading of an MQTT message into InfluxDB.
Topic
Topics are complex 'addresses' that the broker uses to determine which clients have subscribed to receive a message.
User (ID) - 4th field of topic
The HMI clients are identified by a user id. This id consists of the client Id, user name, and a random string to make it unique and User Id