AWS MQTT cloud connection: Difference between revisions
Appearance
PauliusRug (talk | contribs) No edit summary |
|||
| (14 intermediate revisions by 4 users not shown) | |||
| Line 8: | Line 8: | ||
* An AWS account | * An AWS account | ||
* A router from | * A router from RUTx, TCRx or TRBx series | ||
=Hardware Description= | =Hardware Description= | ||
Hardware descriptions can be found in different Quick Start Guides (QSG). There you will find an overview of the various components on the front and back of a device, hardware installation instructions, first login information, device specifications, and general safety information. Link: [https://wiki.teltonika-networks.com/view/Quick_Start_Guides Quick Start Guides] | Hardware descriptions can be found in different Quick Start Guides (QSG). There you will find an overview of the various components on the front and back of a device, hardware installation instructions, first login information, device specifications, and general safety information. Link: [https://wiki.teltonika-networks.com/view/Quick_Start_Guides Quick Start Guides] | ||
=Set up your Development Environment= | |||
Teltonika Networks devices comes with our created [https://wiki.teltonika-networks.com/view/Firmware_Downloads firmware], therefore no additional development or scripting is required for this unit to support AWS IoT. | |||
=Setting up AWS IoT= | =Setting up AWS IoT= | ||
== Setup your AWS account and Permissions == | === Setup your AWS account and Permissions === | ||
Refer to the online AWS documentation at Set up your AWS Account. Follow the steps outlined in the sections below to create your account and a user and get started:<br> | Refer to the online AWS documentation at [https://docs.aws.amazon.com/iot/latest/developerguide/setting-up.html Set up your AWS Account]. Follow the steps outlined in the sections below to create your account and a user and get started:<br> | ||
* [https://docs.aws.amazon.com/iot/latest/developerguide/setting-up.html#aws | * [https://docs.aws.amazon.com/iot/latest/developerguide/setting-up.html#sign-up-for-aws Sign up for an AWS account] | ||
* [https://docs.aws.amazon.com/iot/latest/developerguide/setting-up.html#create- | * [https://docs.aws.amazon.com/iot/latest/developerguide/setting-up.html#create-an-admin Create a user and grant permissions] | ||
* [https://docs.aws.amazon.com/iot/latest/developerguide/setting-up.html#iot-console-signin Open the AWS IoT console] | * [https://docs.aws.amazon.com/iot/latest/developerguide/setting-up.html#iot-console-signin Open the AWS IoT console] | ||
<br> | <br> | ||
Pay special attention to the Notes. | Pay special attention to the Notes. | ||
<br> | <br> | ||
=== | === Creating a thing === | ||
Refer to the online AWS documentation at [https://docs.aws.amazon.com/iot/latest/developerguide/create-iot-resources.html Create AWS IoT Resources]. Follow the steps outlined in these sections to provision resources for your device: | Refer to the online AWS documentation at [https://docs.aws.amazon.com/iot/latest/developerguide/create-iot-resources.html Create AWS IoT Resources]. Follow the steps outlined in these sections to provision resources for your device: | ||
| Line 35: | Line 39: | ||
[[File:Networking rutos configuration examples AWS 001.png|border|class=tlt-border]] | [[File:Networking rutos configuration examples AWS 001.png|border|class=tlt-border]] | ||
First off, open the [https://aws.amazon.com | First off, open the [https://aws.amazon.com/console/ AWS Management Console] and login with your credentials. After that, you will see a screen similar to this: | ||
On the search bar on the top, search for "IoT Core", and click on the first search result. You will see a screen like the one below, open the "Manage" section and click on "Things". | On the search bar on the top, search for "IoT Core", and click on the first search result. You will see a screen like the one below, open the "Manage" section and click on "Things". | ||
| Line 81: | Line 85: | ||
With that, your MQTT Broker is all setup, and you can start setting up your RUT router as a Publisher. | With that, your MQTT Broker is all setup, and you can start setting up your RUT router as a Publisher. | ||
=RUT as MQTT Publisher= | =RUT as MQTT Publisher= | ||
| Line 99: | Line 104: | ||
If you need any help on setting up each functionality, the Teltonika Wiki has topics for each one of them: [[RUTX11 Bluetooth|Bluetooth]], [[RUTX11 Wireless|WiFi Scanner]], [[RUTX11 Modbus|MODBUS]] | If you need any help on setting up each functionality, the Teltonika Wiki has topics for each one of them: [[RUTX11 Bluetooth|Bluetooth]], [[RUTX11 Wireless|WiFi Scanner]], [[RUTX11 Modbus|MODBUS]] | ||
Then, you will use the "Data to server" functionality, under "Services" menu. | Then, you will use the "[https://wiki.teltonika-networks.com/view/Data_to_Server Data to server]" functionality, under "Services" menu. | ||
[[File:Networking rutos configuration examples AWS 010.png|border|class=tlt-border]] | [[File:Networking rutos configuration examples AWS 010.png|border|class=tlt-border]] | ||
| Line 177: | Line 182: | ||
[[File:Networking rutos configuration examples AWS 018.png|border|class=tlt-border]] | [[File:Networking rutos configuration examples AWS 018.png|border|class=tlt-border]] | ||
=Debugging= | |||
In the situation when the issue with services [[RUTX11 Bluetooth|Bluetooth]], [[RUTX11 Wireless|WiFi Scanner]], [[RUTX11 Modbus|MODBUS]], [[RUTX11 Data_to_Server|Data to Server]] appears, device internal logs can be taken directly from WebUI [[RUTX11_Administration#Troubleshoot|troubleshoot]] section. Also, there is a lot of useful information in [https://wiki.teltonika-networks.com/view/FAQ frequently asked questions] page. | |||
=Troubleshooting= | |||
The information can be submitted to Teltonika HelpDesk and Teltonika engineers will assist with troubleshooting. For a more detailed information regarding what information should be collected for debugging, please visit the dedicated page on [https://wiki.teltonika-networks.com Teltonika Wiki]. | |||
<br> | |||
Alternatively, Teltonika has a [https://community.teltonika-networks.com/ Support Forum] dedicated for troubleshooting, where engineers are actively solving problems. | |||
[[Category:IoT platforms]] | |||