iot-central-transform-with-iot-edge

所属分类:物联网
开发工具:TypeScript
文件大小:2231KB
下载次数:0
上传日期:2022-11-11 04:27:57
上 传 者sh-1993
说明:  关于如何利用物联网边缘在发送到物联网中心之前转换传入设备数据的示例。
(Samples on how to leverage IoT Edge to transform incoming device data before being sent to IoT Central.)

文件列表:
LICENSE (1068, 2021-11-25)
custommodule (0, 2021-11-25)
custommodule\transformmodule (0, 2021-11-25)
custommodule\transformmodule\.dockerignore (16, 2021-11-25)
custommodule\transformmodule\Dockerfile.amd64 (383, 2021-11-25)
custommodule\transformmodule\Dockerfile.amd64.debug (608, 2021-11-25)
custommodule\transformmodule\Dockerfile.arm32v7 (399, 2021-11-25)
custommodule\transformmodule\Dockerfile.arm32v7.debug (624, 2021-11-25)
custommodule\transformmodule\Dockerfile.arm64v8 (399, 2021-11-25)
custommodule\transformmodule\Dockerfile.arm64v8.debug (624, 2021-11-25)
custommodule\transformmodule\Dockerfile.windows-amd64 (337, 2021-11-25)
custommodule\transformmodule\Program.cs (6182, 2021-11-25)
custommodule\transformmodule\module.json (742, 2021-11-25)
custommodule\transformmodule\transformmodule.csproj (1962, 2021-11-25)
edgemodule (0, 2021-11-25)
edgemodule\centraledgetemplate.json (1458, 2021-11-25)
edgemodule\images (0, 2021-11-25)
edgemodule\images\addrelationship.PNG (107311, 2021-11-25)
edgemodule\images\devicetemplates.PNG (33879, 2021-11-25)
edgemodule\images\devicetile.PNG (79020, 2021-11-25)
edgemodule\images\dttemplate.PNG (56756, 2021-11-25)
edgemodule\images\edgetile.png (24122, 2021-11-25)
edgemodule\images\newdevicetemplate.png (5815, 2021-11-25)
edgemodule\images\publish-template.PNG (211734, 2021-11-25)
edgemodule\images\relationships.PNG (96997, 2021-11-25)
edgemodule\images\rs40.PNG (695964, 2021-11-25)
edgemodule\moduledeployment.json (2325, 2021-11-25)
iotcentral (0, 2021-11-25)
iotcentral\images (0, 2021-11-25)
iotcentral\images\apptemplate.png (56431, 2021-11-25)
iotcentral\images\buildcustom.png (46880, 2021-11-25)
iotcentral\images\central.PNG (299511, 2021-11-25)
iotcentral\images\custom_application.png (4466, 2021-11-25)
leafdevice (0, 2021-11-25)
... ...

# Use IoT Edge to transform data for IoT Central Downstream IoT devices connected to an IoT Edge device send data in various formats. To use the downstream device data in your IoT Central application, you may need to transform the data to make the format compatible with your IoT Central application.This sample shows you how to use an IoT Edge module to perform a simple transformation of downstream device data format from CSV to JSON in the IoT Edge device and forward the transformed data to IoT Central. At a high level, the steps to configure this scenario are: ## Steps 1. Set up an IoT Edge device: Install and provision an IoT Edge device as a gateway and connect the gateway to your IoT Central application. 2. Connect downstream device to the IoT Edge device: Connect downstream devices to the IoT Edge device and provision them to your IoT Central application. 3. Transform device data in IoT Edge: Create an IoT Edge module to transform the data. Deploy the module to the IoT Edge gateway device that forwards the transformed device data to your IoT Central application. 4. Verify: Send data from a downstream device to the gateway and verify the transformed device data reaches your IoT Central application. In the example described in the following sections, the downstream device sends CSV data in the following format to the IoT Edge gateway device: ``` ", , " ``` You want to use an IoT Edge module to transform the data to the following JSON format before it's sent to IoT Central: ``` { "device": { "deviceId": "" }, "measurements": { "temp": , "pressure": , "humidity": , } } ``` ## Instructions to set up and configure the sample For detailed instructions on how to set up and configure the sample, see [Transform data for IoT Central > Data transformation at ingress](https://docs.microsoft.com/azure/iot-central/core/howto-transform-data#data-transformation-at-ingress)

近期下载者

相关文件


收藏者