Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.11k stars 1.68k forks source link

Lidl/Livarnolux TS0502B TS0505B lights double turnoff transition bug #13148

Closed CZDanol closed 2 years ago

CZDanol commented 2 years ago

What happened?

Heyo, I've noticed this annoying thing that causes the TS0502B and TS0505B lights to flash off right after color temperature transition end (while still reporting the "ON" state). This seems to rather be a firmware bug in the lights itself, just putting it here for discussion.

I've bodged up a workaround that prevents sending multiple consecutive off commands to the light.

What did you expect to happen?

For the light to not flash off :D

How to reproduce it (minimal and precise)

(tested with Node Red -> Home Assistant -> Z2M setup, 1 second delay after each step, 1 s transition)

Zigbee2MQTT version

1.25.1-dev

Adapter firmware version

20220219

Adapter

SONOFF Zigbee 3.0 USB Dongle Plus

Debug log

No response

jpbede commented 2 years ago

Can also confirm this behavior with the HG08633 (RGB garden spot).

csowada commented 2 years ago

Same here with all TS050xB variants. Also with FUT039Z . For me it is enough to double switch off the device. Afterwards I need to switch the device two times on. First time it flickers and shows OFF.

CZDanol commented 2 years ago

Okay, this seems it's not just a mere Lidl light firmware issue. Either it's a widespread firmware issue, or there could be something in Z2M.

csowada commented 2 years ago

I guess that all variants from Tuya uses the same firmware. My TS050[2-5]B variants where from AliExpress, cheap but buggy :-)

ianclegg commented 2 years ago

I don't think this issue affects all TS050xB devices - I have some tuya zigbee tunable white drivers that identify as TS0502B and I have not been able to reproduce this. I've been publishing {"state":"OFF"} to the devices topic with various intervals and repetitions, twice, three times - followed by {"state":"ON"} with no flicker and the state shows ON. I've been messing with it for 10 minutes, that would seem to agree with your hunch that this is specific to certain TS050xB firmware The Zigbee manufacturer of my device is _TZ3210_xxxxxx

github-actions[bot] commented 2 years ago

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