FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
500 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 anonymous

Hello.

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

Best regards.