Aqara Wireless mini switch WXKG11LM not responding. (z2mqtt)

Hi, I’m new to HA and I am using
OS Version: Home Assistant OS 12.3
Home Assistant Core: 2024.5.5
with SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2 (Dongle-E).

My WXKG11LM is not working (not sending payload message).
Checked the z2mqtt device list, looks like it has good LQI (255) .
also z2mqtt log shows no error message.

After pressing the pairing button(works everytime), mqtt log shows:

MQTT publish: topic ‘zigbee2mqtt/AQ_btn_01’, payload ‘{“action”:null,“battery”:100,“device_temperature”:35,“linkquality”:255,“power_outage_count”:493,“voltage”:3015}’

but when pressing auction button its ALMOST not working all the time. I said almost is because it does work for very rare chance.

I have tried repaired it but nothing change. Is there anyone have familiar issue?
or where should I dig into? any advice would be apricated.

Double check if there’s another message in the log immediately before that showing the action part populated.

Otherwise just look at the device logs in HA logbook section or on the device page in HA, since that’s a bit easier to read.

Action immediately reverts to null as soon as receives a message. This is intentional and configurable - have a look through the Z2MQTT docs for more info.

Hi, I’m having the same issue. I have one device connected directly via MQTT and two devices connected via Z2MQTT. The only device not connecting is the Aqara Wireless Mini Switch (WXKG11LM). One of them is just a meter away from the Sonoff dongle, so it’s definitely within range.

Everything was working fine until about a week ago. The only change I can think of is the update to Z2MQTT and HA that happened around that time, which might have caused this problem.

There are no errors appearing in the log.

[13:17:55] INFO: Preparing to start...
[13:17:56] INFO: Socat not enabled
[13:18:02] INFO: Starting Zigbee2MQTT...
[2024-06-12 13:18:14] info: 	z2m: Logging to console, file (filename: log.log)
[2024-06-12 13:18:14] info: 	z2m: Starting Zigbee2MQTT version 1.38.0 (commit #unknown)
[2024-06-12 13:18:14] info: 	z2m: Starting zigbee-herdsman (0.49.2)
[2024-06-12 13:18:14] info: 	zh:ember: Using default stack config.
[2024-06-12 13:18:14] info: 	zh:ember: ======== Ember Adapter Starting ========
[2024-06-12 13:18:15] info: 	zh:ember:ezsp: ======== EZSP starting ========
[2024-06-12 13:18:15] info: 	zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-06-12 13:18:15] info: 	zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2024-06-12 13:18:15] info: 	zh:ember:uart:ash: Serial port opened
[2024-06-12 13:18:15] info: 	zh:ember:uart:ash: ======== ASH starting ========
[2024-06-12 13:18:16] info: 	zh:ember:uart:ash: ======== ASH connected ========
[2024-06-12 13:18:16] info: 	zh:ember:uart:ash: ======== ASH started ========
[2024-06-12 13:18:16] info: 	zh:ember:ezsp: ======== EZSP started ========
[2024-06-12 13:18:16] info: 	zh:ember: [STACK STATUS] Network up.
[2024-06-12 13:18:16] info: 	zh:ember: [INIT TC] NCP network matches config.
[2024-06-12 13:18:16] info: 	zh:ember: [CONCENTRATOR] Started source route discovery. 1248ms until next broadcast.
[2024-06-12 13:18:16] info: 	zh:ember:queue: Request dispatching started.
[2024-06-12 13:18:16] info: 	z2m: zigbee-herdsman started (resumed)
[2024-06-12 13:18:16] info: 	z2m: Coordinator firmware version: '{"meta":{"build":0,"ezsp":13,"major":7,"minor":4,"patch":2,"revision":"7.4.2 [GA]","special":0,"type":170},"type":"EmberZNet"}'
[2024-06-12 13:18:16] info: 	z2m: Currently 3 devices are joined:
[2024-06-12 13:18:16] info: 	z2m: Aqara switch Luca (0x00158d000ad8ec7e): WXKG11LM - Aqara Wireless mini switch (EndDevice)
[2024-06-12 13:18:16] info: 	z2m: Switch kitchen (0x00158d000ad8af36): WXKG11LM - Aqara Wireless mini switch (EndDevice)
[2024-06-12 13:18:16] info: 	z2m: Temperatura e umidità bagno PT (0x00158d0009ce2b35): WSDCGQ11LM - Aqara Temperature and humidity sensor (EndDevice)
[2024-06-12 13:18:16] info: 	z2m: Zigbee: disabling joining new devices.
[2024-06-12 13:18:16] info: 	z2m:mqtt: Connecting to MQTT server at mqtt://core-mosquitto:1883
[2024-06-12 13:18:17] info: 	z2m:mqtt: Connected to MQTT server
[2024-06-12 13:18:17] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"online"}'
 [2024-06-12 13:18:17] info: 	z2m: Started frontend on port 8099
 [2024-06-12 13:18:17] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"online"}'
[2024-06-12 13:18:17] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Aqara switch Luca', payload '{"action":null,"battery":100,"device_temperature":28,"linkquality":172,"power_outage_count":58,"voltage":3065}'
[2024-06-12 13:18:17] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Switch kitchen', payload '{"action":null,"battery":100,"device_temperature":33,"linkquality":200,"power_outage_count":8,"voltage":3015}'
[2024-06-12 13:18:17] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Temperatura e umidità bagno PT', payload '{"battery":83,"humidity":64.22,"linkquality":148,"power_outage_count":9,"pressure":1011.7,"temperature":24.36,"voltage":2975}'
[2024-06-12 13:18:17] info: 	z2m: Zigbee2MQTT started!
  • Core 2024.6.2
  • Supervisor 2024.06.0
  • Operating System 12.3