Hello - I am new to WLED and wanted to ask the group if you think it is suitable for a project I want to work on. I’ve 3D printed this model of a TNG Warp Core Warp Core v2 by CrazyJ - Thingiverse which used WLED for the blinky blinky. My twist is that I want to use an ESP32 chip and use its Bluetooth LE chip to take power data being pushed by my Wahoo Kicker (bike trainer) and use power level it reports to determine the speed of the pulsing. Basically, the harder I ride, the more I want it to look like I’m flirting with a core breach. I could write the whole thing in Python but retaining the customization of WLED would be nice if I can do it. Looking around the code I’m not seeing any use of Bluetooth so far so do you think I’d be exceeding the capabilities of an ESP32 and/or WLED if I were to spin up a Bluetooth client on another thread and poll it for data? It looks to me like this would involve consuming and parsing about 20-25 bytes of data per second, which seems pretty reasonable.
I’m not quite sure how the author of this project set the “speed” of the lighting effect. I see what look like “delay” keys in his JSON. Assuming that’s how he did it and that I’m able to pull in data from Bluetooth, can a usermod modify the currently running lighting effect to change those delay values on the fly or does WLED have some kind of master “speed” setting that can be changed?
To get an idea of the kind of data coming in, here’s someone that wrote a class for reading Bluetooth Fitness Machine profile values in Python. pycycling/pycycling/cycling_power_service.py at master · dudanov/pycycling · GitHub