7855 questions

9275 answers

14928 comments

12723 members

0 votes
44 views 1 comments
by

Hello,

We are currently trying to send raw data (as in: every byte that is received on RS232) over MQTT to a cloud.

Is this possible with the TRB142? In the "data to server" section it is only possible to select MODBUS data as data source, however the device connected to the TRB on serial does not speak MODBUS, it just sends bytes.

Any help would be greatly appreciated.

1 Answer

0 votes
by
Hello,

Unfortunately, TRB "data to server" cannot send data as you have described. It can only send collected data via Modbus protocol.

Regards.
Best answer
by
Thank you very much. I solved this problem by installing Python, PySerial and the python paho mqtt library to the device and running a python script to push the data manually to the MQTT broker.