Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95385

WLED Fixing Turn Off Behavior of Segments

$
0
0

@haushund wrote:

Hey guys,

I’ve just started using HA and set up a long LED Strip (16m WS2812b) using the WLED integration and I partioned the strip into 5 different segments, so I can controll them as individual LED Strips. And for the most part it works great, I can assign each of them their own color, effects and all the other good stuff, but I’ve got one issue that I couldn’t find a fix for yet:
I can not turn off individual segments… only all the segments at once. Or rather, any time I turn off an individual segment, all the segments turn off (even though this is not shown in the entity states / the dashboard)
This is what it looks like in the Dashboard:
image

This does kind of make sense, as the WLED Software from Aircookie doesn’t support native “off switches” for the individual segments. However, what I usually do, when controling the LEDs with the WLED UI is setting the color of a given Segment to black (or brightness to 0). This works perfectly for me using the WLED App, but I don’t know how to do this with HA…

I’m not quite sure how to go about this… I though about the following two approaches, but I didn’t know how to implement them:

  1. Creating an automation that turns the WLEDs to “on” and set the color to black everytime they are turned off --> Drawback: The state of the WLED entities would always be “on”
  2. Change the configuration of the WLED turn off service to set the color to black instead of turning the device off --> Probably same drawback as before: State is managed properly
  3. Fixing this issue in the python implemention of the WLED integration. However, I don’t know if this is viable to do… I’ve got no problem coding with python, but I’m unsure about how to get my changes to work in my HA instance. Do I have build my own HA instance to do that? Or can I just fork the WLED integration repository and make a custom add-on that I can use instead of the default WLED integration?

Also, if anyone has a better idea on how to approach this, I’d be happy to hear it.

And thank you guys in advance for any help you can provide me with!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>