Hi…
I recently ended up with some of the new MagicHome controllers that are using a new chip (bl602) and discovered that I can turn them on and off, but couldn’t control brightness. After some messing around in the code I figured out the issue is that these new versions were not being identified as RGBW capable. I found the issue in the core flux_led code but am not sure where or how to submit a pull request since this change is in the original code, not the Home Assistant code. I’d be happy to submit a PR there, but from what I can tell, those repo(s) are dead and no longer maintained. Can someone point me to where I should report the fix needed?
It’s quite simple - just need to add a new identifier for these controllers in the __main__.py
file:
# Devices that don't require a separate rgb/w bit
if (rx[1] == 0x04 or
rx[1] == 0x06 or <======
rx[1] == 0x33 or
rx[1] == 0x81):
self.rgbwprotocol = True
# Devices that actually support rgbw
if (rx[1] == 0x04 or
rx[1] == 0x06 or <======
rx[1] == 0x25 or
rx[1] == 0x33 or
rx[1] == 0x81 or
rx[1] == 0x44):
self.rgbwcapable = True