@Fjux Please also note the Color Slider has not received any votes yet!
-
Implement Color Slider for Milight RGBW LEDs
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Just voted. I really cant wait for a colorslider in the mobile frond end. If its available i want to add it to the mysensors plug-in. All the colorslider needs to do is getting a hex color code.
-
@sweebee Thanks for up-voting. Apparently we need different flavors of the color slider:
- Milight Color Slider for the 255 color presets following the Milight color circle
- RGB Color Slider
- 32 color slider for the 433 Mhz LED RF requested by @lcf_m
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@mwittig said:
@sweebee Thanks for up-voting. Apparently we need different flavors of the color slider:
- Milight Color Slider for the 255 color presets following the Milight color circle
- RGB Color Slider
- 32 color slider for the 433 Mhz LED RF requested by @lcf_m
isn’t it easyer to create 1 complete colot slider, but perhaps with an option to calculate how much colors the device can handle?
Even if it is only an option set in a plugin?Or perhaps make it normal RGB, but for 255 colors, let the plugin calculate the closest RGB value it actually can display.
Or do you want to make complete different designs for those 3?
-
@Fjux I think the color slider should be as simple as possible. As it is possible to set a scale for the normal slider (min and max value) the different color sliders can be defined via css. The slider animation however is different as it maps slider value to a color which depends on the color model of the underlying device. However, rather than doing an animated slider it is probably fancy enough to use a color scale background suitable for the underlying device (can be set via css).
With respect to RGB it is questionable whether or not it make sense to select the full range of RGB color values using the slider. I think it is better to use the HSV or HSB color circle and set the hue degree on the circle (360 color values). I think this is basically what the slider as part of the color picker (as part of pimatic-led-light) is doing. The rest of the color rendition is brightness (or value) and saturation (x and y axis of the color picker)
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
The best option is to retrieve the rgb value, eg 255.14.130. This is easy to calculate to different values for devices.
-
Is there any progress on this? I am planning to build a plugin for an Blinkstick Pro and need an colorpicker.
-
@tester22 Yes, but slowly as my time is limited right now
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@mwittig I made some changes to piratic-led-light so it supports blinkstick now: https://github.com/tester22/pimatic-led-light So from my point of view this is enough for me.
-
@tester22 Great. So, I guess you are happy with RGB color picker as provided with pimatic-led-light.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law