MQTT Agent CONNECTED, but Asset Attribute not updating via external publish (MQTT Explorer)

Hi everyone,

I am having an issue where incoming MQTT telemetry is not updating my asset attributes in the Manager UI. My MQTT Agent shows as CONNECTED, and I can confirm messages are being published to the broker, but the values are not mapping to the asset.

My Environment:
Running a local OpenRemote instance via Docker on a Windows PC.
Testing external publishes using MQTT Explorer.

Steps Taken:

  1. Created an MQTT Agent asset.
    host: localhost
    port: 1883
    clientID: client123
    agentStatus: Successfully shows as CONNECTED.
  2. Created a Thing asset named test_device with a temperature attribute (Type: Integer).
  3. Added an MQTT Agent Link to the temperature attribute:
    Selected the newly created MQTT Agent.
    Subscription Topic: device/thing/temperature
  4. Connected MQTT Explorer to the same local broker.
  5. Published a message from MQTT Explorer:
    Topic: device/thing/temperature
    Format: raw
    Payload: 28

The Issue: The message successfully registers on the broker in MQTT Explorer, but the temperature attribute on the test_device asset in OpenRemote remains completely blank.

Good afternoon @shyam209 ,

This is quite wrong; you are using an MQTT agent to connect your device to OpenRemote. Agents are used to connect to other services to then collect data; so the MQTT agent would be used to connect to a foreign server and collect data, not the other way around.

Please read this guide that explains how to connect your device to OpenRemote.

Hope this helps!

All the best,
Panos

1 Like

Hi Panos,

Thank you for the clarification. I completely misunderstood the architecture and was trying to use the MQTT agent to act as the direct listener for my local setup, rather than as a bridge to an external server.

Thanks for pointing me in the right direction.

1 Like