Changes

no edit summary
Line 36: Line 36:  
The policies are needed for allowing incoming data into AWS.
 
The policies are needed for allowing incoming data into AWS.
   −
Go back to the AWS IoT HuB, open the "Secure" tab and click on "Policies"
+
Go back to the AWS IoT HuB, open the "Secure" tab and click on "Policies".
 +
 
 
[[File:Image8754.png|border|class=tlt-border|523x523px]]
 
[[File:Image8754.png|border|class=tlt-border|523x523px]]
   −
Do the following procedure: Click on "Create policy" -> Give it a name -> Policy effect: allow -> Policy action: * -> Policy resource: *-> Create
+
Do the following procedure: Click on "Create policy" -> Give it a name -> Policy effect: allow -> Policy action: * -> Policy resource: *-> Create[[File:Image854.png|border|class=tlt-border|799x799px]]
[[File:Image854.png|border|class=tlt-border|799x799px]]
+
 
 
Then, on the same "Secure" tab, click on certificates. There you will see one certificate, the one you've created, select it by checking the checkbox, then go to "Actions", and click on "Attach policy".
 
Then, on the same "Secure" tab, click on certificates. There you will see one certificate, the one you've created, select it by checking the checkbox, then go to "Actions", and click on "Attach policy".
 +
 
[[File:Image5422.png|border|class=tlt-border|807x807px]]
 
[[File:Image5422.png|border|class=tlt-border|807x807px]]
 +
 
Then select the policy you've created previously, and click on "Attach policies"
 
Then select the policy you've created previously, and click on "Attach policies"
 +
 
[[File:Image471.png|border|class=tlt-border|479x479px]]
 
[[File:Image471.png|border|class=tlt-border|479x479px]]
   Line 50: Line 54:     
You can find it into the "Settings" tab, copy and save it somewhere.
 
You can find it into the "Settings" tab, copy and save it somewhere.
 +
 
[[File:Image4785.png|border|class=tlt-border|405x405px]]
 
[[File:Image4785.png|border|class=tlt-border|405x405px]]
 +
 
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 72: Line 78:     
Then, you will use the "Data to server" functionality, under "Services" menu.
 
Then, you will use the "Data to server" functionality, under "Services" menu.
 +
 
[[File:Image451.png|border|class=tlt-border|470x470px]]
 
[[File:Image451.png|border|class=tlt-border|470x470px]]
 +
 
Click on the "Add" button on the right side of the page, you will see the following menu.
 
Click on the "Add" button on the right side of the page, you will see the following menu.
 +
 
[[File:Img4587.png|border|class=tlt-border|782x782px]]
 
[[File:Img4587.png|border|class=tlt-border|782x782px]]
 +
 
The main fields you have to fill up are pretty straight forward, just pay more attention for the fields needed for AWS MQTT Broker connection:
 
The main fields you have to fill up are pretty straight forward, just pay more attention for the fields needed for AWS MQTT Broker connection:
   Line 90: Line 100:     
After setting up all, you should have something similar to the screen below. Click on save and apply.
 
After setting up all, you should have something similar to the screen below. Click on save and apply.
 +
 
[[File:Config421.png|border|class=tlt-border|749x749px]]
 
[[File:Config421.png|border|class=tlt-border|749x749px]]
 +
 
To check if your setup is working, you can use any MQTT client, and subscribe to the topic you've created, you should be able to see the data of the source you've selected. In the image below, i've used the AWS IoT mqtt test client to subscribe to the topic that the router was publishing.  
 
To check if your setup is working, you can use any MQTT client, and subscribe to the topic you've created, you should be able to see the data of the source you've selected. In the image below, i've used the AWS IoT mqtt test client to subscribe to the topic that the router was publishing.  
 +
 
[[File:Image4752.png|border|class=tlt-border|961x961px]]  
 
[[File:Image4752.png|border|class=tlt-border|961x961px]]  
  

Navigation menu