Changes

1,035 bytes added ,  10:27, 17 March 2023
no edit summary
Line 116: Line 116:     
[[File:Networking_rutos_configuration_examples_openremote_013.png|border|class=tlt-border]]
 
[[File:Networking_rutos_configuration_examples_openremote_013.png|border|class=tlt-border]]
 +
 +
'''"Name"''' : Any name
 +
 +
'''"Data source"''' : Modbus data
 +
 +
'''"Protocol"''' : MQTT
 +
 +
'''"JSON format"''' : Use <b>Quotation marks</b> and insert between them JSON segment.
 +
 +
'''"Segment count"''' : All
 +
 +
'''"URL / Host / Connection string"''' : Host IP of your OpenRemote system.
 +
 +
'''"Topic"''' : Define the correct topic. For directly writing an attribute value: {realm}/{clientID}/writeattributevalue/{attributeName}/{assetID}. So in our case this will be <code>master/client123/writeattributevalue/writeAttribute/79hl5XRczN4mjIaQWIMazv</code>
 +
 +
'''"Client ID"''' : Use the client ID that is used in the Topic field
 +
 +
'''"Period"''' : Data sending frequency (in seconds)
 +
 +
'''"Use credentials"''' : Enable
 +
 +
'''"Username"''' : <code>master:mqtt_user</code>  ({realm}:{user})
 +
 +
'''"Password"''' : The secret generated for the MQTT service user (you can find it on the <code>mqtt_user</code> Users page)
    
===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 open the "OpenRemote" system to check if your setup works, if everything was setup correctly, you should see the values update in attributes section. In the example we could see that the data "Slave name - %N and registry data (JSON object) - %a" is being updated.
   −
[[File:Networking_rutos_configuration_examples_openremote_0.png|border|class=tlt-border]]
+
[[File:Networking_rutos_configuration_examples_openremote_014.png|border|class=tlt-border]]

Navigation menu