Can't get "MQTT Message" for Modbus Alarm Working

Hello, I’ve set up a modbus alarm, and I know the alarm is working great, because I can set action to “trigger output” and it works great. However, I can’t get MQTT publish to work, publishing to topic “tacoma”. Nothing is published. Here are my settings. Anything else I can check?






Hi graybricks,

Welcome back to Teltonika Networks Community!

There is no need for you to configure MQTT Broker and Publisher in this case. From the Modbus Alarm configuration, make sure that the hostname is reachable from the router. You can also try to use some third party platforms like flespi and MQTTX for further testing.

Sample configuration for MQTT Message:
image

Let me know if this helps.

Regards,

Thanks, Janmiguel.

Embarrassingly, the problem was my fault and not the Teltonika device. The subscriber at the other end was not decoding the JSON correctly. It is working properly now. Thanks.

1 Like

This topic was automatically closed 40 hours after the last reply. New replies are no longer allowed.