A couple of people asked me how to set the status light colors with these edge drivers. Apparently you can do that with routines or with the rules API, but not with smart lighting. Here’s the answer I got.
USING ROUTINES
All the features are accessible in Routines, but not in Smart Lighting.
USING THE RULES API
They can also be used from the Rules API:
Here’s an example of the “THEN” section of a Rule that changes the color of LED 2 to Blinking Magenta.
"then": [
{
"command": {
"devices": [
"deviceid"
],
"commands": [
{
"component": "main",
"capability": "platemusic11009.hsStatusLedTwoColor",
"command": "setStatusLedTwoColor",
"arguments": [
{
"string": "blinkingMagenta"
}
]
}
]
}
}
These are the commands and options they’ll need to know if they plan on using the Rules API:
The Blinking Frequency argument is an “integer”, but all of the others are “string”.
All Models
Change LED Mode:
capability: platemusic11009.hsLedMode
command: setLedMode
options: normal, status
Change Normal LED Color:
capability: platemusic11009.hsNormalLedColor
command: setNormalLedColor
options: red, green, blue, magenta, yellow, cyan, white
Change Blinking Frequency: (Overrides other settings so LEDs won’t blink when set to 0)
capability: platemusic11009.hsStatusLedBlinkingFreq
command: setStatusLedBlinkingFreq
options: 0-255
Model WS200 Only
Blinking is determined by the Blinking Frequency setting mentioned above
Change Color of LED
capability: platemusic11009.hsStatusLedColor
command: setStatusLedColor
options: off, red, green, blue, magenta, yellow, cyan, white
Models: WD200 & WX300 Only (also FC200 once it is published)
Change Color/Blinking of All LEDs:
capability: platemusic11009.hsStatusLedBlinkingColor
command: setStatusLedColor
options: off, red, green, blue, magenta, yellow, cyan, white, blinkingRed, blinkingGreen, blinkingBlue, blinkingMagenta, blinkingYellow, blinkingCyan, blinkingWhite
Change Color/Blinking of LED 1:
capability: platemusic11009.hsStatusLedOneColor
command: setStatusLedOneColor
options: off, red, green, blue, magenta, yellow, cyan, white, blinkingRed, blinkingGreen, blinkingBlue, blinkingMagenta, blinkingYellow, blinkingCyan, blinkingWhite
Change Color/Blinking of LED 2
capability: platemusic11009.hsStatusLedTwoColor
command: setStatusLedTwoColor
options: off, red, green, blue, magenta, yellow, cyan, white, blinkingRed, blinkingGreen, blinkingBlue, blinkingMagenta, blinkingYellow, blinkingCyan, blinkingWhite
@rodcmarr