Changes

Line 288: Line 288:  
==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.'
 +
 
 +
===Device setup===
 +
 
 +
Navigate to '''Services -> Modbus -> MQTT Gateway'''. Follow these steps for the configuration:
 +
*'''Enable''': on
 +
*'''Host''': if you are using local broker on the device - input '''127.0.0.1''', otherwise input your MQTT broker address
 +
*Leave everything else as default, or adjust according to your needs
 +
 
 +
[[File:MQTT gateway settings node red local router.png|border|500px|class=tlt-border]]
 +
 
 +
===MQTT explorer setup and testing===

Navigation menu