Changes

no edit summary
Line 81: Line 81:  
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:Networking rutos configuration examples AWS 011.png]]
+
[[File:Networking rutos configuration examples AWS 011.png|border|class=tlt-border]]
    
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 99: Line 99:  
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:Networking rutos configuration examples AWS 012.png]]
+
[[File:Networking rutos configuration examples AWS 012.png|border|class=tlt-border]]
    
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. You can use 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. You can use the AWS IoT MQTT test client to subscribe to the topic that the router was publishing.  
   −
[[File:Networking rutos configuration examples AWS 013.png]]  
+
[[File:Networking rutos configuration examples AWS 013.png|border|class=tlt-border]]  
    
=Example: Publishing RUT MODBUS to AWS IoT using MQTT=
 
=Example: Publishing RUT MODBUS to AWS IoT using MQTT=
Line 111: Line 111:  
Enabling the MODBUS Slave option on the router allows it to answer any requests coming from a MODBUS Master. To do that, go to the router configuration page->Services->MODBUS-> MODBUS TCP Slave. Then clock the "Enable" slider and save.
 
Enabling the MODBUS Slave option on the router allows it to answer any requests coming from a MODBUS Master. To do that, go to the router configuration page->Services->MODBUS-> MODBUS TCP Slave. Then clock the "Enable" slider and save.
   −
[[File:Networking rutos configuration examples AWS 014.png]]
+
[[File:Networking rutos configuration examples AWS 014.png|border|class=tlt-border]]
    
=== Enabling MODBUS TCP Master ===
 
=== Enabling MODBUS TCP Master ===
 
Enabling the MODBUS Master option on the router allows it to make specific requests to any slave in the MODBUS network. To do that, go to the router configuration page->Services->MODBUS-> MODBUS TCP Master. Click on the "Add" button, and do the following configuration on the page:
 
Enabling the MODBUS Master option on the router allows it to make specific requests to any slave in the MODBUS network. To do that, go to the router configuration page->Services->MODBUS-> MODBUS TCP Master. Click on the "Add" button, and do the following configuration on the page:
   −
[[File:Networking rutos configuration examples AWS 015.png]]
+
[[File:Networking rutos configuration examples AWS 015.png|border|class=tlt-border]]
    
'''"Name"''' : Any name
 
'''"Name"''' : Any name
Line 132: Line 132:  
Then scroll down the page a bit, on the "Add new request" section, give any name to your request and click on the "Add" button. Then do the following configuration
 
Then scroll down the page a bit, on the "Add new request" section, give any name to your request and click on the "Add" button. Then do the following configuration
   −
[[File:Networking rutos configuration examples AWS 016.png]]
+
[[File:Networking rutos configuration examples AWS 016.png|border|class=tlt-border]]
    
'''"Data type"''' : Data type of the data you are going to receive, in this case, the router reports its device name using ASCII
 
'''"Data type"''' : Data type of the data you are going to receive, in this case, the router reports its device name using ASCII
Line 147: Line 147:  
Go to the router configuration page->Services->Data to server. Click on the "Add" button, and the configuration is basically the same as described on the "Publishing Bluetooth/Wifi scanner/Modbus data" section of this article, just change the data source to "MODBUS data" and format the data as you wish. You should have something similar to this.
 
Go to the router configuration page->Services->Data to server. Click on the "Add" button, and the configuration is basically the same as described on the "Publishing Bluetooth/Wifi scanner/Modbus data" section of this article, just change the data source to "MODBUS data" and format the data as you wish. You should have something similar to this.
   −
[[File:Networking rutos configuration examples AWS 017.png]]
+
[[File:Networking rutos configuration examples AWS 017.png|border|class=tlt-border]]
    
=== Checking if it works ===
 
=== Checking if it works ===
 
Then, you can use the AWS MQTT test client to check if your setup works, if everything was setup correctly, you should see something like this.
 
Then, you can use the AWS MQTT test client to check if your setup works, if everything was setup correctly, you should see something like this.
   −
[[File:Networking rutos configuration examples AWS 018.png]]
+
[[File:Networking rutos configuration examples AWS 018.png|border|class=tlt-border]]

Navigation menu