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 support of dual white/cct led strips (H801) #695
Comments
The current RGBW implementation isn't that good either. I've enabled this setting in the webinterface: And when I set it in the espurna webinterface to perfect white it'll disable the RGB strip but if it isn't perfectly white it will still show the RGB strip at 100% brightness. @xoseperez You need to convert the RGB value in the webinterface to a RGBW value. Here is a example code in python: It is basically get the lowest number and subtract it from all numbers and use it as white value. |
Okay just testing with H801 via MQTT in Home Assistant and IMO the And the white value must be extracted from the RGB value and when you have the white color value then you can easily calculate the color temperature to set W1 between 0-255 and W2 between 0-255. I can help you with the maths if you want :P |
The icing on the cake would be to "abuse" controllers with more than 4 channels (e.g. H801) to use 2 cct strips at once (2x warm white, 2x cold white). I'd definitely help, but unfortunately I can't program c. |
@soprater |
@Skaronator I mean like receiving color temperatures on 2 different topics (think it's in mired from HA) |
#754 |
Hi there,
thanks for your awesome work!
I wanted to use your firmware to control my cct led strips (24V+, CW, WW) with the H801.
When working with Home Assistant (MQTT) I can only work with the color_temp_command_topic when under Lights>Use color is enabled. Unfortunately the values are getting sent on Channel 0/1/2 (RGB) and it would be nice to have a feature to get the values for Cold White and Warm White (on 2 channels).
Example:
Cold White/Channel 1: 255
Warm White/Channel 2: 0
The text was updated successfully, but these errors were encountered: