basnijholt / adaptive-lighting

Adaptive Lighting custom component for Home Assistant
https://basnijholt.github.io/adaptive-lighting/
Apache License 2.0
1.71k stars 127 forks source link

Adaptation does not occur while the lamp is on #868

Open Tomer-Isr opened 7 months ago

Tomer-Isr commented 7 months ago

Not long ago I noticed that the lamps that were turned on did not adjust the brightness, although just recently everything was working. For example, a lamp is on, its brightness is 75, I turn it off and immediately turn it on and the brightness adapts to 50 percent. But if I leave the light on, the brightness does not decrease. Adapts only when switching on and off.

kevindebosscher commented 7 months ago

I also see somewhat the same behaviour! No automatic sun brightness adjustments since one of the updates…

Tomer-Isr commented 7 months ago

Hi, Perhaps after updating HA or some other time the setting went wrong, it says something like adapt only when turned on. After I selected false, all the lamps began to change color as needed.

сб, 9 дек. 2023 г., 09:37 kevindebosscher @.***>:

I also see somewhat the same behaviour! No automatic sun brightness adjustments since one of the updates…

— Reply to this email directly, view it on GitHub https://github.com/basnijholt/adaptive-lighting/issues/868#issuecomment-1848293234, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAVELLPEYQWDTZZS4KKJS7DYIQILVAVCNFSM6AAAAABAMYQYACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGI4TGMRTGQ . You are receiving this because you authored the thread.Message ID: @.***>

kevindebosscher commented 7 months ago

Hi, Perhaps after updating HA or some other time the setting went wrong, it says something like adapt only when turned on. After I selected false, all the lamps began to change color as needed. сб, 9 дек. 2023 г., 09:37 kevindebosscher @.>: I also see somewhat the same behaviour! No automatic sun brightness adjustments since one of the updates… — Reply to this email directly, view it on GitHub <#868 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAVELLPEYQWDTZZS4KKJS7DYIQILVAVCNFSM6AAAAABAMYQYACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGI4TGMRTGQ . You are receiving this because you authored the thread.Message ID: @.>

Do you have a screen shot perhaps? Tried everything but still not operating like before 😔

Tomer-Isr commented 7 months ago

I did it so https://photos.app.goo.gl/W3VxwH6jmVZtiwL79 Do u got video?

сб, 9 дек. 2023 г., 11:09 kevindebosscher @.***>:

Hi, Perhaps after updating HA or some other time the setting went wrong, it says something like adapt only when turned on. After I selected false, all the lamps began to change color as needed. сб, 9 дек. 2023 г., 09:37 kevindebosscher @.

>: … <#m4884206103453521745> I also see somewhat the same behaviour! No automatic sun brightness adjustments since one of the updates… — Reply to this email directly, view it on GitHub <#868 (comment) https://github.com/basnijholt/adaptive-lighting/issues/868#issuecomment-1848293234>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAVELLPEYQWDTZZS4KKJS7DYIQILVAVCNFSM6AAAAABAMYQYACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGI4TGMRTGQ https://github.com/notifications/unsubscribe-auth/BAVELLPEYQWDTZZS4KKJS7DYIQILVAVCNFSM6AAAAABAMYQYACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGI4TGMRTGQ . You are receiving this because you authored the thread.Message ID: @.>

Do you have a screen shot perhaps? Tried everything but still not operating like before 😔

— Reply to this email directly, view it on GitHub https://github.com/basnijholt/adaptive-lighting/issues/868#issuecomment-1848337323, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAVELLIU3ZWQR3R53RHEW4TYIQTDTAVCNFSM6AAAAABAMYQYACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGMZTOMZSGM . You are receiving this because you authored the thread.Message ID: @.***>

MajorQuake18 commented 7 months ago

That setting is off for me and the issue is still occurring. The lights only actually update from calling the service.

I started using adaptive lighting a few weeks ago and it has been a problem ever since.

gderber commented 5 months ago

I'm posting this as it might provide some ideas as to a solution. It may be a complete red herring. I am using a docker installation of Home Assistant.

Adaptive lighting was working. Then earlier this week I updated Home Assistant from 2023.5 -> 2023.1.3, amd adaptive lighting to 1.20 (not sure what the old version was)

Adaptive lighting stopped updating the lights while they were on.

Things I did afterwards:

  1. Reverted Adaptive lighting to 1.18.3 (I still had the problem)
  2. Updated Home Assistant to 2024.1.5
  3. Fixed all errors that appeared in the HA logs as a result of various breaking changes (lots of things are configured via yaml).

At that point, adaptive lighting was working again.

Maybe related, while adaptive lighting wasn't updating lights I also noticed having HA check my config for errors never completed. Also trying to restart HA from within HA never did anything. I could check it 30 minutes after requesting the restart and see that it had been up for 5 hours.

I have not yet convinced myself to try adaptive lighting 1.20 again.

Unfortunately too much changed for me to really narrow down the exact cause and solution.

============== Edit:

This is even more confusing now. Adaptive lighting definitely started updating the color temperature again. But it fails to update the brightness at night.

Tomer-Isr commented 5 months ago

Thanks for the advice and help, but you seem to have figured it out. First of all, the lamps from China, as I understood, were not of high quality, but that's okay. It's just that during the update, I probably lost the settings and I kind of found the very adaptation point when the lights were on and everything seems to work 🙏

пт, 26 янв. 2024 г., 04:41 G Derber @.***>:

I'm posting this as it might provide some ideas as to a solution. It may be a complete red herring. I am using a docker installation of Home Assistant.

Adaptive lighting was working. Then earlier this week I updated Home Assistant from 2023.5 -> 2023.1.3, amd adaptive lighting to 1.20.

Adaptive lighting stopped updating the lights while they were on.

Things I did afterwards:

  1. Reverted Adaptive lighting to 1.18.3 (I still had the problem)
  2. Updated Home Assistant to 2024.1.5
  3. Fixed all errors that appeared in the HA logs as a result of various breaking changes (lots of things are configured via yaml).

At that point, adaptive lighting was working again.

Maybe related, while adaptive lighting wasn't updating lights I also noticed having HA check my config for errors never completed. Also trying to restart HA from within HA never did anything. I could check it 30 minutes after requesting the restart and see that it had been up for 5 hours.

I have not yet convinced myself to try adaptive lighting 1.20 again.

Unfortunately too much changed for me to really narrow down the exact cause and solution.

— Reply to this email directly, view it on GitHub https://github.com/basnijholt/adaptive-lighting/issues/868#issuecomment-1911320408, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAVELLPDINFKBBURDK4SB6DYQMJURAVCNFSM6AAAAABAMYQYACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJRGMZDANBQHA . You are receiving this because you authored the thread.Message ID: @.***>