Hey everyone, just thought I’d share a little project I threw together. I wanted to be able to change between more than 4 presets using the wiz remote, so I modified the firmware to support single, double, triple, 4x, 5x, 6x, and long presses on buttons 1-4. You can see the source code here. Instructions on how to flash the remote can be found there as well.
Just a note, this will break how WLED currently maps button presses, so modification of the remote.cpp file is required.
I’m working on a usermod that will allow the user to easily set the preset mappings from within settings.
Hopefully it’s useful to someone out there!
1 Like
0.15 adds the ability to use JSON file to configure Wiz remotes. It will allow unlimited number of buttons with arbitrary commands.
Instead of reinventing the wheel reuse that and only modify headers if necessary.
Unless I misunderstand how the json file works, you’re still limited to 9 unique buttons on the wiz remote out of the box because the each button sends one unique code that you can then map in the json file, so therefore only 9 actions. This expands the amount of unique codes the remote can send to 33.
While I agree that the json configuration file makes a usermod less useful, I’m creating the usermod with less technically savvy people in mind (haha even though I acknowledge that flashing the remote with new firmware is not for the faint of heart either.) It’s much more convenient for me to hop in the settings and change what preset each button is mapped to, than having to update a json file on my phone.