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
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.
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.
@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.
@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 ?
@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?
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. :-)
@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.
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".
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".
@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
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.
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.
Activity
[-]Featire Request: SOS Morse blinking effect[/-][+]Feature Request: SOS Morse blinking effect[/+]Aircoookie commentedon Sep 30, 2026
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.
DedeHai commentedon Sep 30, 2026
There already is a morse code FX, maybe @BobLoeffler68 is willing to extend it?
BobLoeffler68 commentedon Sep 30, 2026
@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.
Aircoookie commentedon Sep 30, 2026
@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 ?
DedeHai commentedon Sep 30, 2026
@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?
BobLoeffler68 commentedon Sep 30, 2026
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. :-)
BobLoeffler68 commentedon Sep 30, 2026
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.
gon0 commentedon Oct 1, 2026
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".
BobLoeffler68 commentedon Oct 2, 2026
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
DedeHai commentedon Oct 2, 2026
@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
DedeHai commentedon Oct 10, 2026
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.
BobLoeffler68 commentedon Oct 10, 2026
SWEET!!!!!! Thanks DedeHai.