Managing IoT devices
Managing IoT devices is a fundamental aspect of BMC Helix Edge. Integrating your devices into BMC Helix Edge involves various tasks and operations. This section outlines the key actions related to IoT device management. After you create a device profile, the next step is associating the IoT devices to the profile. In this section, you learn how to register a device and assign the device profile to the device.
Workflow for registering an IoT device and observing data
Before you begin
- Access the BMC Helix Edge user interface. For more information, see Accessing BMC Helix Edge.
Task 1: To register an IoT device
- Open a web browser and enter the URL or IP address of BMC Helix Edge.
- On the BMC Helix Edge user interface, log on with your user credentials. See Accessing BMC Helix Edge.
- In the BMC Helix Edge user interface, select Device management > Devices.
- In the Devices panel, click New device.
In the New device panel, enter the following information:
Field name
Description
Name
Enter a custom name or a descriptive name to identify the device. Make sure the device name is alphanumeric characters and underscores (_). This field represents the user-defined name or label for the IoT device. This name also helps users identify and refer to the device in the system.
(Optional) Description
Use this optional field to add more information about the IoT device. The description might include device specifications, usage notes, or any other relevant information that helps understand the purpose or function of a device.
Node
Select a node responsible for collecting the data from the list. Use this option to assign the device to a particular node. This field refers to a specific edge node or device gateway with which the IoT device is associated. In many IoT systems, especially those by using edge computing, multiple nodes might exist, each responsible for managing a set of devices.
When you select a node from the list, the system displays the host ID of the node next to the node ID.
Device service
Select the device service from the list. You must assign the correct device service to make sure integration and data exchange.
The field specifies the device service or communication protocol the IoT device uses to interact with BMC Helix Edge. Device services handle the communication, data collection, and control functions for specific types of devices.
After you add a new device service to your environment, the new device service displays in the list. See Device-services.
Profile
Select a device profile from the list to assign to the device. This field associates the IoT device with a predefined device profile or template you created in Managing-device-profiles. The device profile defines a specific device type or model's capabilities, configurations, and behavior. Make sure that you manage the devices with similar characteristics consistently.
Click Add.
Task 2: To adjust the device attributes
After adding a device, you must adjust the attributes you created in Managing-device-profiles to make sure the information is accurate and current.
- In the Device attributes tab, click Edit next to Location to select an attribute.
- In the Device Location panel, enter the location to map the device location. For example, enter Factory Assembly Line.
Compete other information such as City, State, Country, Pin code, Latitude, and Longitude in the attribute panel. - Click Save.
- In the attribute field you created while creating a device profile, do one of the following:
- Enter an appropriate value in the field. For example, enter a device serial number or software version.
For more information, see Configuring the device attributes. - Click Set default to use the default value you used in the device profile.
- Enter an appropriate value in the field. For example, enter a device serial number or software version.
Task 3: To add data collection events
After configuring device attributes, the next step is to set up data collection events. You can configure data collection events for an IoT device, specifying what data to collect, how often to collect, and in what units. This data is crucial for monitoring and analysis.
- On the Edit Device page, click the Data collections tab.
In the Data collections tab, you manage the data metrics associated with this device. To edit the list of metrics, enter the following information:
Field name
Description
Metric
Select a metric or data points to collect from the device. For example, list this metric if the device measures temperature, humidity, and pressure.
Interval
Specify a frequency at which the device must collect data. This field is the time interval between data readings. For example, enter 60 to set the interval to collect data every one minute. The default value is 30 seconds.
Units
Indicate the interval to collect data. You can choose the interval in milliseconds, seconds, minutes, or hours.
- To add more data collection events, click Add data collection event.
Task 4: To associate child devices
After configuring data collection events, you must associate child devices with the parent device. A child device is a component of a device. In the IoT management system, you can filter profiles by device type or label and select child devices based on specific attributes, simplifying associating a child device with a parent device.
- On the Edit Device page, click Associations.
- To associate a new child device with this parent device, click New.
In the Add child device association panel, enter the following information:
Field name
Description
Filtered devices by
Specify to filter child devices. You can filter the child device either by Profiles or Labels.
Select a profile or Select tags
Select a device profile or a label to which you have attached to the child device from the list. For example, if you have associated a child device with a profile, select the attached device profile from the list.
Selected child devices
Click the checkboxes to select one or more child devices. Each checkbox represents a child device you intend to associate with the parent device. The selection of child devices depends on your specific use case and requirements. For example, you select multiple child devices because they share a common purpose or location and manage them collectively as part of the parent device ecosystem.
- Click Add.
Where to go from here