Comments (7)
@basnijholt what log do you need?
Which log setting do I need to set for home assistant?
from adaptive-lighting.
Could you add this to your configuration.yaml
:
logger:
default: warning
logs:
custom_components.adaptive_lighting: debug
restart HA and share home-assistant.log
after the problem occurred.
from adaptive-lighting.
2020-10-09 08:27:41 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.eettafel']')' event
2020-10-09 08:27:42 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.koplamp']')' event
2020-10-09 08:27:42 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.lamp_boven_zithoek']')' event
2020-10-09 08:27:43 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.leeslamp_bank']')' event
2020-10-09 08:28:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Zithoek: '_update_attrs_and_maybe_adapt_lights' called
2020-10-09 08:28:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Adaptive Lighting: Zithoek: '_adapt_lights(['light.koplamp', 'light.lamp_boven_zithoek', 'light.leeslamp_bank', 'light.eettafel'], None, False)' called
2020-10-09 08:28:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Zithoek: Scheduling 'light.turn_on' with the following 'service_data': {'entity_id': 'light.koplamp', 'transition': 45.0, 'brightness_pct': 100, 'color_temp': 364}
2020-10-09 08:28:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Zithoek: Scheduling 'light.turn_on' with the following 'service_data': {'entity_id': 'light.lamp_boven_zithoek', 'transition': 45.0, 'brightness_pct': 100, 'color_temp': 364}
2020-10-09 08:28:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Zithoek: Scheduling 'light.turn_on' with the following 'service_data': {'entity_id': 'light.leeslamp_bank', 'transition': 45.0, 'brightness_pct': 100, 'color_temp': 364}
2020-10-09 08:28:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Zithoek: Scheduling 'light.turn_on' with the following 'service_data': {'entity_id': 'light.eettafel', 'transition': 45.0, 'brightness_pct': 100, 'color_temp': 364}
2020-10-09 08:28:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.koplamp']')' event
2020-10-09 08:28:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.lamp_boven_zithoek']')' event
2020-10-09 08:28:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.leeslamp_bank']')' event
2020-10-09 08:28:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.eettafel']')' event
2020-10-09 08:28:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Gang Boven: '_update_attrs_and_maybe_adapt_lights' called
2020-10-09 08:28:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Adaptive Lighting: Gang Boven: '_adapt_lights(['light.lamp_gang_boven'], None, False)' called
2020-10-09 08:28:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.lamp_boven_zithoek' 'state_changed' event: '{'min_mireds': 153, 'max_mireds': 500, 'effect_list': ['colorloop'], 'brightness': 254, 'color_temp': 364, 'hs_color': (0, 0), 'rgb_color': (255, 255, 255), 'xy_color': (0.323, 0.329), 'off_brightness': None, 'friendly_name': 'Lamp Boven Zithoek', 'supported_features': 63}'
2020-10-09 08:28:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.leeslamp_bank' 'state_changed' event: '{'min_mireds': 153, 'max_mireds': 500, 'effect_list': ['colorloop'], 'brightness': 254, 'color_temp': 364, 'hs_color': (0, 0), 'rgb_color': (255, 255, 255), 'xy_color': (0.323, 0.329), 'off_brightness': None, 'friendly_name': 'Leeslamp Bank', 'supported_features': 63}'
2020-10-09 08:28:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.eettafel' 'state_changed' event: '{'min_mireds': 250, 'max_mireds': 454, 'brightness': 254, 'color_temp': 364, 'off_brightness': None, 'friendly_name': 'Eettafel', 'supported_features': 43}'
2020-10-09 08:28:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.eettafel' 'state_changed' event: '{'min_mireds': 250, 'max_mireds': 454, 'brightness': 254, 'color_temp': 250, 'off_brightness': None, 'friendly_name': 'Eettafel', 'supported_features': 43}'
2020-10-09 08:28:24 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.koplamp' 'state_changed' event: '{'min_mireds': 250, 'max_mireds': 454, 'brightness': 254, 'color_temp': 364, 'off_brightness': None, 'friendly_name': 'Koplamp', 'supported_features': 43}'
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Zithoek: '_update_attrs_and_maybe_adapt_lights' called
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Adaptive Lighting: Zithoek: '_adapt_lights(['light.koplamp', 'light.lamp_boven_zithoek', 'light.leeslamp_bank', 'light.eettafel'], None, False)' called
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Zithoek: Scheduling 'light.turn_on' with the following 'service_data': {'entity_id': 'light.koplamp', 'transition': 45.0, 'brightness_pct': 100, 'color_temp': 360}
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Zithoek: Scheduling 'light.turn_on' with the following 'service_data': {'entity_id': 'light.lamp_boven_zithoek', 'transition': 45.0, 'brightness_pct': 100, 'color_temp': 360}
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Zithoek: Scheduling 'light.turn_on' with the following 'service_data': {'entity_id': 'light.leeslamp_bank', 'transition': 45.0, 'brightness_pct': 100, 'color_temp': 360}
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Zithoek: Scheduling 'light.turn_on' with the following 'service_data': {'entity_id': 'light.eettafel', 'transition': 45.0, 'brightness_pct': 100, 'color_temp': 360}
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.koplamp']')' event
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.lamp_boven_zithoek']')' event
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.leeslamp_bank']')' event
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.eettafel']')' event
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Gang Boven: '_update_attrs_and_maybe_adapt_lights' called
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Adaptive Lighting: Gang Boven: '_adapt_lights(['light.lamp_gang_boven'], None, False)' called
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.lamp_boven_zithoek' 'state_changed' event: '{'min_mireds': 153, 'max_mireds': 500, 'effect_list': ['colorloop'], 'brightness': 254, 'color_temp': 360, 'hs_color': (0, 0), 'rgb_color': (255, 255, 255), 'xy_color': (0.323, 0.329), 'off_brightness': None, 'friendly_name': 'Lamp Boven Zithoek', 'supported_features': 63}'
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.eettafel' 'state_changed' event: '{'min_mireds': 250, 'max_mireds': 454, 'brightness': 254, 'color_temp': 360, 'off_brightness': None, 'friendly_name': 'Eettafel', 'supported_features': 43}'
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.leeslamp_bank' 'state_changed' event: '{'min_mireds': 153, 'max_mireds': 500, 'effect_list': ['colorloop'], 'brightness': 254, 'color_temp': 360, 'hs_color': (0, 0), 'rgb_color': (255, 255, 255), 'xy_color': (0.323, 0.329), 'off_brightness': None, 'friendly_name': 'Leeslamp Bank', 'supported_features': 63}'
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.eettafel' 'state_changed' event: '{'min_mireds': 250, 'max_mireds': 454, 'brightness': 254, 'color_temp': 278, 'off_brightness': None, 'friendly_name': 'Eettafel', 'supported_features': 43}'
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.eettafel' 'state_changed' event: '{'min_mireds': 250, 'max_mireds': 454, 'brightness': 254, 'color_temp': 306, 'off_brightness': None, 'friendly_name': 'Eettafel', 'supported_features': 43}'
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.eettafel' 'state_changed' event: '{'min_mireds': 250, 'max_mireds': 454, 'brightness': 254, 'color_temp': 334, 'off_brightness': None, 'friendly_name': 'Eettafel', 'supported_features': 43}'
2020-10-09 08:29:53 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.eettafel' 'state_changed' event: '{'min_mireds': 250, 'max_mireds': 454, 'brightness': 254, 'color_temp': 362, 'off_brightness': None, 'friendly_name': 'Eettafel', 'supported_features': 43}'
2020-10-09 08:29:54 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.koplamp' 'state_changed' event: '{'min_mireds': 250, 'max_mireds': 454, 'brightness': 254, 'color_temp': 360, 'off_brightness': None, 'friendly_name': 'Koplamp', 'supported_features': 43}'
2020-10-09 08:29:54 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.koplamp' 'state_changed' event: '{'min_mireds': 250, 'max_mireds': 454, 'brightness': 254, 'color_temp': 306, 'off_brightness': None, 'friendly_name': 'Koplamp', 'supported_features': 43}'
2020-10-09 08:29:54 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.koplamp' 'state_changed' event: '{'min_mireds': 250, 'max_mireds': 454, 'brightness': 254, 'color_temp': 362, 'off_brightness': None, 'friendly_name': 'Koplamp', 'supported_features': 43}'
2020-10-09 08:30:27 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.eettafel']')' event
2020-10-09 08:30:27 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.koplamp']')' event
2020-10-09 08:30:28 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.lamp_boven_zithoek']')' event
2020-10-09 08:30:28 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.leeslamp_bank']')' event
2020-10-09 08:31:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Zithoek: '_update_attrs_and_maybe_adapt_lights' called
2020-10-09 08:31:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Adaptive Lighting: Zithoek: '_adapt_lights(['light.koplamp', 'light.lamp_boven_zithoek', 'light.leeslamp_bank', 'light.eettafel'], None, False)' called
2020-10-09 08:31:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Zithoek: Scheduling 'light.turn_on' with the following 'service_data': {'entity_id': 'light.koplamp', 'transition': 45.0, 'brightness_pct': 100, 'color_temp': 357}
2020-10-09 08:31:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Zithoek: Scheduling 'light.turn_on' with the following 'service_data': {'entity_id': 'light.lamp_boven_zithoek', 'transition': 45.0, 'brightness_pct': 100, 'color_temp': 357}
2020-10-09 08:31:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Zithoek: Scheduling 'light.turn_on' with the following 'service_data': {'entity_id': 'light.leeslamp_bank', 'transition': 45.0, 'brightness_pct': 100, 'color_temp': 357}
2020-10-09 08:31:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Zithoek: Scheduling 'light.turn_on' with the following 'service_data': {'entity_id': 'light.eettafel', 'transition': 45.0, 'brightness_pct': 100, 'color_temp': 357}
2020-10-09 08:31:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.koplamp']')' event
2020-10-09 08:31:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.lamp_boven_zithoek']')' event
2020-10-09 08:31:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.leeslamp_bank']')' event
2020-10-09 08:31:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected an 'light.turn_on('['light.eettafel']')' event
2020-10-09 08:31:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Gang Boven: '_update_attrs_and_maybe_adapt_lights' called
2020-10-09 08:31:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Adaptive Lighting: Gang Boven: '_adapt_lights(['light.lamp_gang_boven'], None, False)' called
2020-10-09 08:31:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.lamp_boven_zithoek' 'state_changed' event: '{'min_mireds': 153, 'max_mireds': 500, 'effect_list': ['colorloop'], 'brightness': 254, 'color_temp': 357, 'hs_color': (0, 0), 'rgb_color': (255, 255, 255), 'xy_color': (0.323, 0.329), 'off_brightness': None, 'friendly_name': 'Lamp Boven Zithoek', 'supported_features': 63}'
2020-10-09 08:31:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.leeslamp_bank' 'state_changed' event: '{'min_mireds': 153, 'max_mireds': 500, 'effect_list': ['colorloop'], 'brightness': 254, 'color_temp': 357, 'hs_color': (0, 0), 'rgb_color': (255, 255, 255), 'xy_color': (0.323, 0.329), 'off_brightness': None, 'friendly_name': 'Leeslamp Bank', 'supported_features': 63}'
2020-10-09 08:31:23 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.eettafel' 'state_changed' event: '{'min_mireds': 250, 'max_mireds': 454, 'brightness': 254, 'color_temp': 357, 'off_brightness': None, 'friendly_name': 'Eettafel', 'supported_features': 43}'
2020-10-09 08:31:24 DEBUG (MainThread) [custom_components.adaptive_lighting.switch] Detected a 'light.koplamp' 'state_changed' event: '{'min_mireds': 250, 'max_mireds': 454, 'brightness': 254, 'color_temp': 357, 'off_brightness': None, 'friendly_name': 'Koplamp', 'supported_features': 43}'
There you go.
Now the Hue lights also don't stay in the set scene.
from adaptive-lighting.
Hi @Jeltel,
Thanks a lot for your log file and for reporting a bug. However, it might be that I have solved this already because you are using an old version of the code. Could you please update to the latest version of the code and try again?
from adaptive-lighting.
I've installed the new version and will investigate somewhere in the next couple of days. Now my paying work calls :)
Thanks for this adaptive lighting so far. It at least fixes some issues with Circadian lighting that kept bugging me. 👍
from adaptive-lighting.
Good! Please let me know whether it works as expected for you now or not.
from adaptive-lighting.
@basnijholt No issues so far for switching colours after turning the light to a colour twice.
Did saw sporadically that the lights turned on again, after turning off. But I'll make a new issue when i get some more info about it.
from adaptive-lighting.
Related Issues (20)
- Changed group members not adjusted by adaptive lighting HOT 3
- Light entities created by `Change device type of a switch` are not in the list of light entities to pick from HOT 2
- [Feature Request] Similar brightness graph as color temp graph
- Sleep Mode Doesn't Support RGBW
- Possible race condition in 1.22.0 HOT 1
- Monitor events in addition to interception HOT 1
- Meross MSL100 Dimmable Light Not Appearing
- Unresponsive light with adaptative lightning HOT 1
- AL has a high probability of interrupting Light Turn Off service calls with long transition duration (over 5s-6s)
- Adaptive lighting configuration using YAML broken in 1.21.0 HOT 1
- Problems with zigbee2mqtt 1.34.0 and above HOT 4
- Apply "Prefer RGB" reverts after a minute or so HOT 3
- Adaptive lighting does not adjust brightness of Lightener group correctly HOT 9
- Manage request for full brightness by double press switch on/off
- Deprecation warning in 2024.5.0b1 HOT 1
- Light stuck / not adapting HOT 5
- Integration fails to load if sleep/brightness/color switch is disabled
- Feature Request: Cap color temp
- Sun Events Order Error HOT 2
- Zigbee2mqtt to fast for adapt HOT 1
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.