I'm using Node-Red and imported the Busylight code (npm). I'm able to send commands to the light, but none of the "off" commands work.
Also, the commands seem to accumulate. Example: Sending flash red, then flash blue, the device will in both colors. Using "close" does nothing.
To set the color:
var myBusylight = busylight.get(); myBusylight.blink(['red'], 1000); myBusylight.close();
To (try to) stop:
var myBusylight = busylight.get(); myBusylight.off(); myBusylight.close();
Thanks!
I'm using Node-Red and imported the Busylight code (npm). I'm able to send commands to the light, but none of the "off" commands work.
Also, the commands seem to accumulate. Example: Sending flash red, then flash blue, the device will in both colors. Using "close" does nothing.
To set the color:
var myBusylight = busylight.get(); myBusylight.blink(['red'], 1000); myBusylight.close();To (try to) stop:
var myBusylight = busylight.get(); myBusylight.off(); myBusylight.close();Thanks!