Publish to property with API - not updating the device

Hi,

I'm using the API to publish a new value to a property in a Thing.

Please refer to this documentation (which is what I follow): Arduino IoT Cloud API

The PUT request is successful, and I get a "200" response.

The property I am publishing to is a boolean that controls an LED on an Arduino Nano 33 IoT. I have disconnected a switch widget to make sure there is no conflict.

I can see that the new value appears against the property in the Variables list of my Thing.

However, the device does not seem to get updated with the new value. The only way for the device to "see" the new value of the property is to reset it.

Why is this happening? Is there something I need to do in order to "push" the change to the device, or to "pull" it to the device?

Thank you!

Peter

Update:

The new value seems to make it t the device around 7 minutes after I updated it through the API.

This is a long wait.

Is it normal?

Can this transit time be reduced to a few seconds?

Another update:

I did more experimenting with the publish API and I find inconsistent results.

Although the property values in the web dashboard update immediately, the update takes anywhere between 7 to 30 minutes to get to the device.

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