Managing device profiles
Device profiles in BMC Helix Edge are pivotal in orchestrating and optimizing the management of diverse IoT devices within an ecosystem. The device profile captures essential attributes, configurations, and contextual information about individual devices.
Use Device profiles to streamline and structure the management of IoT devices. These profiles offer a standardized approach to categorizing, monitoring, and controlling devices across various domains. They provide a unified framework for administrators and operators to handle devices integrated into the BMC Helix Edge system.
You must configure and optimize device profiles to achieve business goals through enhanced operational efficiency, improved resource allocation, and streamlined maintenance workflows. You see a list of device profiles with attributes when you access a device profile page. Each device profile has configurations, including valuable manufacturer information and related details. After you define a device profile, you can assign the profile to devices and establish a structured framework that enhances device management and efficiency.
Workflow for creating a device profile
Before you begin
- Get familiar with device attributes, metrics, and commands. For more information, see Tenant Administrators.
- Make sure you have the right roles assigned to manage profiles. For more information, see Tenant Administrators.
Task 1: To create a device profile
- On the main dashboard of BMC Helix Edge, select Device Management > Profile.
- On the Device profiles page, click New profile.
BMC Helix Edge displays the following panel: In the New device profile panel, to add additional details to this profile, enter the following information:
Field name
Description
Profile name
Use this field to enter a device profile name. Make sure that the profile name is unique and descriptive to distinguish the device profile from others.
Use underscore (_), not space, as a separator. For example, if you have a device profile related to manufacturing robots, name the device profile MFG-Robot, Robot_Profile, or RobotProfile. For example, type MFG_Robot.
(Optional) Manufacturer
Use this field to provide the manufacturer's name associated with the device type. While this field is optional, it can provide valuable information about the device's source. For example, if ABC Electronics manufactures this device, type ABC Electronics.
Metric name
Use this field to define specific data or measurements the associated devices provide. The metric name must describe the type of information BMC Helix Edge collects. For example, if the device measures humidity, type the metric name as humidityLevel.
Use underscore (_), not space, as a separator between words. For example, enter Device_ID. Use underscore (_), not space, as a separator between the Device and the ID.
Unit of measurement
Use this field to specify the unit in which the BMC Helix Edge reports the metric data. It ensures that the data BMC Helix Edge collects is presented in a standardized format, making it easier for users and systems to interpret. For example, enter units of measurement as degrees Celsius (°C), meters (m), liters (L), or percentage (%).
Field type
Select the appropriate field type from the list corresponding to the metric. The list type indicates the type of metric to be collected.
Read/Write
Select if the metric is read-only or write-only, or both. The following are the available options:
- Read: Users can observe or report the metric data if they select this option. The Read/Write option indicates whether BMC Helix Edge can read the metric value from the IoT device, the hardware, written back, or both.
- Write: Users can modify or update the metric data through the device profile if they select this option. Users can change the data associated with this field.
- Read/Write: Users can modify or update the metric data and also observe the metric data through the device profile if they select this option.
- Click Add.
BMC Helix Edge displays the new device profile on the Device profile page. BMC Helix Edge creates a basic profile and automatically takes you to this profile to add more attributes. After you create the new device profile, adjust the attributes to represent the specific device type or category. This process ensures that the profile aligns with the unique characteristics and functionalities of the associated devices. To achieve this alignment, edit and configure the device attributes, metrics, commands, and contextual attribute elements in the newly created device profile. - (Optional) To edit the device profile, perform the following steps:
- Click a device profile.
- In the Edit device profile panel, modify the fields.
- Click Save.
Task 2: To configure the device attributes
Device attributes have the intrinsic properties and characteristics of devices associated with the profile. Configuring the device attributes involves defining parameters, for instance, device ID, location, firmware version, and other details that provide an overview of the identity and context of the device.
- On the device profile page, click the newly created device profile.
- On the Edit device profile page, select Device attributes > New.
BMC Helix Edge displays the following panel: In the New device attribute panel, enter the following information:
Field name
Description
Attribute Name
Enter a name in alphanumeric characters without a space.
This field refers to the name assigned to a specific attribute or property associated with a device profile. Identify and categorize various characteristics or data points related to the device.
Use underscores (_) or no space as separators between words. For example, if the device measures humidity, type the metric name as DeviceID.
(Optional) Default value
Enter a default value.
This field is optional to specify a predetermined or initial value for a particular attribute in a device profile. BMC Helix Edge uses this value as a starting point or fallback when the system does not override the default value in the devices associated with this profile. For more information, see Editing a device profile.
For example, if the sensor occasionally loses connection or fails to provide real-time data, set a default value for the Temperature attribute. For instance, you set the default value to N/A (Not Available) or a specific temperature like 25°C. If the sensor fails to transmit data, BMC Helix Edge uses this default value to maintain continuity in data reporting.
- Click Add.
- Repeat steps 3 and 4 to add more device attributes.
- (Optional) To edit the device attributes:
- Click a device attribute.
- In the Edit device attribute panel, modify the fields.
Task 3: To configure aggregation and downsampling interval
You apply downsampling on edge nodes to reduce the data transmitted to the system. With this option, you configure devices to collect data more or less frequently than the profile's default. Some devices override this configuration based on protocols (for example, REST API) instead of relying on the system's collection intervals. By adjusting these settings, you balance capturing detailed data (higher sampling frequency, shorter collection interval) and reducing resource consumption (lower sampling frequency, longer collection interval). When configuring this option, the system applies to all metrics in the profile unless it overrides.
- On the Device profile page, click a profile.
- On the Edit device profile page, select Metrics.
- On the Metrics tab, do the following:
- In the Sampling interval field, enter the frequency to capture data points in seconds.
The default value is 240 seconds. - In the Collection interval field, enter the interval in seconds to retrieve the latest data point from the node.
The default value is 20 seconds.
- In the Sampling interval field, enter the frequency to capture data points in seconds.
In the Aggregates option, select one or all of the following options:
Select
Description
Average
Selecting this option provides a general understanding of the typical value during that period. If checked, the system calculates the average value of all the data points collected from the node during the collection interval, like the average signal strength percentage in the specified collection interval of 20 seconds.
The system records the values as [metric name]_[avg]. For example, if the matric is in temperature, then the system records the mean temperature as temperature_avg.
Min
Selecting this option helps identify potential dips or drops in the metric. If checked, the system stores the minimum value observed for the metric within the collection interval, such as the lowest signal strength percentage in 20 seconds.
The system records the values as [metric name}_[min]. For example, if the metric is in temperature, then the system records the minimum temperature as temperature_min.
Max
Selecting this option helps identify potential spikes or peaks in the metric. If checked, the system stores the minimum value observed for the metric within the collection interval, such as the lowest signal strength percentage recorded in 20 seconds.
The system records the values as [metric name}_[max]. For example, if the metric is in temperature, then the system records the maximum temperature as temperature_max.
The system enables all options by default. If you turn off these checkboxes, the system stores only the latest value collected at the defined collection interval.
Task 4: To add the device metric
Metrics represent the measurable data points that the device generates. You customize the data collection process by editing metrics to capture key performance indicators, operational parameters, and relevant measurements contributing to informed decision-making. With accurate metric configuration, the device profile captures the essential data points for analysis and visualization.
- On the Device profile page, click the newly created device profile.
- On the Edit device profile page, select Metrics > New.
In the New metric panel, enter the following information:
Field name
Description
Metric name
Use this field to define the specific data or measurement the associated devices provide. Specify the metric name related to the device profile. This metric serves as a critical attribute for the profile. The metric name must describe the type of information the device collects.
Use underscores (_), not spaces, as separators. For example, if the device measures humidity, type the metric name as humidity_Level.
Unit
Use this field to specify the unit in which the BMC Helix Edge reports the metric data. It ensures that the data the device collects is presented in a standardized format, making it easier for users and systems to interpret. For example, enter units of measurement in degrees Celsius (°C), meters (m), or liters (L), or percentage (%).
Field type
Select the appropriate field type from the list corresponding to the device metric. The list type indicates whether the device collects metric data for reading (displaying) or writing (updating).
Read/Write
Define whether the metric is read-only, write-only, or both. The following are the available options:
- Read: Users can observe or report the metric data if they select this option. Users cannot modify the metric data directly through the device profile.
- Write: Users can modify or update the metric data through the device profile if they select this option. Users can change the data associated with this field.
- Read/Write: Users can modify or update the metric data and also observe the metric data through the device profile if they select this option.
- Click Add.
- Repeat step 3 and 4 to add more device metrics.
- On the top-right corner of the page, click Save.
- (Optional) To edit the device metric:
- Click a device metric.
- In the Edit device attribute panel, modify the fields.
Task 5: To add a command
Commands are actions or instructions that BMC Helix Edge sends to devices to trigger specific operations or functions on those devices.
Use commands for:
- turning on or off a device
- changing settings
- initiating a firmware update or
- performing any action that requires interaction with the device.
Unlike the Read/Write feature for metrics, the Command feature focuses on instructing devices to perform specific actions. While Read/Write metrics deal with data retrieval and configuration, commands control device management. In summary, commands in BMC Helix Edge send instructions and actions to devices, whereas reading and writing metrics are primarily about data collection and configuration.
Begin steps
- On the Device profile page, click the newly created device profile.
- On the Edit device profile page, select Commands and click New.
BMC Helix Edge displays the following panel: - In the New Command panel:
- In the Command Name field, enter a name in alphanumeric characters. For example, enter updateMetrics.
- From the Read/Write list, select read-only. For example, select Read.
- In the Parameters field, select one or more metric names from the available list.
BMC Helix Edge adds these metrics to the command for this profile. - Click Add.
- Repeat step 3 to add more commands.
- Click Save.
You can modify all metrics, commands, and attributes before clicking Save, or click Save even if you decide to skip the remaining changes. - (Optional) To edit the device command:
- Click a command.
- In the Edit command panel, modify the fields.
Task 6: To view contextual attributes
Contextual attributes refer to additional data or information associated with a device or device profile that can change over time and is used for various purposes, including enriching data, providing context for analytics, or customizing a device behavior—associate contextual attributes with individual devices or device profiles. For example, you might associate a contextual attribute, DriverName, with a specific vehicle device. This attribute can change as different drivers use the vehicle. Another example is BMC Helix Edge updates the DriverName attribute as Empty when no driver is assigned but updates when a driver logs in.
You can ingest contextual attribute data into BMC Helix Edge by using APIs. This data can come from external sources or sensors and be stored in BMC Helix Edge with the respective device or device profile. Contextual attributes are optional and depend on the specific use issue and requirements. For more information about adding contextual data, see Adding-contextual-data-with-the-REST-API.
Begin procedure
- Click a device profile on the device profile page.
- On the Edit device profile page, select a Contextual attributes pane.
If integrated with third-party integration, BMC Helix Edge displays the Business pane with all the predefined attributes (as the Read Only attribute).
Task 6: To edit a device profile
- On the main dashboard of BMC Helix Edge, select Device Management > Profile.
- On the Device profiles page, click a profile name.
- In the View profile panel, click Edit.
In the Edit device profile panel, update the following fields:
Field name
Description
Manufacturer
Provide the manufacturer's name associated with the device type, if applicable.
Description
Specify the metric name related to the device profile. This metric serves as a critical attribute for the profile.
Model Number
Indicate the unit of measurement associated with the metric. This detail is essential for accurate data representation.
Labels
Select the appropriate field type from the list corresponding to the metric. Options include Binary, Boolean, Float, Integer, and Unit.
- Click Save.
Task 7: To delete device profiles, attributes, metrics, or commands
Before you begin
- Confirm that no devices are dependent on or referencing this profile.
- Detach the device profile from all IoT devices.
To delete device profiles, attributes, metrics, or commands, use the following steps:
- To delete a device profile:
- On the Device profiles page, select a device profile, and click Delete.
- In the warning message panel, click OK.
- To delete a device attribute:
- On the Edit device profiles page, select an attribute and click Delete.
- In the warning message panel, click OK.
- To delete a device metric:
- On the Edit device profiles page, click the Metrics pane.
- In the Metrics pane, select an attribute and click Delete.
- In the warning message panel, click OK.
Where to go from here