Skip to content

Disable effects #1262

Open
Open

Description

@samster395

Is your feature request related to a problem? Please describe.
I think it would be good to be able to individually disable each effect if you don't want some to be shown in the list

Describe the solution you'd like
In the settings you could toggle each effect on or off

Describe alternatives you've considered
The only other way I know of doing this is to remove them from the code

Activity

  1. Legsmaniac commented on Oct 16, 2020

    @Legsmaniac

    I'm confused.
    Surely the way to "disable" an effect is to not select it in the first place?

  2. samster395 commented on Oct 16, 2020

    @samster395
    Author

    I'm confused.
    Surely the way to "disable" an effect is to not select it in the first place?

    I mean to hide it from the list, the effects list is huge (not complaining, its great), not everyone wants to scroll through that many effects to get to the one they want, so disabling them means hide them from the list.

  3. Legsmaniac commented on Oct 16, 2020

    @Legsmaniac

    Ah, gotcha. So you'd like a kind of "favourites" list, or a way to favourite the effects you like best. Actually, that's not a bad idea.
    Then again, wouldn't setting them in the Presets the ones you like best be another way round it? I understand there's a new version coming soon with far more presets to use so that might work?

  4. mike2nl commented on Oct 17, 2020

    @mike2nl
    Contributor

    -> So you'd like a kind of "favourites" list,

    That's one of the missing things. Looking at @Aircoookie , haha.
    But it can be solved with the 15 places to save an effect. number 16 is the all in one.

  5. Aircoookie commented on Oct 17, 2020

    @Aircoookie
    Member

    Hi!
    Yes, I too believe the upcoming possibility to save around 100 of your favorite effect configurations will be a good solution to the effect list being a bit long!

    Also on my To Do list is to add extra controls besides Speed/Intensity to combine some effects, reducing the overall count.
    For example, Candle and Multi Candle are the same except that with Multi Candle, every LED flickers independently. That could be consolidated to a single effect with a Multi checkbox. Similarily, the Halloween and Christmas effects are just Running 2 with Orange/Purple and Red/Green colors hardcoded.

  6. changed the title [-]Toggle effects[/-] [+]Disable effects[/+] on Oct 17, 2020
  7. Joshfindit commented on Nov 18, 2020

    @Joshfindit

    Quick question: What's the best way to pull the effects right out of the code?
    I'm running warm white only, so only want a couple.

  8. Aircoookie commented on Nov 18, 2020

    @Aircoookie
    Member

    @Joshfindit it's not that simple since it wasn't made for dynamically removing effects. You'd need to delete all references to the effect in FX.cpp and FX.h and modify the total effect count and the IDs of the effects you do want to keep accordingly.

    What I'd recommend is setting up a preset for each effect you really like and ignoring the rest of them :)
    In 0.11.0 releasing this sunday, you can store a lot more presets and you can even name them to keep track of which preset contains which effect!

    Since you are not the only one who wants to hide some effects entirely (it would also have further benefits, e.g. being able to hide all effects from the list that could lead to photoelepsy), I will look into that. It would be enough to hide them after all, any disabled effect would still be compiled in and accessible via the API :)

  9. added this to the 0.12.0 milestone on Nov 18, 2020
  10. Joshfindit commented on Nov 18, 2020

    @Joshfindit

    @Joshfindit it's not that simple since it wasn't made for dynamically removing effects. You'd need to delete all references to the effect in FX.cpp and FX.h and modify the total effect count and the IDs of the effects you do want to keep accordingly.

    I was worried it might be something like that.
    Thankfully I can live with just the first couple being the only ones, so I just erased all the names that follow those, and they are now unselectable from the UI and HomeAssistant.

    What I'd recommend is setting up a preset for each effect you really like and ignoring the rest of them :)

    That works quite well actually, even after my cheat. Thank you ☺️

    In 0.11.0 releasing this sunday, you can store a lot more presets and you can even name them to keep track of which preset contains which effect!

    !! 🎉!!

    Since you are not the only one who wants to hide some effects entirely (it would also have further benefits, e.g. being able to hide all effects from the list that could lead to photoelepsy), I will look into that. It would be enough to hide them after all, any disabled effect would still be compiled in and accessible via the API :)

    With the cheat I did above, I suspect a shortcut would to track the ID (aka array position) for each name, then selectively remove them from the names array when they are to be hidden

  11. modified the milestones: 0.12.0, 0.13.0 on Apr 6, 2021
  12. JensMKofoed commented on Apr 5, 2023

    @JensMKofoed

    First a many many thanks for the wonderful works with wled. It is a massing at works very well.
    More and more functions are coming into wled and therefore also many more effects. I like the search function where you can filter based on flags but...
    If I have configured wled to only have 1D led strips, it would be great if there where a function to hide effects which are meant for 2D/3D. or a configuration page to enable/disable (hide) effects from the list in the gui

    once again, thanks for a wonderful work
    kind regards
    Jens

  13. blazoncek commented on Apr 6, 2023

    @blazoncek
    Contributor

    @JensMKofoed 2D effects are hidden by default if you properly configured WLED for 1D (default setting) and have most recent code available.

  14. 1 remaining item

  15. CountParadox commented on Oct 31, 2023

    @CountParadox

    Being able to toggle some effects as disabled would be useful in my use case,

    I use home assistant as my control platform, and it's native effects selector uses the wled list, not presets.

    The led on my desk for notifications, has a single pixel... So not many effects work well with it :)

    I can shorten and upload the video if requested...

  16. pollinolas commented on Dec 1, 2023

    @pollinolas

    I also use home assistant to randomly switch between effects, but the API that collects the effects makes a total list without discriminating the 2D ones, which leads to the lights remaining fixed without any type of effect.
    Does anyone know of an option to solve this, without having to make a manual list of effects?
    Greetings and thank you

  17. blazoncek commented on Mar 24, 2024

    @blazoncek
    Contributor
  18. Joshfindit commented on Mar 24, 2024

    @Joshfindit

    @blazoncek and anyone else working on this:

    I think it would be great to have tags/categories like:

    • Respects chosen colour palette
    • Smooth transition between LEDs
    • X bit (specifically for the support of new LEDs with higher bit depth, but might be helpful for lower-bit effects on ESP8266s)
    • Photo Epilepsy
    • Others in future
  19. blazoncek commented on Mar 24, 2024

    @blazoncek
    Contributor

    I'm afraid that may be an overkill.

    Still, WLED supports effect metadata where most of the capabilities and default values are specified. It is accesible via /json/fxdata endpoint.
    HA or any other software may use that to show or hide certain effects depending on capabilities specified in `/json/info'.

  20. Joshfindit commented on Mar 25, 2024

    @Joshfindit

    @blazoncek Sorry, I incorrectly assumed that you were the person behind https://jeffmission.com/wledcss/ and my looping you in on that was to suggest adding those as selections.

  21. modified the milestones: 16.0.0 beta, 17.0 on Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions