Koenkk / zigbee2mqtt

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

Aqara WS-EUK04 not emitting actions in decoupled mode #17305

Closed s-nems closed 1 year ago

s-nems commented 1 year ago

What happened?

Using:

WS-EUK04

model: lumi.switch.n2aeu1

In z2m "action" is never triggered in decoupled (wireless) mode. Also, below fields are reporting N/A:

I also have WS-EUK01 (lumi.switch.l1aeu1) - H1 EU (no neutral, single rocker), which works for decoupled mode, but only after changing mode_switch to quick_mode.

For control_relay mode, which is actually a physical switch the action trigger works only after first connecting to ZHA and then moving back to z2m, which is really odd.

What did you expect to happen?

The state should be updated for decoupled mode with proper actions like single_left, right_left etc.

How to reproduce it (minimal and precise)

Zigbee2MQTT version

1.30.3

Adapter firmware version

zStack3x0

Adapter

Sonoff ZBDongle-P CC2652P

Debug log

No response

s-nems commented 1 year ago

Similar issue: https://github.com/Koenkk/zigbee2mqtt/issues/11507#issuecomment-1111195386

calkeo commented 1 year ago

I have the same issue with the WS-EUK01 (single rocker no neutral), where I'm not seeing any state updates for action in either control_relay or decoupled mode.

The device is definitely connected, as I can toggle the relay on and off through z2m, but there's no actions being reported by the switch whatsoever.

Koenkk commented 1 year ago

For z-stack users, please make sure you are running at least firmware 20211114

calkeo commented 1 year ago

I eventually managed to get this working by simply removing the device from z2m and then re-pairing it.

It's worth pointing out for anyone coming across this issue, that the no-neutral version (although @s-nems is using the neutral version) does not work well with decoupled mode if it's being used to toggle a smart bulb on the same electrical loop. As soon as the bulb is toggled off there's not enough power going through the switch to keep it connected, and it just drops off the network until the bulb is toggled on again.

s-nems commented 1 year ago

For z-stack users, please make sure you are running at least firmware 20211114

Updating to the newest z-stack for Sonoff solved the issue. Thank you! 😄

oliverholliday commented 1 year ago

Firmware! I had no idea, I just updated my CC2531 firmware and it started working.

Thanks!

https://github.com/Koenkk/zigbee2mqtt/issues/17477

shift-del1 commented 1 year ago

I ran into the same issue , my WS-EUK03 worked fine and on last Friday it suddenly stopped. I tried everything with no luck until I found this topic. I upgraded my ConBee II to FW version 26780700, removed and reconnected the switch and action with the 3 sensors started to work again. Thank you for the solution.

kaktus11 commented 1 year ago

I have exactly the same problem with WS-EUK04. I use skyconnect dongle with latest firmware. Do anyone have a solution for this? Thank you.

abelsolomon-git commented 7 months ago

I ran into the same issue , my WS-EUK03 worked fine and on last Friday it suddenly stopped. I tried everything with no luck until I found this topic. I upgraded my ConBee II to FW version 26780700, removed and reconnected the switch and action with the 3 sensors started to work again. Thank you for the solution.

Have you had any other issues with this firmware or has it worked smoothly for you since?

Vincentiano commented 5 months ago

For Skyconnect users, the problems are fixed using the latest firmware from: https://github.com/darkxst/silabs-firmware-builder/tree/4.4.3/firmware_builds/skyconnect

jkufner commented 5 months ago

I followed https://github.com/Koenkk/zigbee2mqtt/discussions/16573#discussioncomment-9430968 and it seems to work. Upgrading SkyConnect firmware to ncp-uart-hw-v7.4.3.0-skyconnect-115200.gbl fixed the issue. I've also reseted the switch after the upgrade.

gregrs-uk commented 1 week ago

I had the same issue with the Aqara WS-EUK04 and Sonoff ZBDongle-P. Updating to the latest firmware (Z-Stack_3.x.0_coordinator_20240710) and Zigbee2MQTT 1.40.2 then removing and re-adding the switch to the network fixed it. Thanks.