Changes

update data monitoring info
Line 227: Line 227:     
==Sending data with "Data to Server" feature==
 
==Sending data with "Data to Server" feature==
The Data to Server feature allows you to set up data senders that collect data from various sources and periodically send it to remote servers. We can configure this feature to send data from the router to Azure.
     −
===Data to server configurations===
+
The Data to Server service allows you to set up collections that collect data from various sources and periodically sends it to various servers. We can configure this feature to send data from the device to Azure IoT Hub.
   −
To configure the "'''Data to Server'''" service on RUT devices, please navigate to '''Services -> Data to Server''' on the WebUI and add a new instance. In the pop-up window, you will need to perform the following steps:
+
===Data to Server configuration===
   −
<ul>
+
To configure the '''Data to Server''' service on Teltonika devices navigate to '''Services -> Data to Server''' on the WebUI. This guide will cover only the collection output part. To learn more about Data to Server features you can find the dedicated guide on our Wiki. From this point it is assumed the collection is properly set up with correct inputs.
<li> In the "'''Name'''" field, specify any name that you want; </li>
  −
<li> In the "'''Type'''" field, we will leave "Base" option for this example; </li>
  −
<li> In the "'''Format type'''" field, choose JSON; </li>
  −
<li> Press "'''Next: Collection edit'''"" button; </li>
  −
 
  −
[[File:Azure RutOSconf 26.png|border|class=tlt-border]]
  −
 
  −
<li> In the collection configuration window, leave "'''Format type'''" as '''JSON''', set the period to your preferred value, and press the "'''Next: Server configuration'''" button.;</li>
  −
 
  −
[[File:Azure RutOSconf 27.png|border|class=tlt-border]]
      
<li> In the server configuration configuration window, choose "'''Type'''" as a "'''Azure IoT Hub'''" option; </li>
 
<li> In the server configuration configuration window, choose "'''Type'''" as a "'''Azure IoT Hub'''" option; </li>
   −
In the "Configuration type" field, you can choose whether to use an existing Azure IoT Hub configuration or configure a new, unique Azure IoT Hub configuration. In this example, we will stick with the previously created, existing Azure IoT Hub instance configuration.
+
In the "Configuration type" field you can choose whether to use an existing Azure IoT Hub configuration or configure a new and unique Azure IoT Hub configuration. In this example we will stick with the previously created Azure IoT Hub instance configuration.
   −
If you choose to create a new unique Azure IoT Hub configuration on the Data to Server instance, you will be able to choose connection types, upload certificates, connection strings, and more, just as we did previously on the '''Cloud Solutions -> Azure IoT Hub''' WebUI page.
+
If you choose to create a new unique Azure IoT Hub configuration on the Data to Server instance you will need to input all the options that were discussed earlier in this guide.
    
<li> Select your preferred Azure IoT Hub instance; </li>
 
<li> Select your preferred Azure IoT Hub instance; </li>
 
<li> Press "'''Save & Apply'''" button. </li>
 
<li> Press "'''Save & Apply'''" button. </li>
   −
If you are following this guide, after saving, your configurations should resemble the screenshot below.
+
If you are following this guide your configuration should resemble something similar to the screenshot below.
    
[[File:Azure RutOSconf 28.png|border|class=tlt-border]]
 
[[File:Azure RutOSconf 28.png|border|class=tlt-border]]
Line 261: Line 250:  
====Checking if data reaches IoT Hub on Azure====
 
====Checking if data reaches IoT Hub on Azure====
   −
To determine whether data successfully reaches Azure IoT Hub, select your device and navigate to the "Telemetry" tab on the Azure IoT Explorer. Ensure that "'''Use built-in event hub'''" option is enabled and press the "'''Start'''" button.
+
To determine whether data successfully reaches Azure IoT Hub select your device and navigate to the "Telemetry" tab on the Azure IoT Explorer. Ensure that "'''Use built-in event hub'''" option is enabled and press the "'''Start'''" button. After some time you should see that data was sent from the device to the Azure IoT Hub.
    
[[File:Azure RutOSconf 29.png|border|class=tlt-border]]
 
[[File:Azure RutOSconf 29.png|border|class=tlt-border]]
  −
After a few seconds, you should see that data was sent from the device to the Azure IoT Hub. If you see a similar response, it indicates that everything was configured correctly.
  −
      
==External links==
 
==External links==

Navigation menu