Skip to content

animARTrix not showing in Usermods config despite being visible in "Info" tab #4465

Open

Description

@twintersx

What happened?

Mod is not visible in Usermods config despite being visible in Info tab
IMG_5023
IMG_5022

To Reproduce Bug

Add usermod build_flag -D USERMOD_ANIMARTRIX
Uncomment library dependency ;https://github.com/netmindz/animartrix.git#18bf17389e57c69f11bc8d04ebe1d215422c7fb7

Expected Behavior

usermod header and checkbox should be visible in Usermod config

Install Method

Self-Compiled

What version of WLED?

WLED v0.16.0-alpha

Which microcontroller/board are you seeing the problem on?

ESP32, ESP32-C3

Relevant log/trace output

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. dosipod commented on Jan 8, 2025

    @dosipod
    Contributor

    Confirmed also from our side on both esp32c3 and classic esp32

  2. softhack007 commented on Jan 8, 2025

    @softhack007
    Member

    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.

  3. softhack007 commented on Jan 8, 2025

    @softhack007
    Member

    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".

  4. added
    confirmed
    on Jan 8, 2025
  5. blazoncek commented on Jan 8, 2025

    @blazoncek
    Contributor

    If a usermod does not have any persistent configuration (i.e. does not implement addToConfig()) it will not show in settings.

  6. self-assigned this
    on Jan 8, 2025
  7. added this to the 0.15.1 candidate milestone on Jan 8, 2025
  8. netmindz commented on Jan 8, 2025

    @netmindz
    Member

    Do the effects show in the list? There aren't actually any settings so it should be enabled by default

  9. dosipod commented on Jan 8, 2025

    @dosipod
    Contributor

    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 .

  10. netmindz commented on Jan 8, 2025

    @netmindz
    Member

    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

  11. dosipod commented on Jan 8, 2025

    @dosipod
    Contributor

    @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 .

  12. netmindz commented on Jan 8, 2025

    @netmindz
    Member

    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

  13. softhack007 commented on Jan 8, 2025

    @softhack007
    Member

    @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.

  14. softhack007 commented on Jan 8, 2025

    @softhack007
    Member

    re-opring as an enhancement.

  15. modified the milestones: 0.15.2, 0.15.3 on Nov 8, 2025
  16. modified the milestones: 0.15.4, 0.15.5 on Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

confirmedenhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions