Comments (17)
Unfortunately, I think this is unavoidable. How would you for example indicate to enable Adaptive Lighting upon turning on the light?
from adaptive-lighting.
When the state of the light goes from off to on in HA?
from adaptive-lighting.
Ah, I think I misunderstood what the problem was. I will give it some more thought while looking at the code.
from adaptive-lighting.
Yea I think just having a poll happen instantly when the light was turned on would solve the problem.
from adaptive-lighting.
Does this sequence happen in Home Assistant:
light.turn_on(entity_id=some_light)
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.
No the sequence of events that is causing the issue is...
- light turned on at switch
- HA state updates from off to on
- Wife changes level of light from wall switch
- On next update AL updates light to the level it thinks it should be at
- Angry wife
- Wife changes light level again from wall
- AL sees light is manually adjusted
- Light stays at correct level now
from adaptive-lighting.
- Wife changes level of light from wall switch
Does this communicate via Home Assistant or some external app/device?
from adaptive-lighting.
It’s a zwave wall switch using the open zwave beta integration.
from adaptive-lighting.
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.
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.
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.
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.
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.
@basnijholt no sure, but wasn't this fixed in the meantime with the "take_over_control" setting?
from adaptive-lighting.
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.
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.
@broyuken This should be fixed in 1.10.0
from adaptive-lighting.
Related Issues (20)
- "Detected an 'off' → 'on' event for" triggered by the adaptive_lighting integration itself, which *should* not happen
- Adaptation does not occur while the lamp is on HOT 5
- Urdu translation doesn't exist HOT 2
- Allow invoking a script to control the lights
- Failing to detect manual control changes via Govee App on Recessed Lights
- Add daycycle to brightness calculation HOT 3
- The WebApp is not loading HOT 4
- Take Over Brightness Option HOT 6
- Lights turned on using device_id target are not adapted HOT 1
- Option To Select Color Temperature Ramps
- Middle of Day but lamps stay dark HOT 4
- Simulator web app is down HOT 3
- Allow RGB input for min and max color HOT 1
- Home Assistant Hangs with excessive memory usage when controlling Hue Bridge lights HOT 2
- Errors in log HOT 1
- Adaptive lighting always sets light to 1% HOT 11
- Integration with PWS solar sensor
- brightness_mode_time_dark vs brightness_mode_time_light HOT 4
- adaptive-lighting zigbee2mqtt error message MAC no ack' (233) HOT 2
- Add support for a completely customized sequence of (time-point, brightness, temp) tuples and let the AL engine adjust between when active
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adaptive-lighting.