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
282 views 1 comments
by anonymous

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 anonymous
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 anonymous
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.