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

adaptive-lighting zigbee2mqtt error message MAC no ack' (233) #906

Open silvhino opened 5 months ago

silvhino commented 5 months ago

Is there a way to erase the messages which are flooding zigbee2mqtt?

I use zigbee switch separately of zigbee light bulb.

When switch is off, lightbulb is off too but adaptive-lighting try to apply parameters and it generate lot off errors in zigbee2mqtt:

Publish 'set' 'brightness' to 'Ampoule Salon' failed: 'Error: Command 0xa4c13899a021c645/11 genLevelCtrl.moveToLevelWithOnOff({"level":146,"transtime":495}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'MAC no ack' (233))'

Can you help me please?

niek1992 commented 5 months ago

Well, Adaptive-Lighting tries to adapt the light (that it no longer is able to reach). You have two options (or maybe 3):

  1. Disable Adaptive-Lighting when the switch is off, maybe check for entity availability and pause "Aadapt Lighting" & "Adapt Color".
  2. Use only_once to only adapt color when the light is powered up. This means you'll lose continuous adaption of the light when the light is on, but if you toggle it often enough it'll follow the sun properly.
  3. Use option 2. but create an automation that reconfigures Adaptive-Lighting to adapt light continuously.
  4. Do not power off your light(s) but use a (zigbee-) PIR to turn on/off your light(s).
homeclubber commented 3 months ago

I just updated z2m to 1.36.0 and the log level can now be selected in settings. Change this to 'error' and the "MAC no ack" warning popups disappear.