I’m doing a QLC+, LEDfx and WLED project in which I mix standard DMX fixtures and ESP8266 WLEDs.
These latest ESP8266 work very well either in E1 .31 for QLC+ or on LEDfx, everything is OK.
I am looking for a solution allowing me to switch from QLC+ to LEDfx and vice versa without rebooting the ESPs and the software.
Anyone have a solution? either by a button, or by a macro or any other means.
To switch from LEDfx to QLC+, in LEDfx I have to turn off each of the devices one by one then go to QLC+ to activate the E1.31 output assigned to all the ESP8266 WLEDs.
Similarly, to switch from QLC+ to LEDfx, I stop the E1.31 output then I return to LEDfx and apply the current effect to all devices.
What would be acceptable:
LEDfx permanently connected on all WLED devices and the E1.31 output of QLC+ deactivated.
In this case it is LEDfx which controls the devices.
Conversely, to switch to QLC+ I activate the E1.31 output, to return to LEDfx I deactivate it.
you could run your WLED in two configurations with the only difference being the E1.31 universe.
you would then choose the software to control your WLED by setting the appropriate universe.
this might even be automated by using curl or a bookmark.
since current WLED is now using config files instead of EEPROM, there might be a feature in future to load configs.
I don’t see this as a WLED issue. Basically whatever program locks onto them through E1.31 is going to be in control. I don’t think there is much you can do w/out killing the link between the program and WLED and then ‘connecting’ with the other program. Sure you may be able to break the link by toggling WLED settings or something but you would still need to connect from your program after.
I return to this thread to announce that I have found a way to switch between QLC+ and LEDfx without having to turn off one of them.
After some research in the source code of WLED, it was enough to complete the list of DMWmode, to implement specific code for my needs. (To be continued…)
In LEDfx mode, I do not process any data received.
LEDfx uses the E1.31 protocol to encapsulate DMX frames.
These have a maximum of 512 channels which gives for LEDfx a maximum of 170 RGB LEDs (or 128 RGBW LEDs).
Personally I use matrices of 8x32 = 256 LEDs.
In order to avoid black holes on the matrices, the algorithm in LEDfx mode addresses all 256 LEDs. It adapts according to the real number of LEDs.
I duplicate the data of the first LEDS on the complementary ones.
Now I am able, on two PCs, to run VirtualDJ which drives QLC+ on the 2nd PC. On this 2nd PC also runs LEDfx which receives the audio stream from VirtualDJ.
QLC+ drives several lights (moving heads, ParLED, scan, …) and now 8x256 LED matrices (12 home-made copies) that I can switch between my QLC+ lights show and LEDfx to be sensitive to the sound of music.
It was my deal.
If some of you wish to have information to achieve this type of configuration, you can use this topic to ask me questions.
If anyone knows the procedure for posting photos or files on the forum, I’m all ears.