- Configuring Applications
- Create the Device Model in the IoT Platform
Create the Device Model in the IoT Platform
This section discusses an example scenario to create the device model in the IoT platform.
- Log into IoT.
- Navigate to Devices, Model.
- Create a new Model named "Cell tower" with the following
details:
- Name–Enter the value, Cell tower.
- Description–Enter the value “Cell tower model”
- URN–Enter the value “urn:com:oracle:iot:cellTower”
- Define the attributes for the model:
- signalLevel–Indicates the level of the GSM signal produced
by the cell tower. Set the following values:
Type: Number
Range: -120.0, -30.0
Access: No
- Voltage–Specifies the voltage in the power network to
which the tower is connected. Set the following values:
Type: Number
Range: 0.0, 160.0
Access: No
- signalLevel–Indicates the level of the GSM signal produced
by the cell tower. Set the following values:
- Provide the details for the alert "serviceNeeded". Set
the following values:
Name: serviceNeeded
Description: Routine service is needed
Type: Alert
URN: urn:com:oracle:iot:cellTower:serviceNeeded
Fields:
Name: service_needed
Type: Boolean
- Navigate to Application, , Device Models.
- Select Cell tower by clicking Hand button to use it with the assets.
- Select Device Model for System Alerts by clicking the Hand button to perform the integration between IoT and Oracle Fusion Field Service with the help of "Alert" object.
- Navigate to Application, , Device Selection and select Include All.