Trouble Integrating Custom MQTT Device with OpenRemote Manager API

Hello

I am trying to integrate a custom IoT device using the OpenRemote Manager API & MQTT protocol; but I’m facing issues with establishing a stable connection. The MQTT broker seems to be running fine, and the device is publishing data to the broker. :upside_down_face:

However; when I attempt to link it through OpenRemote’s API, the data flow is inconsistent, with frequent timeouts and errors in the logs. I’m unsure whether the problem lies with the MQTT setup or the API configuration. :innocent:

I have followed the documentation for setting up the MQTT protocol agent in OpenRemote; but I still can’t get the device to fully synchronize with the platform. Does anyone have experience troubleshooting such issues with MQTT integration, especially with custom devices? :thinking: I have checked Agents, Protocols and APIs - OpenRemote Okta guide for reference .

Any recommended steps to ensure a smooth connection between my device, the MQTT broker, and OpenRemote would be much appreciated.

Thank you ! :slightly_smiling_face:

Hi! Welcome to the forum! :partying_face:

No I personally have not encountered these issues with MQTT devices before.
I normally tend to troubleshoot these issues using another broker to verify.
.

However; when I attempt to link it through OpenRemote’s API, the data flow is inconsistent, with frequent timeouts and errors in the logs.

Are you able to share these logs? And are these timeouts on the topic of “processing data”
or on receiving the data? That way we can rule out that the connection is the problem, or if the OpenRemote system is struggling to handle them. (authorization, mTLS, data handling etc)