|
<< Click to Display Table of Contents >> Navigation: Components > IoT > Azure IoT Hub Service [x500] |
This component enables interaction with devices configured within Azure IOT Hub. It is possible to receive and evaluate/output complex data structures (JSON format) sent asynchronously by the device, as well as to send commands (strings or JSON objects) to devices. It is possible to define the possible data structures (structure of the sent JSON objects of the different device types) in a separate editor and to assign these structures in the device editor to the respective devices (a data structure can be several similar devices).
The possible commands are also defined in a separate editor and determines which types of devices support the respective commands (a command can be assigned to multiple device types).
Component data points
Name |
Type |
Function |
|---|---|---|
Debug [text] |
Output |
Error texts are output here. These can be displayed, for example, with the "Log Window" component. Attention: Diagnosis or debug - outputs are only intended for the error case. Please use only with consultation with the support team! these may significantly affect the performance of the service when used |
Advanced diagnostics |
Input |
(De) Mr President, I would like to thank Enables advanced debug output. Attention: Diagnosis or debug - outputs are only intended for the error case. Please use only with consultation with the support team! these may significantly affect the performance of the service when used |
Dynamic |
Folder |
The dynamic data points are created in this folder. |
Driver On/Off |
Bidirectional |
(De) Activate the component. |
Connection state |
Output |
Boolean display for the connection status. |
Properties of the component
Name |
Standard |
Function |
|---|---|---|
Connection |
... |
The Connection String can be copied in the IOT Hub via Settings - Shared Access Policies - <user with Access> - Shared Access Key - Connection String - Primary Key. Specifying a protocol gateway is only required if one is used. |
Types |
0 |
Editor for creating the different device structures. Here you can create different device types and define the structure (hierarchy, name and data type of the values) of the JSON data that the device sends |
Commands |
0 |
In this editor, the various commands that can be sent to devices can be defined. These can be simple, static strings (sent on triggers) or strings that dynamically include a value (the <VALUE> wildcard is then replaced by the value sent to the data point). In addition, it is necessary to specify which types of devices (defined in the previous editor) support this command (multiple selection possible). |
Devices |
0 |
Here, the devices can be imported from Azure IOT Hub and assigned to each device one of the defined device types. |
Driver On/Off |
|
(De) Mr President, I would like to thank Activate the component. |