I’ve found an issue that seems to occur if I send multiple JSON API calls in quick succession. For instance, I am using a Zigbee rotary dimmer and Node Red to set the brightness of my WLED install. As I rotate the dimmer it sends 1 JSON API call every 250ms to update the master brightness.
The system has two segments. Seg0 is turned on, and Seg1 is turned off. When I make these rapid API calls, the first LED of Seg1 often flickers on and off as I rotate the dimmer. I’m guessing that each subsequent API call interrupts the transition currently in progress, causing the flicker.
Is there any guidance on how quickly / slowly I should be making sequential API calls?