genielabs / zwave-lib-dotnet

Z-Wave Home Automation library for .NET / Mono
Apache License 2.0
63 stars 37 forks source link

Color Switch Command #37

Open mykebates opened 5 years ago

mykebates commented 5 years ago

Sorry for what is probably a silly question. How would one issue a color switch command(to change the color of an Aeotec Gen 6 multi-color bulb)? I see there is not a specific class for it. Any specific suggestions on how to do this? Asking at the front end of my search and tinkering efforts, so I will post back here if I find a route. Otherwise I'd welcome any tips :)

Thanks!

Bounz commented 5 years ago

Hi, Myke! Yes, COLOR SWITCH command class is not implemented in zwave-lib-dotnet yet. You can find references for this command class and implement it using other command classes as reference. Here is some reference documentation available: https://www.silabs.com/documents/login/miscellaneous/SDS13781-Z-Wave-Application-Command-Class-Specification.pdf You can find values of constants here: https://www.silabs.com/documents/login/miscellaneous/SDS13548-List-of-defined-Z-Wave-Command-Classes.xlsx