Aircoookie / WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
https://kno.wled.ge
MIT License
14.64k stars 3.15k forks source link

Usermod installation + web based flash tool #4155

Open Gittegatt opened 2 days ago

Gittegatt commented 2 days ago

Hello, usermods are very popular to unleash the full ability spectrum of WLED. ♥ In order to 'easify' the installing process of WLED with a specific usermod, may it possible to implement the feature of combining the installation of WLED + usermods avoiding to do a text-based choice of the usermods in the listfile and the self-compilation?

Users could do a usermods choice e.g. with a checkbox during the installation via the web based flash tool https://install.wled.me ? That would make it more user-friendly.

This solution request has been already posted by @henrygab on a post at wled.discourse.group

Furthermore I faced the issue to be unable to update this self-compiled version with a usermod via the OTA built-in updater. Message: Update failed! Please check your file and retry! But I guess this corresponds by using the self-compiled one. If yes, may it possible to make the OTA update possible?

Thank you, hats off and regards.

DedeHai commented 1 day ago

That is a great idea, we are currently just lacking someone who will write the code and test it across all systems and versions.

blazoncek commented 1 day ago

Unfortunately usermods are written in C++ and need to be compiled during WLED compilation. This means that if you want certain combination of usermods, all of those need to be compiled at the same time, producing a binary with them included.

There are over 60 usermods so the available combinations are virtually endless. Hence it is not possible to do what you request to have as many binaries as there are combinations.

We have considered the option to include most requested usermods in "standard" installation but no verdict has been achieved yet.

Gittegatt commented 1 day ago

Okay, so if this is such a unmanageable thing, I can imagine and understand this is too big.

Regards.

netmindz commented 1 day ago

You might want to check out this tool that lets you do custom builds where you can select which usermods to include

https://wled-compile.github.io/