Unit 2: Registering the Raspberry Pi on EnOS Management Console¶
Before connecting the RPi to EnOS, you need to register the RPi device in EnOS Management Console, which includes defining a model, product, and device.
Step 1: Creating a Model for RPi¶
In this step, we will create a model named RPi with the required attributes.
In EnOS Management Console, click Models from the left navigation menu.
Click New Model, enter the following, and click OK.
From the model list, click the
for the RPi model, and click Feature Definition > Edit > Add > Create Custom Feature to add the following measurement points.
Measurement Point
Description
Temperature
AI point type data collected from the temperature sensor.
Humidity
AI point type data collected from the humidity sensor.
Light
DI point type of data sent to Raspberry Pi to control the light. 0 stands for light off, 1 stands for light on, and 2 stands for light flickering.
Light_Flicker
DI point type of data collected from Raspberry Pi to show the light status. 0 stands for light off, and 1 stands for light on.
Refer to the following screen capture of the created measurement points.

You can define your own measurement points in your device model based on your needs.
Step 2: Creating a Product¶
A product is a collection of devices with the same features. In this tutorial, create a product named RPi_Product under the RPi model.
Step 3: Registering the Device¶
In this step, create a device named RPi_Device, which belongs to the product created in the previous step.
In EnOS Management Console, click Device Management > Device Assets from the left navigation menu.
Click New Device, provide the following basic settings for the device, and click OK.
After you complete the device registration, you can get the device triple properties: ProductKey
, DeviceKey
, and DeviceSecret
, which will be used to connect the device to EnOS.