TRB245 mqtt control

Hi… Im already new with TRB245, mqtt monitoring work well with ModbusTCP transfer data via “Data to server” to mqtt server. And then we are facing obstable how to configure the opposite direction. Any advice or suggestion? Thanks

Hello,

Could you clarify, if I understood correctly, that you are looking to send data from your MQTT broker to the TRB245, with the TRB245 acting as a subscriber to a specific topic?

If so, you’ll need to install a third-party package, mosquitto-client-ssl, to enable the TRB245 to function as an MQTT client. You can do this by executing the following commands:

opkg -e /etc/opkg/openwrt/distfeeds.conf update
opkg -e /etc/opkg/openwrt/distfeeds.conf install mosquitto-client-ssl

Once installed, you should be able to subscribe to the desired MQTT topic. For further guidance, I recommend reviewing the Mosquitto manual page here.

Best regards,

Dear Martynas, Yes it is correct. The opposite direction mean send data from MQTT broker to TRB245. Ok I will try to install it.

Many thanks for your solution.