You are really asking if the color of the LED can be set via webCore in ST, right?
Yes, you can set the color and intensity via webCore in ST. This works for Red dimmers. I don’t have any Black dimmers, so you will have to test.
You have to add the rgbw child device DH in the IDE so that in the switch’s settings you can turn on Create a light LED child device. Once that child device exists, expose it to webCore. Look in the parent DH code for the URLs to the child device code.
In webCore, you are going to address the child device, not the parent. It will have “(Light LED)” after the parent’s name.
You have a several options:
Use SetColor and Preset and pick from the colors
Use SetColor and Value and select a hex value color
Use SetColor…(hsl) and then manually set the Hue, Saturation and Level
You’ll find that you may have to play around with the color specifications you want to achieve as the colors may not wind up exactly as you specify in the piston.
Thank you for your response. I am aware of the child device DH in ST and HE but in HE I address the device directly using the setConfigParameter 13 to change the LED color. It seems that this “command” isn’t available in webCORE /DTH for the LZW31. Here is a snippet in webCore to further explain my question:
Maybe I’m not understanding your question. You’ve determined that you can’t use the same webCore statement in ST as you do in HE. But at least for parameter 13 (LED color), my post above explains how it’s done in ST, so if that’s what you are trying to accomplish, that is how you do it.
If you are asking about setting ANY parameter using setConfigParameter as you do in HE, then I don’t think there is a ST equivalent.
That is what i must do if i want to return the led to white when i use the led light as notification in my routines. I wanted to automate this process but it seems that it is not possible in ST. Thank you
I think we can figure this out! Help me understand your use case, because there are 2 different color settings:
first is when there are no notifications present, that is parameter 13.
a second is when there is a notification present, which uses the child of the driver for color, type (pulse, etc.), and time (1 second up to infinite).
Are you trying to set the LED Bar Color as white, or send a notification that is white in color?
Here is what i am trying to do in ST (btw it works great in Hubitat using rule machine).
All my Inovellis (i have a mix of black and red switches and dimmers) are setup using White as their default LED color.
Based on various triggers (door open, lock unlocked, and others), i am using the LED colors to notify people in the house. For the RED series it is easy, i am using the LED Notification child devices. For the Black Series, i can also change the LED color child device but when i try to return to its default value, white is showing RED (in Hubitat i can change back parameter 13 to 255 programmatically but not in ST. I have had some success with using the set color temperature to 0K but it fails sometime…