Koenkk / zigbee2mqtt

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

Latest zigbee2mqtt (1.35.3) fails to communicate with devices, 1.35.1 works #21349

Closed mmithril closed 3 weeks ago

mmithril commented 8 months ago

What happened?

My server disk went down. I reinstalled the operating system & recreated the home automation docker composition so latest images (i.e. zigbee2mqtt 1.35.3) were pulled. The network started but nothing worked with coordinator firmware CC1352P2_CC2652P_launchpad_coordinator_20230507.hex that was OK previously.

I read some thread that the fw is unstable so I installed CC1352P2_CC2652P_launchpad_coordinator_20221226.hex but nothing changed.

I messed with it for about 3 hours, being able to get some readings from Aquara sensors, but I was not able to control switches or lights.

Then, during the night, no sensor sent data anymore.

In the morning I noticed that 1.35.3 is quite new and rolled back to the version I have found in the older logs (1.35.1) Now the network works well.

What did you expect to happen?

No issues with the new version - network starts, devices communicate.

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.35.3

Adapter firmware version

20230507

Adapter

https://www.aliexpress.com/item/1005004160661011.html

Setup

Intel Celeron home server with HASS + zigbee2mqtt installed via docker-compose

Debug log

No response

mmithril commented 8 months ago

log.txt

Hessenpower01 commented 8 months ago

Similar problem here, after updating to 1.35.3 some Aqara Opple and Hue switches were not sending anything anymore. After downgrading to 1.35.1 al works well again.

Adapter is Sonoff 3.0 USB

Adriankor commented 8 months ago

Same here with IKEA Tradfri and Conner 2 stick.

Downgrading solving the bug.

Bug appears in .2 and .3 Versions only .1 works.

metaljay commented 8 months ago

Just to add, mine also has the same problem, devices don’t communicate since updating

lyczko commented 8 months ago

I hve the same with TS0601 TRV, don't communicate since updateing from 1.35.1 to 1.35.2 or 1.35.3

Filero commented 8 months ago

Same problem since the update with :

Klikini commented 8 months ago

Same here with a ConBee II. Updating from 1.35.1 to 1.35.2 or 1.35.3 breaks communication with all my Aqara motion sensors, TRÅDFRI motion sensors, Sonoff contact sensors, and Stelpro thermostats. Possibly more devices, but that's all I noticed before downgrading again.

lyczko commented 8 months ago

I hve the same with TS0601 TRV, don't communicate since updateing from 1.35.1 to 1.35.2 or 1.35.3

Also conbee II, i don't check every single device, but trv is on the first position

frank-1971 commented 8 months ago

For me 1.35.1 made the whole Zigbee network very unstable. 1.35.2 works fine. So I did not tried 1.35.3 yet. And from what I am reading, I might wait for the next one... I am on RaspberryPi, with Sonoff ZBDongle-E

jwGeorge commented 8 months ago

I found this thread after opening my own issue. #21592 On 1.35.3 any communication from HA to devices is extremely slow. Device to HA is fine. Using Sonoff 3.0 Dongle-P. Devices are NUE/3A switches and LED Controllers.

Updating to CC1352P2_CC2652P_launchpad_coordinator_20230507.hex made it worse and lose communication with devices after a few hours.

Back to CC1352P2_CC2652P_launchpad_coordinator_20221226.hex and v1.35.1 - very fast now. Haven't tried 1.35.2

jwGeorge commented 8 months ago

Update: Installed 1.36.0 and seems to be working well since this morning. Messages between HA and devices are quick and no timeouts.

Klikini commented 8 months ago

Same here, this seems to be fixed!

Adriankor commented 8 months ago

Version 1.36.0 Fixed as wellAm 04.03.2024 um 02:03 schrieb Andy Castille @.***>: Same here, this seems to be fixed!

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

mmithril commented 7 months ago

I do not know if it is the same problem or a new one. The network is very unstable.

Now have version 1.36.0 with CC1352P2_CC2652P_launchpad_coordinator_20230507.hex. It works for couple of hours then fails again. It seems that disconnecting the dongle makes it work for a longer time than just restarting zigbee2mqtt.

zigbee2mqtt_1    | Zigbee2MQTT:debug 2024-03-17 05:08:25: Error: Command 0x5c0272fffe882182/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (SREQ '--> AF - dataRequest - {"dstaddr":5329,"destendpoint":1,"srcendpoint":1,"clusterid":6,"transid":224,"options":0,"radius":30,"len":3,"data":{"type":"Buffer","data":[1,102,0]}}' failed with status '(0x02: INVALID_PARAM)' (expected '(0x00: SUCCESS)'))
zigbee2mqtt_1    |     at /app/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:320:27
zigbee2mqtt_1    |     at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
zigbee2mqtt_1    |     at ZStackAdapter.dataRequest (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:965:9)
zigbee2mqtt_1    |     at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:387:35)
zigbee2mqtt_1    |     at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
zigbee2mqtt_1    |     at Request.send (/app/node_modules/zigbee-herdsman/src/controller/helpers/request.ts:79:20)
zigbee2mqtt_1    |     at Endpoint.command (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:746:28)
zigbee2mqtt_1    |     at Object.convertSet (/app/node_modules/zigbee-herdsman-converters/src/converters/toZigbee.ts:46:17)
zigbee2mqtt_1    |     at Publish.onMQTTMessage (/app/lib/extension/publish.ts:259:36)
zigbee2mqtt_1    |     at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17)

Please see the full log attached. log.txt

Koenkk commented 7 months ago

@mmithril that's a coordinator crash, 20230507 has some issues, try the new test firmware

mmithril commented 7 months ago

The firmware does not work for me at all. I'll write to it's thread.

github-actions[bot] commented 1 month 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