-
Notifications
You must be signed in to change notification settings - Fork 12
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
Consume similar payloads to Neopixel LED packets #39
Comments
Can you describe what you would imagine a Neopixel like LED node would look and behave like? |
From the GUI side of things, just the same as the now existing ui_LED. It would only need 1 input (the power pins are a given) You would send it a message with the RGB values from 0 - 128, as per the NexPixels, and it would display that value. Alas it would go away from accepting names for colours, so maybe it may be better it is a whole new node as I do use colour names when I configure the existing ui_LED node. Maybe - rather than sending it NeoPixel packets - you could send it a message something like: msg.payload = {N: (value),R: (value), G: (value), B: (value)}; Where N is the number of the LED in the string. |
Hey @Just-another-pleb ! Adding support for a string of chained, indexed nodes feels like it adds complexity past a simple LED node's need. However if there is enough interest I could see an additional node that arranges, chains and indexes LED nodes how you're describing! |
Thanks for the replies. Ok, I agree with most of what you say. That leads me to a "new" idea: Rather than add all this extra dependency on the other library, make a new node. That way if the people are happy with the LED node as is, all is good. If they want to add brightness, they install the new node and put it just before the LED. That way the "sacrifice" of all the extra stuff is only done if needed. |
Yea, I agree! I'll think it over more and see if something clear comes through. |
Although getting away from a "simple" LED, the NEOPIXELs are popular.
For people wanting to simulate a Neopixel LED, adding that to the LED would/may/could be nice.
The input would be the same as the NeoPixel LEDs so as to maintain a standard so any code could easily be ported to the real ones.
The text was updated successfully, but these errors were encountered: