-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RGB <-> HSL conversion for lightbulb service #78
Comments
Hi sir, could u please explain what's the correct payloads for the also please consider converting the Currently it still needs extra work in node-red to convert the mqtt topic payload to make homekit2mqtt happy. Thanks sir |
Currently it should work with a string containing a 6 digit hex value for RGB |
I thing is better to include the # in the value, otherwise typeGuess will do a parseFloat for a hex value without letters (ex. 001180 -> float 1180) resulting in a TypeError TypeError: val.substr is not a function |
Oh yes, thanks for pointing that out. Added the '#'. |
No description provided.
The text was updated successfully, but these errors were encountered: