Change dimmer variable from arduino side

Hello everyone,

I am struggling with IoT cloud and its variables. I am using dimmer light control on my dashboard. I am able to read brightness and switch status with var.getSwitch(). But I need to update dashboard from sketch. Example: I have timer for auto light, so the sketch run light every morning in 6. What to use to update also status of light control on the dashboard?

Thank you and sorry for my enghlish, isnt my native language.

Petr

Hello

Maybe this will help ArduinoIoTCloud/CloudDimmedLight.h at master · arduino-libraries/ArduinoIoTCloud · GitHub

1 Like

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