Auto provisioned device MQTT attribute write

Hello, I’ve installed OpenRemote and managed to get the Auto Provisioning setup but after I provision a new device I can’t seem to understand how I’m supposed to update attributes from that asset. I’ve tried using MQTTX ( same one I used for provisioning ) to send a write attribute using same certificate I used to enroll but nothing happens, nothing in logs and no data.

Topic: master/TestDevice/writeattributevalue/test/6ZTXcBysubWnSoxcHkzmvkQoS: 0
“hello world”

I think this is a similar post to what issue I’m having:

Anyway somebody could help me out and explain what I’m doing wrong ?

Thank you !

Hi Francnatic,

What the poster in the topic you mention seemed to miss, is that the auto-provisioning mqtt session is the one you also use for pub/sub.

So everytime you want the device to connect you follow the auto-provisioning flow by publishing the certificate to the auto provisioning topic. After that, you can publish to another topic during that session.

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