Adorkable / node-red-contrib-ui-led

A simple LED status indicator for the Node-RED Dashboard
MIT License
16 stars 12 forks source link

Another suggestion for the LED #40

Closed Just-another-pleb closed 5 years ago

Just-another-pleb commented 5 years ago

(I hope I am doing this right)

Without wanting to make it too complicated:

4 (5 actually?) levels of "brightness" for the LED. I'll pick 4 as I am trying to keep it practical and a base of 2 (to maybe help with byte optimisation) 8 would be too many. 2 would be a bit too few. 4 seems like a good choice.

Levels would be (something like): 5 - FULL 4 - NOT QUITE FULL 3 - MEDIUM 2 - NOT SO DULL 1 - DULL 0 - OFF

Names are nominal. Just to explain for people to get the idea.

I know LEDs are usually ON/OFF indications. But sometimes it may be nice to have different brightnesses. (?)

Either for dark screens/modes or to act as a progress indicator with how bright the LED is.

I know this could be done with colours. But sticking to their names: (eg) red, green, blue, lime, yellow, (etc) you send a message with the brightness of the LED. FULL/MAXIMUM is the default.

Only a suggestion.

yoiang commented 5 years ago

Hey @Just-another-pleb ! Thank you for more suggestions! You accidentally made a Pull Request rather than a new suggestion issue, please visit https://github.com/Adorkable/node-red-contrib-ui-led/issues to create a suggestion!