Change comment:
Uploaded new attachment "image-20230511145209-1.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,32 +4,23 @@ 4 4 5 5 6 6 7 -= 1. Introduction = 8 8 9 -Azure IoT Hub is designed around standalone end devices communicating directly with the hub. Each end device must connect to the hub via one of the supported communication protocols ([[MQTT>>url:https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-mqtt-support]] / [[AMQP>>url:https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-amqp-support]]). These protocols are inherently stateful - each individual end device must have one connection always open in order to send and receive messages from the Azure IoT Hub. 10 10 11 - TheAzure IoT Hub integration prefers to use an asynchronous, stateless communication style.When uplink messages are received from an end device, the integration connects on demand to the Azure IoT Hub and submits the message, and also updates theDevice Twin. The dataplane protocol used between The Things Stack and Azure IoT Hub is [[MQTT>>url:https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-mqtt-support]],and the connections are always secure using [[TLS 1.2>>url:https://datatracker.ietf.org/doc/html/rfc5246]].9 += 1. Deployment Guide = 12 12 13 -(% class="wikigeneratedid" %) 14 -[[image:image-20230511145209-1.png||height="600" width="813"]] 15 15 16 - 17 -= 2. Deployment Guide = 18 - 19 - 20 20 Learn how to deploy the Azure IoT Hub integration for The Things Stack. 21 21 22 22 15 +== 1.1 Prerequisites == 23 23 24 -== 2.1 Prerequisites == 25 25 26 - 27 27 1. Access to an Azure account. [[Create a new account>>url:https://signup.azure.com/]] 28 28 29 29 2. An application in The Things Stack. [[See instructions>>url:https://www.thethingsindustries.com/docs/integrations/adding-applications/]] 30 30 31 31 32 -== 2.2 Create API Key ==23 +== 1.2 Create API Key == 33 33 34 34 35 35 Go to your application in The Things Stack Console, navigate to (% style="color:blue" %)**Integrations → Azure IoT**(%%) on the left hand menu and click on (% style="color:blue" %)**Expand** (%%)next to (% style="color:blue" %)**Azure IoT Hub**(%%). Now click on (% style="color:blue" %)**Generate API Key**. ... ... @@ -43,7 +43,7 @@ 43 43 Leave the integration page open, as you will need to copy in your (% style="color:blue" %)**Azure IoT Hub hostname** (%%)and (% style="color:blue" %)**Azure IoT Hub access key**(%%) before saving the integration. 44 44 45 45 46 -== 2.3 Deploy Azure Resource Manager Template ==37 +== 1.3 Deploy Azure Resource Manager Template == 47 47 48 48 49 49 [[Deploy template>>url:https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fttsiothubintegration.blob.core.windows.net%2Fintegration-releases%2Flatest%2Fmain.json]] ... ... @@ -51,7 +51,7 @@ 51 51 View template as [[JSON>>url:https://ttsiothubintegration.blob.core.windows.net/integration-releases/latest/main.json]] or [[Bicep>>url:https://ttsiothubintegration.blob.core.windows.net/integration-releases/latest/main.bicep]] 52 52 53 53 54 -== 2.4 Settings ==45 +== 1.4 Settings == 55 55 56 56 57 57 The following parameters configure the integration: ... ... @@ -93,7 +93,7 @@ 93 93 [[image:image-20230105112836-5.png]] 94 94 95 95 96 -= 3. Managing Devices =87 += 2. Managing Devices = 97 97 98 98 99 99 The Azure IoT Hub integration for The Things Stack synchronizes the device registry: you can create devices in Azure IoT Hub which trigger an Azure Function that creates the device in The Things Stack. ... ... @@ -111,7 +111,7 @@ 111 111 Devices are created automatically as they join the network or send an uplink message. For the name of new devices, the end device ID in The Things Stack is used as the device ID in Azure IoT Hub. 112 112 113 113 114 -== 3.1 Creating Devices ==105 +== 2.1 Creating Devices == 115 115 116 116 117 117 You can use Azure IoT Hub to create and claim devices in The Things Stack. This is useful to manage all your devices in one place, without having to use The Things Stack Console, CLI or API. ... ... @@ -168,6 +168,7 @@ 168 168 169 169 * (% style="color:#037691" %)**modelId:**(%%) the model ID. 170 170 162 + 171 171 (% style="color:red" %)**Note:** 172 172 173 173 If the version identifiers are provided, the end device will automatically load the [[Payload Formatters>>url:https://www.thethingsindustries.com/docs/integrations/payload-formatters/]] from [[LoRaWAN Device Repository>>url:https://www.thethingsindustries.com/docs/integrations/payload-formatters/device-repo/]]. ... ... @@ -214,7 +214,7 @@ 214 214 Click on (% style="color:blue" %)**Save**(%%) in the top-left corner. The end device will now be created in The Things Stack. 215 215 216 216 217 -== 3.2 Deleting Devices ==209 +== 2.2 Deleting Devices == 218 218 219 219 220 220 In the Azure Console, open your Azure IoT Hub resource. In the menu on the left, click (% style="color:blue" %)**IoT Devices**.