-
Notifications
You must be signed in to change notification settings - Fork 2
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
Input output questions #2
Comments
Hi, sorry for my late reply. I took a break from all coding stuff ... can you please test version 0.0.4 (from github) Please send input of as color temperature = this version uses a patched chroma.js version to handle color temperatures from 1000 to 2000k. Not finally tested. |
No dice. msg.payload.temperature produces Input not supported. msg.payload with a value of 3850 produces rgb(0,15,10) or #000f0a which should be more like rgb 255,202,158. |
I’m clearly doing something wrong here…
I’ve tried to check out the examples and tweaked the input accordingly, however everything I’ve tried fails or doesn’t seem to line up/be correct.
I’m trying to insert a temperature, as of my current test 3400, which should be warm/orange ish however it’s returning hex 000d48. The hex changes if I input the same as a string or an integer. Last try was sending the value as msg.payload.
What’s the correct way to get the right value?
The text was updated successfully, but these errors were encountered: