# Single segment turned off → no way to turn it back on from the web UI (power toggle hidden)?

**URL:** <https://wled.discourse.group/t/single-segment-turned-off-no-way-to-turn-it-back-on-from-the-web-ui-power-toggle-hidden/15560>\
**Category:** Issues\
**Created:** [October 18, 2026, 5:22pm UTC](https://wled.discourse.group/t/single-segment-turned-off-no-way-to-turn-it-back-on-from-the-web-ui-power-toggle-hidden/15560 "2026-10-18T17:22:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jose1711](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/jose1711/32/10694_2.png) [@jose1711](https://wled.discourse.group/u/jose1711)\
**Post date:** [October 18, 2026, 5:22pm UTC](https://wled.discourse.group/t/single-segment-turned-off-no-way-to-turn-it-back-on-from-the-web-ui-power-toggle-hidden/15560/1 "2026-10-18T17:22:57Z")

</div>

Hi all,

I ran into something confusing and wanted to check whether it’s intended behavior or a bug worth reporting.

**Symptom**  
My strip stayed dark and nothing I changed in the UI (effect, color, palette) had any visible effect, even though global power was on. `/json/state` showed the cause: global `"on":true`, but the only segment was off:

```json
"on": true, "bri": 177,
"seg": [{ "id": 0, "start": 0, "stop": 150, "on": false, "bri": 255, ... }]

```

The Segments tab only shows the (un)Freeze icon and the segment name. There is no ⏻ toggle, not even when the segment is expanded. I had to turn it back on through the JSON API:

```auto
curl -X POST http://<ip>/json/state -d '{"seg":[{"id":0,"on":true}]}'

```

**What I found in the code**  
`wled00/data/index.js`, `populateSegments()` (the same code is in 0.15.3, v16.0.1 and `main`):

```js
if (segCount < 2) {
    gId(`segd${lSeg}`).classList.add("hide"); // hide delete if only one segment
    if (parseInt(gId("seg0bri").value)==255) gId(`segp0`).classList.add("hide");

```

So with a single segment at bri 255, the whole segment power/brightness row is hidden, and the check doesn’t consider whether the segment is on. I understand why the row is hidden (global controls are enough with one segment), but when that segment is off, the UI offers no way to recover.

**Reproduce**

```auto
curl -X POST http://<ip>/json/state -d '{"on":true,"seg":[{"id":0,"on":false,"bri":255}]}'

```

Then open the UI → Segments: the strip is dark and there’s no control to turn segment 0 back on.

**How the segment got turned off**  
I don’t know for sure. Several clients control this WLED:

- Home Assistant (WLED integration)
- Hyperion (ambilight with Kodi, WLED device in realtime/UDP mode)

My guess is Hyperion, since its WLED device can switch segments on and off and restore state when streaming starts or stops, but I haven’t confirmed it. Has anyone seen Hyperion or HA leave a segment `on:false` like this?

**Questions**

1. Is hiding the segment power row in this situation intended?

2. If not, would something like this be acceptable as a fix (only hide the row when the segment is on)?

If this is confirmed as a bug, I’m happy to open a GitHub issue.

Setup: WLED 0.15.3 (build 2508020), ESP32 (Gledopto), 150 LEDs, single segment.

Workaround for anyone hitting this: set the segment brightness to 254 instead of 255. The power row then stays visible.

---

<div class="post-metadata">

**Author:** ![dedehai](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/dedehai/32/7265_2.png) [@dedehai](https://wled.discourse.group/u/dedehai)\
**Post date:** [October 19, 2026, 5:11am UTC](https://wled.discourse.group/t/single-segment-turned-off-no-way-to-turn-it-back-on-from-the-web-ui-power-toggle-hidden/15560/2 "2026-10-19T05:11:24Z")

</div>

while this is an edge case this is definitely a bug. The field should not be hidden if bri\<255 AND if off.

to revive such a segment: just add a second segment and the slider will show, adjust, then delete the second segment.

---

<div class="post-metadata">

**Author:** ![jose1711](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/jose1711/32/10694_2.png) [@jose1711](https://wled.discourse.group/u/jose1711)\
**Post date:** [October 19, 2026, 4:15pm UTC](https://wled.discourse.group/t/single-segment-turned-off-no-way-to-turn-it-back-on-from-the-web-ui-power-toggle-hidden/15560/3 "2026-10-19T16:15:39Z")

</div>

Thank you for confirming, raising as [Web UI: power toggle hidden when the only segment is off (bri 255) – no way to turn it back on · Issue #5913 · wled/WLED · GitHub](https://github.com/wled/WLED/issues/5913)
