Tags
Tags are the single units of data collection from a device. After connecting a device to Litmus Edge, you add tags to that device. Tags map to the device's registers from which you want DeviceHub to collect data. Every device has memory registers that store sensor and system values. These registers can be analog and digital, input, and output. Register information is accessed as tags and these tags are published as Topics to the internal Message Broker.
Raw Topics and Alias Topics
When you Connect a Device, you have the option of generating raw topics or alias topics. Raw or processed data can be analyzed at the edge using Analytics or flows in Flows Manager. You can publish data to Litmus Edge Manager through raw topics. Alias topics consist of devicename and tagname instead of DeviceID and TagID. Alias topics can be used for publishing and subscribing with an internal message broker.
If you select Enable alias topics when adding or modifying a device:
- The Topic ID is replaced with a name (for example, devicehub.alias.PLC1.floatTag)
- DeviceHub stops publishing to raw topics and publishes only to alias topics.
- Litmus Edge substitutes all special characters in aliases with "_" (underscore).
- Message broker allows subscribe and publish of Raw/Alias topics.
- When alias topics are enabled for a device, you can't use batch write topics. To use batch write topics, ensure that Enable alias topics check box is not selected in device configuration. See Default Topics and Descriptions for more information.
Adding Tags
You can add tags as follows:
- Add a single tag: Add a single tag for the selected device. See Add a Tag.
- Add multiple tags: Upload multiple tags at once from a CSV file. See Add Multiple Tags.
- Browse Tags: Search for and add predefined device tags. See Browse and Add Tags from a Device.
See Default Topics and Descriptions for information about topic formats.
Access Tags UI
You can access Tags from the DeviceHub.
To access Tags:
- Log in to Litmus Edge.
- From the Navigation panel, navigate to DeviceHub > Tags. The Tags pane appears.
