Skip to content
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

add colorpicker to Web-UI #6984

Merged
merged 5 commits into from
Nov 21, 2019
Merged

add colorpicker to Web-UI #6984

merged 5 commits into from
Nov 21, 2019

Conversation

Staars
Copy link
Contributor

@Staars Staars commented Nov 21, 2019

Some users asked for the possibility to control color lights outside of a home automation system. This PR adds a small color picker/slider to the Web-GUI.

The main goal was to keep this as tiny as possible with a slight amount of responsiveness. It should show up automatically for devices configured for color lights.

This adds 756 bytes of program space.

@ascillato
Copy link
Contributor

Tested and works! 👍

@jziolkowski
Copy link
Contributor

It was tested by 2.5 and 7.5yo at our home and the verdict is "Absolutely great!"

@Staars
Copy link
Contributor Author

Staars commented Nov 21, 2019

It looks like that:
colorpicker

@ascillato
Copy link
Contributor

On a NodeMCU with a relay and a WS2812B Led Strip, it looks like:

image

@arendst arendst merged commit e838a76 into arendst:development Nov 21, 2019
arendst added a commit that referenced this pull request Nov 22, 2019
Add colorpicker to WebUI by Christian Staars (#6984)
@ihavenonick
Copy link

ihavenonick commented Nov 27, 2019

This is a Magic Home RGBW and i miss a Slider for real white color. its onli a Slider for RBG an not for white. I use IOBroker and there are data points for white an a dimmer also.
Its not posilble to control color white with the webinterface, only wjth IOBroker over MQTT.
grafik

I uses this template for RGBW stripe:
{"NAME":"MH-RGBW","GPIO":[255,255,255,255,255,38,255,255,37,39,0,40,255],"FLAG":15,"BASE":18}

@Staars
Copy link
Contributor Author

Staars commented Nov 27, 2019

We are still in the process of finalizing the things.
Keep in mind, that Tasmota uses a HSB-color-model and NOT HSL internally. So the creation of white needs desaturation.
Please be patient and wait for the new WIKI entry, which will likely be delayed a bit, because the whole WIKI gets a new technical base. This will take a bit longer than usual.

@ihavenonick
Copy link

OK, it means something is coming for white?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants