Koenkk / zigbee2mqtt

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

Nous A1Z stopped responding #22338

Open StefanGruell opened 4 months ago

StefanGruell commented 4 months ago

What happened?

When trying to toggle the on/off button of the Nous A1Z in the Zigbee2Mqtt menu nothing happens and a timeout message pops up. The reported linkquality was always around 100.

What did you expect to happen?

That the plug switches it state

How to reproduce it (minimal and precise)

Set up a network with the sonoff adapter and the Nous A1Z with lqi of 100. After a few days no commands can be sent to the plug anymore.

Zigbee2MQTT version

1.36.0

Adapter firmware version

6.10.3.0 build 297

Adapter

ZBDongle-E 3.0 USB Dongle Plus

Setup

Plain on a Raspberry Pi 4 8GB RAM

Debug log

Publish 'set' 'state' to 'Strommesser1' failed: 'Error: Command 0xa4c138c1ed2dc73b/1 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 24684 - 1 - 36 - 6 - 11 after 10000ms)'

gummifisch24 commented 4 months ago

Had the same problem, tried to remove and add the plug again but now it wont even show up when trying to add it to Zigbee2MQTT in the Dashboard... Edit: Now I got it randomly working again. the plug is now back in Zigbee2MQTT but the error is also back: Publish 'set' 'state' to '0xa4c138c240d11578' failed: 'Error: ZCL command 0xa4c138c240d11578/1 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 531 - 1 - 19 - 6 - 11 after 10000ms)' The plug has a lqi of 48 which is weird, my other 2 A1Zs have 212 and 255 and the buggy plug is currently very close to the zigbee dongle from the raspi

korttoma commented 4 months ago

I am getting the same with one of my Nous A1Z now also (LQI=116) no communication anymore:

error: z2m: Publish 'get' 'state' to 'Garage_Fan' failed: 'Error: ZCL command 0xa4c138bb98b1f08b/1 genOnOff.read(["onOff"], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 54701 - 1 - 162 - 6 - 1 after 10000ms)'

projectfreak commented 2 months ago

I can confirm that. After a few days, several of my Nous A1Z Smart Plugs can no longer be switched. Energy measurement etc. continue to work. Restarting Zigbee2MQTT does not bring any improvement. Sometimes it helps to disconnect a smart plug from the power supply and plug it back in after a while. But this rarely works. Removing and reconnecting usually works.

Error message after unsuccessful switching: Error 2024-07-07 20:38:58Publish 'set' 'state' to 'Nous A1Z (01)' failed: 'Error: ZCL command 0xa4c138c8e8fb8baf/1 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 24036 - 1 - 6 - 6 - 11 after 10000ms)'

Fehlermeldung nach Restart von Zigbee2MQTT: Error 2024-07-07 20:43:12Failed to configure 'Nous A1Z (01)', attempt 2 (Error: ZCL command 0xa4c138c8e8fb8baf/1 genBasic.read(["manufacturerName","zclVersion","appVersion","modelId","powerSource",65534], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Timeout - 24036 - 1 - 6 - 0 - 1 after 10000ms) at Object.start (/app/node_modules/zigbee-herdsman/src/utils/waitress.ts:63:23) at EZSPAdapter.sendZclFrameToEndpointInternal (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/adapter/ezspAdapter.ts:485:47) at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20) at Request.send (/app/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:79:20) at Endpoint.zclCommand (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:766:28) at Endpoint.read (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:401:29) at Object.configureMagicPacket (/app/node_modules/zigbee-herdsman-converters/src/lib/tuya.ts:380:9) at configure (/app/node_modules/zigbee-herdsman-converters/src/devices/tuya.ts:4251:13) at Object.configure (/app/node_modules/zigbee-herdsman-converters/src/index.ts:172:21) at Configure.configure (/app/lib/extension/configure.ts:121:13))

Zigbee2MQTT version 1.37.1 commit: ea39d86 Coordinator type EZSP v8 Coordinator revision 6.10.3.0 build 297

NothingWeAre commented 2 months ago

In my case this looks like hardware problem socket works fine if i place it right beside coordinator but same error if it's even 50cm apart

net1957 commented 2 months ago

I have the same problem with 2 NOUS A1Z

one with original firmware, the second upgraded to version 192 manual on/off work on the plug.

HA 2024.7.2 Z2M 1.39.0 Coordinator : SLZB-06M zigbee: 20240510, core: v2.3.6, ha driver: ember

phifre commented 1 month ago

I have the same problem. Usually, disconnecting the switch from the power supply, waiting 10 seconds and then reconnecting it solves the problem.

devironglove commented 3 weeks ago

Also yet happened to me today. I've 15+ NOUS A1Z and this is the first time I've this with one of them. It seems impossible to re-add it after having it forced removed because I couldn't get it to work. I Suspect an hardware error :(

honkbig commented 1 week ago

I also have one out of four Nous A1Z that stopped reporting. I thought it would magically be better by updating to Ember but it made no difference. It works as a switch (pressing the button) but it does not connect or report to network. I tried to reset it (hold power button until it flashes). Did not work. Versions: Zigbee2mqtt 1.40-1.1 Sonoff usb stick v2 with firmware ncp-uart-hw-v7.4.3.0-zbdonglee-115200.gbl It is run in Home Assistant on a Raspberry pi

korttoma commented 1 week ago

Nous sent me a replacement device as according to them the device is faulty. I have 8 of them and only one has failed since I started to use them about 9 months ago.

I had the same symptoms: works locally from button but no communication at all.

phifre commented 1 week ago

FYI, out of the 14 "Nous A1Z" I bought, 2 were faulty (around 15%, similar ratio as @korttoma ) and they replaced them also (after some discussion).