Hello, all. I have a weird situation; the analog LED strip I have has the blue and green leads switched, so when the wifi controller goes to blue it turns green and visa versa. Is there any way to fix this problem with HASS via the configuration page or am I stuck to just physically manipulating the connections?
Okay, I am slowly fixing my own issues by modifying the underlying flux_led package.
The first step is to change the setRgb function; I flipped the msg.append functions on lines 703 and 704, sending b before g. This sends the colors correctly, but you then need to change getrgb or it will give you the wrong colors; I just flipped green and blue.
I believe additional modification is necessary for setCustomPattern.
You’ll need to delete the pycache so that python will recompile the package.
had the same problem with my cheap led strip (switched green and blue actually a BRG led strip). i flashed the controller with an alternative firmware:
this firmware lets you switch pins, here:
Thanks, I need to just go ahead and do this. I’ve mostly just learned to live with it, but I know the best solution would be to just flash the custom firmware and rerwrite it as necessary. I appreciate the code! Is it a major pain to do the reprogramming? I haven’t soldered in years so I’m a little worried about screwing up the board.
i’m pretty bad at soldering but i managed. the connection point on the board are pretty big, so it’s doable. once you got the new firmware on the board, OTA firmaware updates can easily be done from the arduino iDE, if you need further fiddling or experimenting.