Changes

no edit summary
Line 166: Line 166:  
To test the configuration, '''deploy''' the nodes again and send the message by clicking on the '''inject''' node.
 
To test the configuration, '''deploy''' the nodes again and send the message by clicking on the '''inject''' node.
   −
==MQTT gateway using MQTT explorer and Node-RED broker==
+
===MQTT gateway using MQTT explorer and Node-RED broker===
 
+
----
 
In this example, we are going to use the same Node-RED broker configured in previous parts of this article, only this time we are going to use [http://mqtt-explorer.com/ MQTT Explorer] app to Publish and Subscribe to Modbus data.
 
In this example, we are going to use the same Node-RED broker configured in previous parts of this article, only this time we are going to use [http://mqtt-explorer.com/ MQTT Explorer] app to Publish and Subscribe to Modbus data.
   Line 174: Line 174:  
[[File:Nodered configurationexample topo6.png|border|800px|class=tlt-border]]
 
[[File:Nodered configurationexample topo6.png|border|800px|class=tlt-border]]
   −
===Device setup===
+
====Device setup====
 
----
 
----
 
Navigate to '''Services -> Modbus -> MQTT Gateway'''. Follow these steps for the configuration:
 
Navigate to '''Services -> Modbus -> MQTT Gateway'''. Follow these steps for the configuration:
Line 183: Line 183:  
[[File:MQTT gateway settings node red local router.png|border|500px|class=tlt-border]]
 
[[File:MQTT gateway settings node red local router.png|border|500px|class=tlt-border]]
   −
===MQTT explorer setup and testing===
+
====MQTT explorer setup and testing====
 
----
 
----
 
Open MQTT Explorer application and in the default screen input the '''Host IP (1)'''  of MQTT Broker, then press '''Connect (2)'''.
 
Open MQTT Explorer application and in the default screen input the '''Host IP (1)'''  of MQTT Broker, then press '''Connect (2)'''.