Difference between revisions of "Azure IoT Hub cloud connection"

From Teltonika Networks Wiki
Line 3: Line 3:
 
==Introduction==
 
==Introduction==
  
This article contains instructions on how to configure a RUT2xx series router in order to connect to the Azure IoT Hub.
+
This article contains instructions on how to configure an RUT router in order to connect to the Azure IoT Hub.
  
 
==Prerequisites==
 
==Prerequisites==
  
 
You will need:
 
You will need:
* A router from the RUT2xx series
+
* A router from the RUT2xx, RUT9xx series or RUTX09
 
* An Azure IoT Hub account
 
* An Azure IoT Hub account
  

Revision as of 08:18, 14 March 2019

Azure IoT Hub is an open and flexible cloud platform as a service that supports open-source SDKs and multiple protocols.

Introduction

This article contains instructions on how to configure an RUT router in order to connect to the Azure IoT Hub.

Prerequisites

You will need:

  • A router from the RUT2xx, RUT9xx series or RUTX09
  • An Azure IoT Hub account

Configuring the device

  • Login to the router's WebUI and go to the System → Administration → Azure IoT Hub page.

  • Configure the main connection settings:
    Azure iot hub 1.png
    • The "Connection string" should be provided by Azure. The format of the string should something like this:
      HostName=aics-prod-hub.azure-devices.net;DeviceId=6eLklROrG5;SharedAccessKey=xcRgQpJtY13laOumje3DrxJw1R3LlqnKmVxPFA0Z7Rw=
    • Take note that a lower sending interval value will mean more data usage.

  • Below the main connection settings there is a list of parameters that will be sent to the Azure IoT Hub. Place check marks next to parameters that are relevant you (once again take into account that more parameters will mean more data usage).
    Azure iot hub 2.png
    Note: the parameters in the figure above are selected for demonstrative purposes. Select the parameters that are relevant to your solution.

  • Don't forget to save the configuration:
    Azure iot hub 3.png