Skip to content

Feature Request: SOS Morse blinking effect #5876

Done

Description

@gon0

Problem: I would like a visual warning, that can be seen from outside in case an intruder has entered the building. I have no siren, so neighbours could at least be notified visually

The solution you'd like

A new Effect, that flashes SOS in morse.

Alternatives you've considered

When switching the light on and off via home assistant automation, lags might cause a not correct morse representation

Additional Context

To blow this feature request up and to make it more universal, this could be extended to a "morse" feature. So letters are wntered and the letters are then morsed via lights.

Activity

  1. changed the title [-]Featire Request: SOS Morse blinking effect[/-] [+]Feature Request: SOS Morse blinking effect[/+] on Sep 30, 2026
  2. Aircoookie commented on Sep 30, 2026

    @Aircoookie
    Member

    Thank you for the great enhancements idea!

    I would like to add that while I think an SOS effect would be useful, I would implement it as part of a Morse effect where the pattern in which the lights flash correspond to the characters in the segment name. SOS could be a viable default if no segment name is set.

  3. DedeHai commented on Sep 30, 2026

    @DedeHai
    Collaborator

    There already is a morse code FX, maybe @BobLoeffler68 is willing to extend it?

  4. BobLoeffler68 commented on Sep 30, 2026

    @BobLoeffler68
    Contributor

    @gon0 As DedaHai mentioned, I created a Morse Code effect and it's in version 16.0 It's in the new user-fx usermod and is a 1D effect, not 2D. It can do what you want, except for flash the morse codes. The current behavior is to just scroll the morse codes across the LED strip. Create a preset for it where the color would be red (or whatever color you want), the palette would be "* Color 1" (to use the red color you selected), use the default effect settings, use your default segment settings (but enter "SOS" or "S O S" into the segment name), and then save the preset. Try it and see if that is good enough.

    If you need the codes to flash, I can look into that. And if they need to flash, I don't think the scrolling would look good, so I would also need to stop the scrolling (so they would all be stationary while flashing). Let me know.

  5. Aircoookie commented on Sep 30, 2026

    @Aircoookie
    Member

    @BobLoeffler68 thanks! I haven't looked at your implementation in detail, but potentially, flashing might actually work right now if you set the segment Grouping to the total number of LEDs in the segment (exposing just a single LED to the effect)

    In any case I believe the morse effect (both in a scroll and flash mode, e.g. selectable by checkbox) to be useful enough to be added as a core effect. What do you think @DedeHai ?

  6. DedeHai commented on Sep 30, 2026

    @DedeHai
    Collaborator

    @BobLoeffler68 I think the idea is for the full segment to flash, just like you would do with a flashlight. Maybe that can be done if the segment length is a single pixel? Or use a checkmark?

  7. BobLoeffler68 commented on Sep 30, 2026

    @BobLoeffler68
    Contributor

    Hi @Aircoookie and @DedeHai You are both correct! Making the whole segment act like a single pixel by setting the Grouping value to the total number of LEDs, and setting the segment name to "SOS" does exactly what @gon0 wants (and without scrolling). So, updated instructions are:

    Create a preset for the Morse Code effect where the color would be red (or whatever color you want), the palette would be "* Color 1" (to use the red color you selected), use the default effect settings, use your default segment settings (but enter "SOS" into the segment name, and set the value of Grouping to the total number of LEDs), save the segment changes, and then save the preset. Then, select the preset if you are in trouble and hope your neighbors know morse code. :-)

  8. BobLoeffler68 commented on Sep 30, 2026

    @BobLoeffler68
    Contributor

    @BobLoeffler68 thanks! I haven't looked at your implementation in detail, but potentially, flashing might actually work right now if you set the segment Grouping to the total number of LEDs in the segment (exposing just a single LED to the effect)

    In any case I believe the morse effect (both in a scroll and flash mode, e.g. selectable by checkbox) to be useful enough to be added as a core effect. What do you think @DedeHai ?

    I know that @DedeHai is worried about the max number of effects in the list, but this one could actually help people if they are in trouble (intruder, medical emergency, etc), so maybe making it a core effect would be a good idea.

  9. gon0 commented on Oct 1, 2026

    @gon0
    Author

    Hi @Aircoookie and @DedeHai You are both correct! Making the whole segment act like a single pixel by setting the Grouping value to the total number of LEDs, and setting the segment name to "SOS" does exactly what @gon0 wants (and without scrolling). So, updated instructions are:

    Create a preset for the Morse Code effect where the color would be red (or whatever color you want), the palette would be "* Color 1" (to use the red color you selected), use the default effect settings, use your default segment settings (but enter "SOS" into the segment name, and set the value of Grouping to the total number of LEDs), save the segment changes, and then save the preset. Then, select the preset if you are in trouble and hope your neighbors know morse code. :-)

    Thank you! Since the implementation is not urgent for me, I'll see if an easy-to-use effect is implemented anytime soon.

    In my scenario, there a 3 segments. E.g. for the "Heartbeat" effect, all 3 segments are used together for an increased light output. I would use the same configuration for "SOS".

  10. BobLoeffler68 commented on Oct 2, 2026

    @BobLoeffler68
    Contributor

    Thank you! Since the implementation is not urgent for me, I'll see if an easy-to-use effect is implemented anytime soon.

    In my scenario, there a 3 segments. E.g. for the "Heartbeat" effect, all 3 segments are used together for an increased light output. I would use the same configuration for "SOS".

    I just created a 16.0.1 binary using the WLED Discord bot for the esp32dev environment that has the user_fx usermod. If you have an ESP32, you can try it as it has the Morse Code effect: https://discord.com/channels/473448917040758787/766627051100307477/1555461604760363038

  11. DedeHai commented on Oct 2, 2026

    @DedeHai
    Collaborator

    @Aircoookie the morse code FX is vibe coded and IIRC eats quiete some flash, the user fx do not have as strict restrictions in that regard. I also did not consider it widely useful, if you think otherwise we can bring it to core after a thorough review and optimization

  12. DedeHai commented on Oct 10, 2026

    @DedeHai
    Collaborator

    I had a look at this and had claude optimize the sh*t out of it. So now it is a lot less readable but compact, I did fully review it and it makes sense.

    The original uses 1.5k of flash and 1.2k of RAM, my optimized version uses 750bytes of flash and 150bytes of RAM, the resulting effect is identical. I still want to make some actual adjustments to the effect, also the request from this PR needs to be added into it.

  13. BobLoeffler68 commented on Oct 10, 2026

    @BobLoeffler68
    Contributor

    The original uses 1.5k of flash and 1.2k of RAM, my optimized version uses 750bytes of flash and 150bytes of RAM, the resulting effect is identical. I still want to make some actual adjustments to the effect, also the request from this PR needs to be added into it.

    SWEET!!!!!! Thanks DedeHai.

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions