You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
animARTrix not showing in Usermods config despite being visible in "Info" tab #4465
animartix currently relies on a small extension from the MoonModules fork, which allows any usermod to have an "enabled" option without requiring to explicitly implement addToConfig() and readFromConfig().
Yes the effects will show in the list but I thought there will be enable/disable button in the usermod same as in MM but as softhack mentioned it is not there .
@netmindz I think the option to enable/disable in the settings would make sense if you want to remove the effects from the list as there are too many but sure if you think so .It is just the inconstant UI behavior between MM and AC may lead to confusion. This is the only usermod I could see with this behavior but could be others we missed , at least adding a comment in the readme might do .
As it's not included in any of the AC builds, if you don't want the effects, just don't add the usermod surely?
MM has a better way to handle enable/disable for all usermods, but this is isn't present in AC so would need to bring that over really before looking to add optional effect adding to this usermod
@netmindz the "minimal impact solution" would be to simply add the (MM default) functions addToConfig() and readFromConfig() into the AC version of the animartix usermod - plus some minor sugar around it to define the _name and _enabled strings.
I think that having an "enable" checkbox makes sense for the animArtrix usermod.
Activity
dosipod commentedon Jan 8, 2025
Confirmed also from our side on both esp32c3 and classic esp32
softhack007 commentedon Jan 8, 2025
How did you add the animartix usermod? It's not part of the usermods included in the Aircoookie/WLED repo.Sorry my fault - its here, seems that @netmindz has added it a few weeks ago.
softhack007 commentedon Jan 8, 2025
animartix currently relies on a small extension from the MoonModules fork, which allows any usermod to have an "enabled" option without requiring to explicitly implement addToConfig() and readFromConfig().
https://github.com/MoonModules/WLED/blob/79c26db4fab4327813b2362519a0f5104ac035d3/wled00/fcn_declare.h#L311-L318
actually it might be worth bringing this small enhancement to upstream - it allows to simplify usermods that do not need settings other than "enable".
blazoncek commentedon Jan 8, 2025
If a usermod does not have any persistent configuration (i.e. does not implement
addToConfig()) it will not show in settings.netmindz commentedon Jan 8, 2025
Do the effects show in the list? There aren't actually any settings so it should be enabled by default
dosipod commentedon Jan 8, 2025
Yes the effects will show in the list but I thought there will be enable/disable button in the usermod same as in MM but as softhack mentioned it is not there .
netmindz commentedon Jan 8, 2025
In the version in AC the enabled value does nothing at all, so having the option to enable/disable in the settings would make no sense
dosipod commentedon Jan 8, 2025
@netmindz I think the option to enable/disable in the settings would make sense if you want to remove the effects from the list as there are too many but sure if you think so .It is just the inconstant UI behavior between MM and AC may lead to confusion. This is the only usermod I could see with this behavior but could be others we missed , at least adding a comment in the readme might do .
netmindz commentedon Jan 8, 2025
As it's not included in any of the AC builds, if you don't want the effects, just don't add the usermod surely?
MM has a better way to handle enable/disable for all usermods, but this is isn't present in AC so would need to bring that over really before looking to add optional effect adding to this usermod
softhack007 commentedon Jan 8, 2025
@netmindz the "minimal impact solution" would be to simply add the (MM default) functions
addToConfig()andreadFromConfig()into the AC version of the animartix usermod - plus some minor sugar around it to define the_nameand_enabledstrings.I think that having an "enable" checkbox makes sense for the animArtrix usermod.
softhack007 commentedon Jan 8, 2025
re-opring as an enhancement.