Skip to content

Commit afbc830

Browse files
authored
Merge pull request #272569 from dominicbetts/central-device-templates
Central: update device templates
2 parents 2f7995e + 920bdeb commit afbc830

34 files changed

+88
-360
lines changed

articles/iot-central/.openpublishing.redirection.iot-central.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,17 +352,22 @@
352352
},
353353
{
354354
"source_path_from_root": "/articles/iot-central/core/howto-create-custom-analytics-pnp.md",
355-
"redirect_url": "/azure/iot-central/core/howto-create-custom-analytics/",
355+
"redirect_url": "/azure/iot/iot-overview-analyze-visualize/",
356356
"redirect_document_id": false
357357
},
358358
{
359359
"source_path_from_root": "/articles/iot-central/howto-create-custom-analytics.md",
360-
"redirect_url": "/azure/iot-central/core/howto-create-custom-analytics/",
360+
"redirect_url": "/azure/iot/iot-overview-analyze-visualize/",
361+
"redirect_document_id": false
362+
},
363+
{
364+
"source_path_from_root": "/articles/iot-central/core/howto-create-custom-analytics.md",
365+
"redirect_url": "/azure/iot/iot-overview-analyze-visualize/",
361366
"redirect_document_id": false
362367
},
363368
{
364369
"source_path_from_root": "/articles/iot-central/preview/howto-create-custom-analytics.md",
365-
"redirect_url": "/azure/iot-central/core/howto-create-custom-analytics/",
370+
"redirect_url": "/azure/iot/iot-overview-analyze-visualize/",
366371
"redirect_document_id": false
367372
},
368373
{

articles/iot-central/TOC.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,6 @@
167167
href: core/howto-export-to-webhook.md
168168
- name: Transform data internally for export
169169
href: core/howto-transform-data-internally.md
170-
- name: Export data and visualize with Databricks
171-
href: core/howto-create-custom-analytics.md
172170
- name: Transform data internally on ingress
173171
href: core/howto-map-data.md
174172
- name: Transform data externally

articles/iot-central/core/howto-configure-rules.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Configure rules and actions in Azure IoT Central
33
description: This how-to article shows you, as a builder, how to configure telemetry-based rules and actions in your Azure IoT Central application.
44
author: dominicbetts
55
ms.author: dobett
6-
ms.date: 06/14/2023
6+
ms.date: 04/16/2024
77
ms.topic: how-to
88
ms.service: iot-central
99
services: iot-central
@@ -99,7 +99,7 @@ When a rule triggers, it makes an HTTP POST request to the callback URL. The req
9999
"device": {
100100
"id": "<device_id>",
101101
"etag": "<etag>",
102-
"displayName": "MXChip IoT DevKit - 1yl6vvhax6c",
102+
"displayName": "Refrigerator Monitor - 1yl6vvhax6c",
103103
"instanceOf": "<device_template_id>",
104104
"simulated": true,
105105
"provisioned": true,
@@ -160,8 +160,8 @@ If you have one or more webhooks created and saved before **3 April 2020**, dele
160160
"enabled": true
161161
},
162162
"device": {
163-
"id": "mx1",
164-
"displayName": "MXChip IoT DevKit - mx1",
163+
"id": "rm1",
164+
"displayName": "Refrigerator Monitor - rm1",
165165
"instanceOf": "<device-template-id>",
166166
"simulated": true,
167167
"provisioned": true,

articles/iot-central/core/howto-create-custom-analytics.md

Lines changed: 0 additions & 268 deletions
This file was deleted.

articles/iot-central/core/howto-set-up-template.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Define a new IoT device type in Azure IoT Central
3-
description: How to create an Azure IoT device template in your Azure IoT Central application. You define the telemetry, state, properties, and commands for your device type.
3+
description: How to create a device template in your Azure IoT Central application. You define the telemetry, state, properties, and commands for your device type.
44
author: dominicbetts
55
ms.author: dobett
66
ms.date: 03/01/2024
@@ -9,6 +9,8 @@ ms.service: iot-central
99
services: iot-central
1010
ms.custom: device-developer
1111
# This article applies to solution builders and device developers.
12+
13+
#customer intent: As an solution builders, I want define the device types that can connect to my application so that I can manage and monitor them effectively.
1214
---
1315

1416
# Define a new IoT device type in your Azure IoT Central application
@@ -36,7 +38,7 @@ To learn how to manage device templates by using the IoT Central REST API, see [
3638
You have several options to create device templates:
3739

3840
- Design the device template in the IoT Central GUI.
39-
- Import a device template from the device catalog. Optionally, customize the device template to your requirements in IoT Central.
41+
- Import a device template from the list of featured device templates. Optionally, customize the device template to your requirements in IoT Central.
4042
- When the device connects to IoT Central, have it send the model ID of the model it implements. IoT Central uses the model ID to retrieve the model from the model repository and to create a device template. Add any cloud properties and views your IoT Central application needs to the device template.
4143
- When the device connects to IoT Central, let IoT Central [autogenerate a device template](#autogenerate-a-device-template) definition from the data the device sends.
4244
- Author a device model using the [Digital Twin Definition Language (DTDL) V2](https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v2/DTDL.v2.md) and [IoT Central DTDL extension](https://github.com/Azure/opendigitaltwins-dtdl/blob/master/DTDL/v2/DTDL.iotcentral.v2.md). Manually import the device model into your IoT Central application. Then add the cloud properties and views your IoT Central application needs.
@@ -45,15 +47,15 @@ You have several options to create device templates:
4547
> [!NOTE]
4648
> In each case, the device code must implement the capabilities defined in the model. The device code implementation isn't affected by the cloud properties and views sections of the device template.
4749
48-
This section shows you how to import a device template from the catalog and how to customize it using the IoT Central GUI. This example uses the **ESP32-Azure IoT Kit** device template from the device catalog:
50+
This section shows you how to import a device template from the list of featured device templates and how to customize it using the IoT Central GUI. This example uses the **Onset Hobo MX-100 Temp Sensor** device template from the list of featured device templates:
4951

5052
1. To add a new device template, select **+ New** on the **Device templates** page.
51-
1. On the **Select type** page, scroll down until you find the **ESP32-Azure IoT Kit** tile in the **Use a pre-configured device template** section.
52-
1. Select the **ESP32-Azure IoT Kit** tile, and then select **Next: Review**.
53+
1. On the **Select type** page, scroll down until you find the **Onset Hobo MX-100 Temp Sensor** tile in the **Featured device templates** section.
54+
1. Select the **Onset Hobo MX-100 Temp Sensor** tile, and then select **Next: Review**.
5355
1. On the **Review** page, select **Create**.
54-
The name of the template you created is **Sensor Controller**. The model includes components such as **Sensor Controller**, **SensorTemp**, and **Device Information interface**. Components define the capabilities of an ESP32 device. Capabilities include the telemetry, properties, and commands.
56+
The name of the template you created is **Hobo MX-100**. The model includes components such as **Hobo MX-100** and **IotDevice**. Components define the capabilities of a Hobo MX-100 device. Capabilities can include telemetry, properties, and commands. This device only has telemetry capabilities.
5557

56-
:::image type="content" source="media/howto-set-up-template/device-template.png" alt-text="Screenshot that shows a Sensor controller device template." lightbox="media/howto-set-up-template/device-template.png":::
58+
:::image type="content" source="media/howto-set-up-template/device-template.png" alt-text="Screenshot that shows a device template." lightbox="media/howto-set-up-template/device-template.png":::
5759

5860
## Autogenerate a device template
5961

@@ -92,7 +94,7 @@ To create a device model, you can:
9294

9395
- Use IoT Central to create a custom model from scratch.
9496
- Import a DTDL model from a JSON file. A device builder might use Visual Studio Code to author a device model for your application.
95-
- Select one of the devices from the device catalog. This option imports the device model that the manufacturer published for this device. A device model imported like this is automatically published.
97+
- Select one of the devices from the list of featured device templates. This option imports the device model that the manufacturer published for this device. A device model imported like this is automatically published.
9698

9799
1. To view the model ID, select the root interface in the model and select **Edit identity**:
98100

Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)