Create products and devices
To debug the data service feature, you must first create a product in an IoT Platform instance and then register the devices.
Prerequisites
You must have switched to your purchased instance. For instructions, see Switch between instances.
Create a product
-
In the left-side navigation pane of the IoT Platform console, choose Device Management > Products, then click Create Product to create a product named Temperature and Humidity Sensor.
Configure the parameters as follows.
For more information, see Create a product.
Parameter
Description
Product Name
Enter Temperature and Humidity Sensor.
Category
Select Custom Category.
node type
Select directly connected device.
networking method
Select Ethernet.
-
Follow the same steps to create another product named Electrical Parameter Meter. Use the same parameter configurations as the Temperature and Humidity Sensor product.
Add devices
-
In the left-side navigation pane of the IoT Platform console, choose Device Management > Devices, then click Add Device to add a device named TH_sensor to the Temperature and Humidity Sensor product.
For more information, see Create a single device.
-
Follow the same steps to add a device named Elec_instrument to the Electrical Parameter Meter product.
Results
After you create a device, a dialog box with the device certificate automatically appears. The device certificate includes a ProductKey, a DeviceName, and a DeviceSecret, and is the credential for the device to communicate with IoT Platform. You must use these credentials when configuring a physical device. Copy this information and store it in a secure location.
|
Parameter |
Description |
|
ProductKey |
The globally unique identifier that IoT Platform issues for a product. It identifies the product to which a device belongs. |
|
DeviceName |
The unique identifier of a device within its product. This identifier, combined with the |
|
DeviceSecret |
The secret key that IoT Platform issues for a device. This key is used with the |
To view this information later, find the device in the device list, click View, and go to the Device Information tab on the Device Details page.