Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Light Status - Leds: Top instead of Button #18

Open
ostracizado opened this issue Sep 12, 2023 · 4 comments
Open

Light Status - Leds: Top instead of Button #18

ostracizado opened this issue Sep 12, 2023 · 4 comments

Comments

@ostracizado
Copy link

ostracizado commented Sep 12, 2023

What would be the best approach to have the led on the top turn on, when the light is on - instead of the led on the button?
It would be more easy to see the state of a light: on/off.

I imagine it has to do with the scripts: led_on_button_left/led_off_button_left, led_on_button_middle/led_off_button_middle and led_on_button_right/led_off_button_right...

edit:
Hmmm... initially I thought it would only be needed to change the specific led in partition:

  - platform: partition
    name: "LEDs Button left"
    id: leds_button_left
    internal: true
    segments:
      - id: leds
        from: 11 #to 21
        to: 11 #to 21

But that only make the specific led "21" blink and turn off. Could it be a conflict with the script that turns on the top leds, sequentially, and off, when the button is pressed?

@TeDeVPrime
Copy link

TeDeVPrime commented Sep 19, 2023

i am curious about that one as well. how do we turn the leds at the top on? @danielscheidler

@danielscheidler
Copy link
Member

Only making the 11 to 21 is certainly not enough. It must at least be ensured that this is not set in any other way. As long as it is controlled in other segments, it is otherwise overwritten. The individual segments must be coherent against each other.

1 similar comment
@danielscheidler
Copy link
Member

Only making the 11 to 21 is certainly not enough. It must at least be ensured that this is not set in any other way. As long as it is controlled in other segments, it is otherwise overwritten. The individual segments must be coherent against each other.

@TeDeVPrime
Copy link

i am not sure what you mean.

also i found this guide.
it has a lot more light effects and the buttons light up from both sides

https://www.youtube.com/watch?v=58v8oqSQgXQ&ab_channel=Unlocoysutecnolog%C3%ADa

maybe you can include them in your library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants