Announcement

Collapse
No announcement yet.

Help to script LED color selection

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help to script LED color selection

    Since this is a request for scripting help, I'm repeating this post here from http://board.homeseer.com/showthread.php?t=174211


    I am trying to pick a specific color for a Fibaro RGBW controller. Based on Moskus post (thread ref above), Moskus comments suggest that a script could be written to set a color (that could be run from an event).

    Quoting Moskus: "They are also Controls, so you will be able to find the correct CAPI, and trigger that with a script. First you will need to convert Red, Green, and Blue values to an integer (Dim color as Integer = &HFF0055, where FF is red, 00 is green and 55 is blue), and then find the CAPI for the device with a value matching that color number."

    Can someone provide or point me to a script example to do this??
Working...
X