FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

13308 questions

15799 answers

25518 comments

50173 members

0 votes
386 views 0 comments
by

Hi,

I'm using RUT955 for data acquisition and order exchange.

We are using the "Data To Server" functions, connected to the "Modbus RS485 Master". Nowadays, data sent to MQTT broker are, for example at the topic "test/val":

[

  {

    "ID": "1",

    "TS": "1611747687",

    "ST": "1",

    "VR": "[2391]"

  },

  {

    "ID": "1",

    "TS": "1611747687",

    "ST": "16",

    "VR": "[499]"

  }

]

Where the first value is a voltage, and the second one a frequency.

My questions :

- Would it be possible to have directly on MQTT broker these topics with direct access to values and if yes, how to do it with natives tools ? For example:

test/voltage

test/frequency

- How to link directly Modbus RS485 variable name to the data send to MQTT broker ?

Thanks a lot,

Best regards

1 Answer

0 votes
by

Hello.

I think you could use MQTT Gateway for this purpose. You can find more information here.

Best regards.