Tuya LED Strip lights & Brightness All questions

Hi there, I'm new to sequematic but already loving it - amazing work. 

Are you able to tell me if its possible to control the brightness value of a Tuya Smart Device (specifically a Smart Life LED Strip)?

Many thanks!

Matt 

Asked by Matt on March 28 at 7:44pm (edited on March 28 at 7:44pm)

Hi Matt. Unfortunately all Tuya devices are created differently so results can vary. I'm assuming your device Office light LEDs is an LED strip?  If so, I think you might be able to use the control_device property then set the brightness using the JSON below (this will go in the value field when setting up the step):

{"commands":[{"code":"control_data","value":{"change_mode":"direct","bright":500}}]}

Bright should be a value between 0 - 1000.  And apparently change_mode can be either direct or gradient - I assume this affects whether the brightness changes immediate or gradually fades.

You can find more about there here in the Tuya API docs.

Let me know how you get on and if it doesn't work I'll see what else I can find.

Hi Derek, thanks for your super fast reply (and sorry for my very slow reply!) 

You're right that they're an LED strip, but no luck unfortuantely. The example code in the API documents doesnt trigger a response either. 

Many thanks 

Post a reply

The SEQUEmatic bot is still new and learning. If you don't get the answer you need, just ask to speak with Derek and your chat will be transferred.