Giter Club home page Giter Club logo

Comments (17)

basnijholt avatar basnijholt commented on June 3, 2024

Unfortunately, I think this is unavoidable. How would you for example indicate to enable Adaptive Lighting upon turning on the light?

from adaptive-lighting.

broyuken avatar broyuken commented on June 3, 2024

When the state of the light goes from off to on in HA?

from adaptive-lighting.

basnijholt avatar basnijholt commented on June 3, 2024

Ah, I think I misunderstood what the problem was. I will give it some more thought while looking at the code.

from adaptive-lighting.

broyuken avatar broyuken commented on June 3, 2024

Yea I think just having a poll happen instantly when the light was turned on would solve the problem.

from adaptive-lighting.

basnijholt avatar basnijholt commented on June 3, 2024

Does this sequence happen in Home Assistant:

  1. light.turn_on(entity_id=some_light)
  2. light.turn_on(entity_id=some_light, brightness=some_value_your_wife_wants)

If so, I don't understand why that doesn't already work...

Or are you using something external from Home Assistant?

from adaptive-lighting.

broyuken avatar broyuken commented on June 3, 2024

No the sequence of events that is causing the issue is...

  1. light turned on at switch
  2. HA state updates from off to on
  3. Wife changes level of light from wall switch
  4. On next update AL updates light to the level it thinks it should be at
  5. Angry wife
  6. Wife changes light level again from wall
  7. AL sees light is manually adjusted
  8. Light stays at correct level now

from adaptive-lighting.

basnijholt avatar basnijholt commented on June 3, 2024
  1. Wife changes level of light from wall switch

Does this communicate via Home Assistant or some external app/device?

from adaptive-lighting.

broyuken avatar broyuken commented on June 3, 2024

It’s a zwave wall switch using the open zwave beta integration.

from adaptive-lighting.

jamescadd avatar jamescadd commented on June 3, 2024

Is it possible to have AL only adapt the light temperature, not the brightness? I have a similar issue where I'd like to have the temperature vary throughout the day, but it should never override the brightness of the light. My use case is Lutron Aurora dimmers controlling the brightness through the Hue hub. Regardless of control I prefer not to have AL adjust the brightness of the lights.

from adaptive-lighting.

broyuken avatar broyuken commented on June 3, 2024

Yes there’s a switch with each instance that you can turn off. It should be something like switch.adaptive_lighting_adapt_brightness_living_room

from adaptive-lighting.

broyuken avatar broyuken commented on June 3, 2024

It’s a zwave wall switch using the open zwave beta integration.

Little more info to clear this up, it’s a zwave dimmer switch, and she is manually adjusting the brightness using the switch itself. No smart bulbs involved here, just the switch. The switch uses the open zwave beta integration to HA.

from adaptive-lighting.

RicardoCst avatar RicardoCst commented on June 3, 2024

Yes its very annoying.

No the sequence of events that is causing the issue is...

1. light turned on at switch

2. HA state updates from off to on

3. Wife changes level of light from wall switch

4. On next update AL updates light to the level it thinks it should be at

5. Angry wife

6. Wife changes light level again from wall

7. AL sees light is manually adjusted

8. Light stays at correct level now

from adaptive-lighting.

jd1900 avatar jd1900 commented on June 3, 2024

I think this is very related to the this issue:
#96

IMHO, disabling brightness control and updating temperature not "turning on" the device (just changing temperature) could fix it.

from adaptive-lighting.

RubenKelevra avatar RubenKelevra commented on June 3, 2024

@basnijholt no sure, but wasn't this fixed in the meantime with the "take_over_control" setting?

from adaptive-lighting.

RubenKelevra avatar RubenKelevra commented on June 3, 2024

This ticket is stale but still feels important.

I think it will be fixed by having just different types over manual overrides in v2.

Keep this ticket open until you can verify that it's properly working in the upcoming version 2.

from adaptive-lighting.

th3w1zard1 avatar th3w1zard1 commented on June 3, 2024

This is exactly the issue I was having which is why I created #450. When it's merged it should close this issue.

from adaptive-lighting.

th3w1zard1 avatar th3w1zard1 commented on June 3, 2024

@broyuken This should be fixed in 1.10.0

from adaptive-lighting.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.