Skip to main content
All CollectionsIndustrial IoTDeveloping IoT Project in Fogwing IIoT
How to create Data Attributes in Fogwing IIoT
How to create Data Attributes in Fogwing IIoT

Learn about sensor parameters received from IoT devices connected to Fogwing IIoT

Harry avatar
Written by Harry
Updated over 2 years ago

1. What is the Attribute in Fogwing?

In Fogwing, Attributes are the sensor parameters or data parameters received as payload from your IoT devices connected with the platform. The collection of attributes are also called as data payload. Each payload with multiple sensor attributes sent to Fogwing Platform from your devices are counted as one message.

2. Why should you create an Attribute?

Fogwing Platform handles all data processing events such as integrity check, rules execution, data simulation, formula execution and analytics metrics based on the declaration of attributes. In industrial applications, machines may send many parameters in the payload to Fogwing, however if you want to trim the data very specific of the data points that important for you then you should consider creating the attributes. It is also the best practice to process the data properly.

3. How to create an Attribute?

Attributes can be created once the edge device is registered in the Fogwing.

To create attributes, execute the following steps:

  • Login to your Fogwing IIoT Platform account

  • From the menu bar on the left, Click ‘Edge Devices’ in the Edge Network section

  • Edge Devices will display in the list view

  • Click on the ‘Attribute’ button from the ‘Action’ column against an Edge Device you wish to Add Attributes.

  • It will take you to the attributes list view page where you can click the "Add" button to add new attributes.

  • Fill in the required details and Click the ‘Submit’ button from the bottom right.

The following fields are required to create an attributes properly.

Field Name

Type

Purpose

Attribute Key

JSON Key

This is the primary JSON key identifier of the inbound payload

Data Type

JSON Data Types (Supports String, Integer and Boolean only)

Required field to map the metrics types and other validations

Default

Data

If there is no value presence in the inbound payload, default value will be populated

UOM

String Data

Any unit of measure that required to display in metrics and charts

Attribute Name

Display Name

Required to be filled if you want give meaningful name for the key while displaying in metrics and dashboard

Analytical

True or False

The checkbox should selected to make data appear in the Fogwing Analytics Studio.

Synthetic

True or False

Synthetic attributes are custom created data points by calculating or enriching key data points received from the device. Required field if you want to apply Formula feature of Fogwing IIoT Platform.

Note: Declaring an Attribute is a pre-requisite to pass your data to Fogwing IoT Analytics Studio for metrics.

4. Can I Modify an Attribute?

Users have the provision to Edit Attribute that are declared before. With the 'Edit Attributes' feature in the Attribute List View page, Users can makes changes to the recognized attribute that pushes Data from Edge Device to Fogwing IoT analytics Studio where it is processed and converted to valuable metrics that help business decision making.

To Modify Attribute, execute the following steps:

  • Login to your Fogwing IIoT Platform account

  • From the menu bar on the left, Click ‘Edge Devices’ in the Edge Network section

  • Edge Devices will display

  • Select the ‘Attribute’ button from the ‘Action’ column against an Edge Device you wish to Edit Attribute

  • Attribute page will appear with List View

  • Select the ‘Edit’ icon from the Attribute List View page

  • Complete the Edits

  • Click the ‘Submit’ button from the bottom right.

5. Is it possible to Delete an Attribute?

Yes, Users have the provision to Delete already existing Attribute. With the 'Delete Attributes' feature in the Attribute List View page, Users can get rid of an Attribute that is unwanted.

To Modify Attribute, execute the following steps:

  • Login to your Fogwing IIoT Platform account

  • From the menu bar on the left, Click ‘Edge Devices’ in the Edge Network section

  • Edge Devices will display

  • Select the ‘Attribute’ button from the ‘Action’ column against an Edge Device you wish to Delete Attribute

  • Attribute List View page will display

  • Select the ‘Trash’ icon against the Attribute you wish to Delete from the Attribute List View page

  • The Attribute will be Deleted.

Did this answer your question?