Data to server json port number

When defining the data format for the data sent using the ‘data to server’ service, I am missing the possibility to add the port number of the modbus device.
The IP can be added, but not the port number, which seems like a requirement to be able to properly identify the device connection.

The reason why I ask is that I am storing the data to server information, so I can later use the ip, (port) and register address to use the modbus mqtt gateway to send requests to the modbus devices more easily by just using the device name and register request name (and then looking up the ip, port and register address in the stored data from the data to server service.

How can I add the port number to the data to server data format? %port% ?

This topic was automatically closed after 15 days. New replies are no longer allowed.