FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

13387 questions

15914 answers

25764 comments

50509 members

0 votes
189 views 2 comments
by
Hello,

i want to send multiple data to my Thingsboard. I read the data via modbus tcp and all works fine. One of the devices i read via modbus sends 2 values, and i want them to be seperated in the JSON-configuration. Is something like that possible?

You can see the output in the pictures... i want it to be something like: "model":"example","power1":"value1","gespower":"value2"
by
Hello,

I have the same problem.

1 Answer

0 votes
by
Hello,

Currently data to server allows you to send each request as a separate message. Sending multiple consecutive registers in a single request unfortunately does not index separate registers, thus it is not possible to add different names/IDs for each data register. Multiple requests cannot be put together into a single message too.

Best regards,
by
But otherwise i dont have possibility to seperate the data. The device´s IP and Slave-ID is the same...