Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge πŸŒ‰, get rid of your proprietary Zigbee bridges πŸ”¨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.36k stars 1.69k forks source link

IKEA LED1923R5 Transition Time off by one #21396

Open cmprmsd opened 9 months ago

cmprmsd commented 9 months ago

What happened?

I bought LED1923R5 (color) and LED2106R3 (white spectrum) GU10 bulbs. Transition time on LED2106R3 works fine. Setting 0 enables me to do "blink" switching manually. However, LED1923R5 (color) seems to add one second to my transition time that I set in the Settings (specific) tab.

Setting 0 will have 1 second transition time. Setting 1 will have 2 seconds transition time. Setting -1 will result in the following error message:

Publish 'set' 'state' to 'KGBueroLEDFarbe' failed: 'RangeError [ERR_OUT_OF_RANGE]: Command 0x287681fffe537155/1 genLevelCtrl.moveToLevelWithOnOff({"level":0,"transtime":-10}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (The value of "value" is out of range. It must be >= 0 and <= 65535. Received -10)'

What did you expect to happen?

The transition time should work the same way for the color LEDs as it does for the white spectrum LEDs.

How to reproduce it (minimal and precise)

Set the transition to 0 and see if on/off/toggle blinks instead of a transition effect.

Zigbee2MQTT version

1.35.3

Adapter firmware version

20210708

Adapter

SONOFF Zigbee 3.0 USB - ZBDongle-P TI CC2652P + CP2102(N)

Setup

Add-on to HomeAssistant in a Proxmox VM

Debug log

No response

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days

cmprmsd commented 3 months ago

Just for reference. This is an ongoing bug I tried to inform ikea about and they replied a fix is in the works. But that was quite a while ago.

https://www.reddit.com/r/tradfri/comments/1cp0b25/transition_times_on_led1923r5_and_led1924g9_are/

I'll update and close this issue if there is any news.