/
Admin normalizer data stream
Admin normalizer data stream
Overview
Data easily streams into Intelligent Assets using MQTT. To add a new datastream that is properly formatted, connect it to the Intelligent Assets MQTT broker and publish it to the desired topics, sending properly formatted JSON structures.
Prerequisites
Before normalized messages can be consumed within Intelligent Assets, the following are required:
An Asset Type defining the attributes for any assets that will created or updated by the incoming data.
An MQTT Client to publish this data and should exist either within the IoT Enterprise instance (e.g.: Code Service, Adapter, etc.) or as an authorized Device
Topics examples
Default normalizer topic: _monitor/asset/default/data
JSON payload examples
var assetDataObject =
{
“id”: “refrigerator123”, //required; the asset’s unique ID to update
“type”: “Refrigerator”, //required; the asset type which is previously defined in the application with custom data attributes
“last_updated”: “<ISOString>”, //Optional ISO timestamp. If none is provided, we will apply one as we process the message
“latitude”: <valid_latitide>, //optional
“longitude”: <valid_longitude>, //optional
“custom_data”: { // nested objects not allowed, only primitive JS types: string, number, boolean, timestamp string allowed
“Temperature”: 38,
“Door Status”: false,
“Filter Status”: "Replace Soon"
},
"group_ids": ["group1", "group2"] //assigns the asset to group(s) in the Intelligent Assets application. Required if the asset does not already exist
}
, multiple selections available,
Related content
Assets
More like this
Admin settings
Admin settings
Read with this
Dashboards
Dashboards
Read with this
Intelligent Assets Developer Guide
Intelligent Assets Developer Guide
Read with this
MQTT topics
MQTT topics
More like this
Streaming MQTT Connectors
Streaming MQTT Connectors
More like this