I am fairly new to WLEd and I am struggeling to get the multi_relay usermod on my wemos d1 (esp8266).
I tried to compile it according to https://github.com/Aircoookie/WLED/tree/main/usermods/multi_relay using the build flag in my platformio.ini . I can compile without errors but after uploading the compiled firmware it is not working at all (no connection to board and using the web installer there is only the option to install new).
If for some reason you can not or it does not work then reply and i will create a bin and post it on gh , i do not have a board with relays to test though
I tried with your instructions but the compilation failed with this error:
...
Compiling .pio\build\custom_build\src\wled00.ino.cpp.o
Linking .pio\build\custom_build\firmware.elf
c:/users/lab/.platformio/packages/toolchain-xtensa/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: .pio\build\custom_build\firmware.elf section `.text1' will not fit in region `iram1_0_seg'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\custom_build\firmware.elf] Error 1
Would be nice if you can supply me with an ideo how to resolve thi or just a bin file!
Unfortunately compiling multi-relay for esp8266 on gh also fails for me and i do not have access to local vsc to tinker further at the moment , Might be wait a bit for others to help . @srg74 or @wladi_wled could tell as this is above my pay grade
I installed you bin and it worked flawlessly!
The setup I imagined also works. I now can use the relay method to play a sound file whe a certain preset is used.
I will try the Github method just to know if it works for me.
Github compile will not work for esp8266 but will work just fine for esp32 , , i think akriss has an updated libraries on his vsc so you need to also make sure you vsc is updated .
I don’t know what the hell plaformio did. But today It is not compile. no changes made to any files nor setting. It just throws the same error as compiling on github.
platformio is a strange schizophrenic beast.
edit:Also tried the github compile, and it’s still failing, but Adding
Works. However the firmware well not work after a fresh flash. I can’t access the module after setting wifi
Hello, Even I am facing same issue when I am compiling a custom usermod for we mos d1 mini board.
Usermod used: usermod_v2_rotary_encoder_ui
Board: d1 mini.
Version:14.0
Error:
c:/users/rudra/.platformio/packages/toolchain-xtensa/bin/…/lib/gcc/xtensa-lx106-elf/10.3.0/…/…/…/…/xtensa-lx106-elf/bin/ld.exe: .pio\build\d1_mini\firmware.elf section .text1' will not fit in region iram1_0_seg’
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\d1_mini\firmware.elf] Error 1
=============================================================== [FAILED] Took 27.73 seconds ===============================================================
Environment Status Duration
The terminal process “C:\Users\rudra.platformio\penv\Scripts\platformio.exe ‘run’” terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
I tried using this flag -D PIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48
after this the code compiled but wled was not working even wifi AP was not showing up.