Arduino IoT Cloud variable update function is not called

So I'm using an Arduino UNO R4 WiFi and I want to control an LED through a dashboard on the cloud. I created a read-and-write cloud variable name "led" (which for some reason does not appear in the cloud variables section). A function named onLedChange() has been automatically created and should theoretically be called whenever the "led" variable is updated (in my case, using a switch on a dashboard in the IoT cloud). However, when I alter the state of the switch, nothing happens (the function seems not to be even called). I've posted my code (both main sketch and thingProperties). Any type of help is really appreciated!

image


Hi @rich05. There was a bug in Arduino Cloud's IoT features last week that might have caused this problem. It has since been fixed:

Please check again and let us know whether the problem still occurs.

1 Like

Thank you for the reply, the issue is now solved!

You are welcome. I'm glad it is working now.

Regards,
Per

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