How can I change the color of a Color Switch? #290
-
Hi, I hope someone has a tip for me. I just can't get any further with this. I only want to set a color to my Color Switch (f.e. hexColor). API: CCAPI In the Parameter Definition I find:
But what is "ColorSwitchCCSetOptions" and how I can set this in the ZWave CMD Factory? Thanks a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I found this:
?!?! |
Beta Was this translation helpful? Give feedback.
-
Hi @normanth For that, you will use something like the bellow
The
The params are an array, of any object (based on the CC/Method being executed) But, to be honest you should really be using the ValueAPI, as its superior to the CC API |
Beta Was this translation helpful? Give feedback.
Hi @normanth
For that, you will use something like the bellow
The
Params
input supportsJSOnata
. -so you can pass in a msg property for the colour alsoThe params are an array, of any object (based on the CC/Method being executed)
But, to be honest you should really be using the ValueAPI, as its superior to the CC API