# Controlling alternate Segments configurations

**URL:** <https://wled.discourse.group/t/controlling-alternate-segments-configurations/1183>\
**Category:** Questions\
**Created:** [October 31, 2020, 1:39pm UTC](https://wled.discourse.group/t/controlling-alternate-segments-configurations/1183 "2020-10-31T13:39:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![picturemil](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@picturemil](https://wled.discourse.group/u/picturemil)\
**Post date:** [October 31, 2020, 1:39pm UTC](https://wled.discourse.group/t/controlling-alternate-segments-configurations/1183/1 "2020-10-31T13:39:41Z")

</div>

Hi. New to WLED, and loving it! But I am confused about segments. Setting them as desired and retaining a config between reboots. I have a strip where I want to mainly have all LEDs illuminated- but in other circumstances I want 75% of them set to off/black. I can achieve this easily enough by editing a segment. I can retain that set up by saving to present 16. But then how can I return to 100% on? I have lost slot 16 so have nowhere to save a different segment configuration. Any tips on achieving what seems to be a fairly simple requirement? One last thing… why does WLED wipe any changes to segments? It returns to just Segment0. Thsnks!

---

<div class="post-metadata">

**Author:** ![easp](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/easp/32/492_2.png) [@easp](https://wled.discourse.group/u/easp)\
**Post date:** [October 31, 2020, 6:05pm UTC](https://wled.discourse.group/t/controlling-alternate-segments-configurations/1183/2 "2020-10-31T18:05:11Z")

</div>

I think the short answer is that you can’t, yet. Only one slot, slot 16, is capable of saving segments. You can save your baseline configuration there, then make changes, and then revert to baseline. This is obviously a shortcoming. My understanding is that there are plans to address it, but progress comes when people have time. So, it’ll be done when it’s done.

---

<div class="post-metadata">

**Author:** ![picturemil](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@picturemil](https://wled.discourse.group/u/picturemil)\
**Post date:** [October 31, 2020, 10:02pm UTC](https://wled.discourse.group/t/controlling-alternate-segments-configurations/1183/3 "2020-10-31T22:02:57Z")

</div>

Understood. Thanks kindly for clarifying.

---

<div class="post-metadata">

**Author:** ![picturemil](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@picturemil](https://wled.discourse.group/u/picturemil)\
**Post date:** [November 12, 2020, 8:56am UTC](https://wled.discourse.group/t/controlling-alternate-segments-configurations/1183/4 "2020-11-12T08:56:30Z")

</div>

Just following up on this. I was asking originally because I assumed presets would be the answer to the sort of versatility I desired. I’m a newbie, so took me a few more days/weeks with WLED to discover the wonderful [HTTP request API](https://github.com/Aircoookie/WLED/wiki/HTTP-request-API) functionality. I’m a Home Assistant user and ultimitely that was where I was going to be switching from ALL to 75% segments on. It was fairly straightforward setting up some automations that when triggered control an mqtt.publish service call that edits the `S2` (Set segment stop) value.

Here is snippett that might help somebody else…

```auto
automation:
  - id: '1604883153000'
    alias: 'WLED-ONE Segments 50 percent'
    trigger:
    - platform: state
      entity_id: input_boolean.spiral_segments
      to: 'on'
    condition: []
    action:
    - service: mqtt.publish
      data_template:
        topic: wled/wled_one/api
        payload: "S2=130"

```

WLED rocks!
