Device Profile
Last Update:
In Thingspod, you will be able to define a device profile for devices that have common characteristics. By defining the device profile, you can set settings for all devices with the same specifications, and there is no need to activate the settings separately for each device.
One of the most useful features in Device Profile is creating alarms. Platform users can use the rule engine to configure alarms but require minimal programming skills. A device profile can be used to simplify the alarm configuration process. With just a few simple steps in the device profile, you can define alarm conditions for devices.
Add device profile
To create a device profile and alarm conditions:
- From the main menu on the left side of the page, click on Device Profile.
- Click on the + icon in the right corner and choose a name for the device profile.
- After creating, click on the device profile.
- Go to the Alarm Rule tab.
- To go into edit mode, click the pencil icon and then click the Add alarm rule button.
- In this section, write the alarm type. For example, High Temperature. The alarm type must be unique.
- Then, in the Create alarm rules table, set the severity of the alarm and click on Please add alarm rule condition to enter the alarm condition.
- In the opened window, click the Add key filter button and enter the key type (Attributes/telemetry/Constant), its name (Key name), and value type (Value type).
- Click the Add button.
- In the Filters section, click on the Add option and create your condition.
- Then click the Add button at the bottom right corner of the screen
- Your condition has been successfully created.
- In the Add Clear Condition field, you can specify conditions to clear alarms.
- Finally, click the Save icon to activate the conditions for creating an alarm.
Example: Simple warning condition
We want to receive a critical alarm when the temperature is greater than 10 degrees. To do:
- Step 1: Open Device Profile and click on edit mode.
- Step 2: Click the Add alarm rule button.
- Step 3: Enter Critical and click on the red + icon.
- Step 4: Click the Add Key Filter button.
- Step 5: Set the key type to Time series. Enter Temperature for the name of the key. Change the value type to Numeric and finally, click the Add button.
- Step 6: Select the "greater than" operation and enter the threshold value of 10. Click on the Add option.
- Step 7: Click the save button.
- Step 8: Finally, apply the changes.
On This Page