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.
+1 vote
389 views 2 comments
by anonymous
Hello,

For my project i have to sent modbus data to a mqtt broker.

But the mqtt broker doesnt accept the array brackets around the value (VR).

Does anyone have a good solution for this?

{

  "ID": "21",

  "TS": "1624541241",

  "ST": "3",

  "VR": [  419  ]

}

1 Answer

0 votes
by anonymous
Hello,

Thank you for contacting.

May i know what device you are using ?

What mqtt broker you are using ? Its Teltonika device or some third party mqtt broker service ?

Because mostly on flespi.io its tested and there are no issues.

Thank you.

Regards,

Ahmed
by anonymous
Hello Ahmed,

I used the RUT955.

As broker we are using a third party mqtt broker.

it is ofcourse possible to sent the data to a other broker. But the thirdparty broker we are using dont accept the array brackets around the value.
by anonymous
Hello,

The issue is with the 3rd party platform because on other platforms like flespi it accepts the values.

Array brackets couldn't be removed this is the format. Values will be added to these brackets.

Thanks.