basnijholt / adaptive-lighting

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

Problems with zigbee2mqtt 1.34.0 and above #975

Closed djcrawleravp closed 1 month ago

djcrawleravp commented 2 months ago

After updating to any zigbee2mqtt version above 1.33.1 my adaptive lighting won't work.

My automations are as follows:

  1. When presence is detected turn on the lights or disable sleep mode if the lights are already on (activates adaptive lighting)
  2. When presence is not detected turns on sleep mode for 30 secs after that it shuts off the lights

After upgrading to 1.34.1+ my lights starts in sleep mode and sometimes after a couple of minutes starts the adaptive mode sometimes stays at sleep mode

I've been waiting for new versions of Zigbee2Mqtt but every time I update to the new last version I get the same result and have to rollback to 1.33.1

I even have tried several Zigbee firmwares.

I'm putting this in here because is my only reason for being stuck at Z2M 1.33.1, everything else works fine On Z2M repo they told me to address this issue in here :/

Any help is much appreciated

DubhAd commented 2 months ago

For what it's worth I'm on Z2M 1.35.3 and don't see this problem.

djcrawleravp commented 2 months ago

I have several LIght groups on Z2M (1.33.1) I'll show you one of them:

Adaptive Light Config:

Screen Shot 2024-04-12 at 14 34 55 Screen Shot 2024-04-12 at 14 35 03 Screen Shot 2024-04-12 at 14 35 09 Screen Shot 2024-04-12 at 14 35 17 Screen Shot 2024-04-12 at 14 35 22

On node Red I have this config (I hope spanish makes some sense):

Screen Shot 2024-04-12 at 14 36 46

For some Reason I can go above 1.33.1

djcrawleravp commented 1 month ago

Still on Z2M 1.33.1 beacause of this, When switching to later varsions when My light is triggered it stays in sleep mode, sometimes the light adapts well, sometimes the lights take like 2-3 minutoes to adapt

djcrawleravp commented 1 month ago

The problem is on Zigbee2Mqtt Side.. the converter from 1.34.0 and above is a different one.

I already opened a new issue asking if is possible to use the old external converter