-
Notifications
You must be signed in to change notification settings - Fork 636
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
Magic Home LED Controller: white channel not independent anymore #1575
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Hey, I think I am missing something, but how exactly can you reproduce it? Yesterday I built a test image (i do not have magichome controller hw), but did not see anything unusual when doing sorry for the delay 🙉 |
You can't see anything unusual in the interface, you have to connect a controller. |
OK. So does that mean it happens when "Use white channel" setting is off? I see one change that removed check for channels >= 3 when applying brightness: Only other change to lights after that was 19d0c5d, but that was merely renaming 'shadow' into 'target' for transitions |
Yes, "Use white channel" setting is off. |
Encoder thing was for the Xiaomi lamp with only WW channels without the RGB part, so to check both color and RGB channel number did not make sense there. IDK what is the right thing to do here. Change useWhite meaning to support ignoring white channel value (aka brightness) when controlling global brightness? Kind-of complicated. |
Also, maybe related to #1292. MQTT brightness is not exposed unless we have RGB channels |
Good question. I think in most chases the current behaviour will fit for most users need. But I also understand the need @hyteoo has. The change would be quit simple. All you need to do is to reduce the loop in espurna/code/espurna/light.ino Lines 149 to 152 in 868d4d5
But what would be the criteria? |
Same problem here. I'm using an H801, RGB+2W. I use the White channels independently from the RGB. But if I set the brightness on RGB, it set on the W too. Also, I need to turn on RGB to turn on the W. |
So something like configurable relay groups could be a useful feature. e.g.: |
That's what I thought initially. How do you believe it should be implemented? |
Start point would be here espurna/code/espurna/relay.ino Lines 105 to 122 in 9ceca44
add a case where dummy relay groups are configured. And from there all the way up till UI implementation and documentation. |
@copyrights, this I already know... 🤣🤣🤣, I'm talking about the way it will work. If it will be configurable or not, would use defines, etc. I'm thinking about creating a relay group define, like:
This will group the first 3 channels and the last 2 individually. This would replace the default What do you think about this approach? I could create a PR. |
@0x3333 ok, sorry for the misunderstanding 😁. I'm definitively no design authority here, but IMHO it should be configurable. There won't be any need for custom builds. |
Sure it should be configurable, but at compile time, as the other features are, including relays. @xoseperez, what do you think? Worth working on it? |
@copyrights The initial idea was to somehow tweak useWhite setting / maybe have another one, but relay grouping should be easier to understand. Otherwise it would be restoring old behaviour (pre 1.13.3, no brightness for white channels). Some light settings already overlap in a surprising ways, but so are use-cases and light setups. @0x3333 it would be appreciated. it would be nice to convert that relay setup part into something more directly configurable, but I am not quite sure what your initial idea was with 311 number. can we use the same numbered definitions approach, LIGHT_RELAY_GROUP1, ...GROUP2, etc. and directly specify required values? (and for easier kv naming, lightRelayGroup0 or something like that) Despite v2 looming over the horizon. it shouldn't be a save-all. Some runtime config improvements can be useful right now, despite build-time settings being the main ones. |
Any update on this? |
I would propose the following simple behavior:
|
This weekend I'll give it a shot, and let you know if it solves my problem. Thanks. |
Using a RGBW controller
As of
1.13.41.13.3, the white channel (channel #3) seems to be connected to the brightness setting.Therefore the RGB and white channel can't be controlled independently anymore.
The text was updated successfully, but these errors were encountered: