setColor delay: not working


(John Watkins) #1

Hello,

I’m trying to write a pretty simple function, that sets the color of a color capable light (think cops lights). however, whenever I add the delay: to device.setColor(hue 66: saturation: 80, Level: 100, delay: 1000) the device doesn’t respond, as soon as I take the delay out, it works. The docs say this should work, however I only see it work on device.on/device.off commands.

the problem I have is the commands being sent to an LED light strip are too quick, so I get unexpected results and command are missed.

any help would be greatly appreciated.


(John Watkins) #2

Well, I’m glad I’m not a) as bad a programmer as I thought, and b) part of my sanity is in check.

There is currently a bug with this!