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
165 views 1 comments
by anonymous
Hi, with MQTT software I have to communicate, via RS485 interface, with an SMA inverter via a TRB255 gateway. how should I write the code in the MQTT software to read and write on the registers?

I'm sorry for my english.

1 Answer

0 votes
by anonymous

Hi, 

Does the SMA inverter support Modbus?
If yes, then you can install Modbus master on the TRB255 and get all the Modbus data from the SMA inverter's registers.
Follow the below tutorial:
https://wiki.teltonika-networks.com/view/Modbus_TCP_Master_MQTT_Gateway

Regards,
Raman

by anonymous
Thank you. I'll try. If I still have problems I will contact you again