Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broadcasts failing on ember after migration #22453

Open
julien-billaud opened this issue May 4, 2024 · 88 comments
Open

Broadcasts failing on ember after migration #22453

julien-billaud opened this issue May 4, 2024 · 88 comments
Labels
ember Issues related to ember driver problem Something isn't working

Comments

@julien-billaud
Copy link

What happened?

While I've never been facing any issues for more than a year with the Sonoff Dongle-e + ezsp driver, I've tried to change the driver to ember, but nothing is working (tried multiple time) but sometime losing all the devices, sometime they are still there but impossible to interact with them, and pairing is never working. (for now I returned to the ezsp driver).
I'm not noticing much error in the log (only the broadcast error reported here #22445)

I've tried the exact same configuration on a regular x86 computer running debian (using the same zigbee dongle) and didn't face any issue which seems to be a linked with the Raspberry pi 4

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

switch from eszp to ember driver

Zigbee2MQTT version

1.37.0

Adapter firmware version

7.4.2.0 build 0

Adapter

Sonoff dongle-e

Setup

Raspberry pi 4 using docker image

Debug log

No response

@julien-billaud julien-billaud added the problem Something isn't working label May 4, 2024
@Nerivec Nerivec added the ember Issues related to ember driver label May 4, 2024
@Nerivec
Copy link
Collaborator

Nerivec commented May 4, 2024

Any chance you can downgrade to 7.4.1 and see if you still have those problems on the pi?

@fir3drag0n
Copy link

fir3drag0n commented May 4, 2024

Same problem with SLZB-06M

But I don't have a raspberry pi 4, host is a x86 machine, running unraid and zigbee2mqtt in docker.

@Nerivec
Copy link
Collaborator

Nerivec commented May 4, 2024

Grouping the mentioned broadcasting issue here guys (#22445, #22398)
@supaeasy @alainsch @Ricc68 @VladislavVesely @luqsq

I cannot reproduce this with my Dongle-E. I've tried various firmware, various ways to migrate from ezsp to ember (even bad ones 😅).
Can you guys think of something that may be different in your setup from a "regular setup"?

@raphael1688
Copy link

Same problem with SLZB-06M

But I don't have a raspberry pi 4, host is a x86 machine, running unraid and zigbee2mqtt in docker.

adapter: ember
rtscts: false

May need to add 'rtscts' below adapter setting.

@supaeasy
Copy link

supaeasy commented May 5, 2024

Can you guys think of something that may be different in your setup from a "regular setup"?

Two things: I recently installed https://www.zigbee2mqtt.io/devices/ZFP-1A-CH.html#siglis-zfp-1a-ch

Wich I think is not a very common router. Swiss market only and most likely not very popular. Initially I had problems with it. Also shortly after I installed it, my second Dongle-E that I use as a router had to re-pair and this was one of the first devices in my 2yo network that I never had any problems with.

Second: Shortly before my Router Dongle failed I set reporting interval of every lamp to 1-3 seconds because I didn't see lamps status change quickly enough (or at all) when pressing a HW button like the switches mentioned above. After the Dongle failed I reverted this to 1-30 s and had no problems since. But I did the reverting before I saw the error in logs.

Also I have to say: I don't recognize bigger problems or misbehavior. I just saw the error in the logs. The only real problem I have is that sometimes (not reproducible) some IKEA Bulbs are starting in maximum dimmed mode even though at least one of them is never dimmed manually.

@julien-billaud
Copy link
Author

julien-billaud commented May 5, 2024

Grouping the mentioned broadcasting issue here guys (#22445, #22398) @supaeasy @alainsch @Ricc68 @VladislavVesely @luqsq

I cannot reproduce this with my Dongle-E. I've tried various firmware, various ways to migrate from ezsp to ember (even bad ones 😅). Can you guys think of something that may be different in your setup from a "regular setup"?

As the dongle-e is working using a docker images on an x86 environnement I'm guessing there is no issue with the zigbee Dongle, so if I focus on some specifics configs, here is what's coming to my mind as part of the change that might be different than a regular installation :

  • RPI4 using a Argon One case
  • RPI4 is booting from an SSD which is plugged to the USB3 port just bellow the Zigbee dongle
  • 64 bit is enabled for that OS
  • The persistent data of the container are stored on an encrypted (Luks volume) which is being mounted on boot

everything else is quite standard in my opinion.

@alainsch
Copy link

alainsch commented May 5, 2024

Nothing special over here. Had 1.36 running with SLZD-06M running on zigbee FW 20231030. Everything was running OK with adapter: ezsp

Did the following steps:

  • upgraded addon to 1.37

  • received the "zh:ezsp: Deprecated driver 'ezsp' currently in use, 'ember' will become the..." messages

  • changed adapter: ezsp to adapter: ember and restarted

  • got an error that my coordinator was not on EZSP13

  • upgraded my coordinator firmware to FW 20240408

  • as adviced by SMLight, changed config in zigbee2mqtt to "adapter: ember" + "rtscts: false"

  • restarted zigbee2mqtt and zigbee network is working

  • now at startup I get the message "zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":19,"sourceEndpoint":0,"destinationEndpoint":0,"options":0,"groupId":0,"sequence":212} messageTag=255]"

  • pairing new entities does not work due to the same error

  • switching back to "adapter: ezsp" doesn't work either as I then get the error "zh:controller:greenpower: Received undefined command from '0'". another used already created a ticket for this.

So currently I'm in a state that my network is running, but I can't add any new devices.

Is there any more info we can provide?

@supaeasy
Copy link

supaeasy commented May 5, 2024

Oh I should have mentioned that I am running HAOS in a VM on Synology DSM 7.2.

Interference should not be a problem as my dongle is in a USB 2 port with a 2 m extension cable.

@alainsch
Copy link

alainsch commented May 5, 2024

My setup is HAOS running on a ODROID M1 with 8GB RAM and 512 GB SSD.

@fir3drag0n
Copy link

fir3drag0n commented May 5, 2024

Nothing special over here. Had 1.36 running with SLZD-06M running on zigbee FW 20231030. Everything was running OK with adapter: ezsp

Did the following steps:

  • upgraded addon to 1.37
  • received the "zh:ezsp: Deprecated driver 'ezsp' currently in use, 'ember' will become the..." messages
  • changed adapter: ezsp to adapter: ember and restarted
  • got an error that my coordinator was not on EZSP13
  • upgraded my coordinator firmware to FW 20240408
  • as adviced by SMLight, changed config in zigbee2mqtt to "adapter: ember" + "rtscts: false"
  • restarted zigbee2mqtt and zigbee network is working
  • now at startup I get the message "zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":19,"sourceEndpoint":0,"destinationEndpoint":0,"options":0,"groupId":0,"sequence":212} messageTag=255]"
  • pairing new entities does not work due to the same error
  • switching back to "adapter: ezsp" doesn't work either as I then get the error "zh:controller:greenpower: Received undefined command from '0'". another used already created a ticket for this.

So currently I'm in a state that my network is running, but I can't add any new devices.

Is there any more info we can provide?

Exactly the same behavior. Plus the problem that no new devices can't be paired with ember. But with ezsp I can add devices. In my case especially all my routers get disconnected.

@fir3drag0n
Copy link

I do have 4 mmwave presence sensors. Maybe these devices have an influence.

@alainsch
Copy link

alainsch commented May 5, 2024

Sorry, posted my follow-up on the wrong ticket...

These are the messages I see when I startup Zigbee2MQTT. Maybe they are related.

[2024-05-05 11:00:43] info: z2m: Logging to console, file (filename: log.log)
[2024-05-05 11:00:49] info: z2m: Starting Zigbee2MQTT version 1.37.0 (commit #unknown)
[2024-05-05 11:00:49] info: z2m: Starting zigbee-herdsman (0.45.0)
[2024-05-05 11:00:49] info: zh:ember: ======== Ember Adapter Starting ========
[2024-05-05 11:00:49] info: zh:ember:ezsp: ======== EZSP starting ========
[2024-05-05 11:00:49] info: zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-05-05 11:00:49] info: zh:ember:uart:ash: Socket ready
[2024-05-05 11:00:49] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-05-05 11:00:51] info: zh:ember:uart:ash: ======== ASH connected ========
[2024-05-05 11:00:51] info: zh:ember:uart:ash: ======== ASH started ========
[2024-05-05 11:00:51] info: zh:ember:ezsp: ======== EZSP started ========
[2024-05-05 11:00:51] warning: zh:ember: [EzspConfigId] Failed to SET "ADDRESS_TABLE_SIZE" TO "16" with status=ERROR_OUT_OF_MEMORY. Firmware value will be used instead.
[2024-05-05 11:00:51] warning: zh:ember: [EzspConfigId] Failed to SET "APS_UNICAST_MESSAGE_COUNT" TO "32" with status=ERROR_OUT_OF_MEMORY. Firmware value will be used instead.
[2024-05-05 11:00:51] warning: zh:ember: [EzspConfigId] Failed to SET "NEIGHBOR_TABLE_SIZE" TO "26" with status=ERROR_OUT_OF_MEMORY. Firmware value will be used instead.
[2024-05-05 11:00:51] warning: zh:ember: [EzspConfigId] Failed to SET "SOURCE_ROUTE_TABLE_SIZE" TO "200" with status=ERROR_INVALID_VALUE. Firmware value will be used instead.
[2024-05-05 11:00:51] warning: zh:ember: [EzspConfigId] Failed to SET "MULTICAST_TABLE_SIZE" TO "16" with status=ERROR_OUT_OF_MEMORY. Firmware value will be used instead.
[2024-05-05 11:00:51] info: zh:ember: [STACK STATUS] Network up.
[2024-05-05 11:00:51] info: zh:ember: [INIT TC] NCP network matches config.
[2024-05-05 11:00:51] info: zh:ember: [CONCENTRATOR] Started source route discovery. 1247ms until next broadcast.
[2024-05-05 11:00:51] info: z2m: zigbee-herdsman started (resumed)
[2024-05-05 11:00:51] info: z2m: Coordinator firmware version: '{"meta":{"build":0,"ezsp":13,"major":7,"minor":4,"patch":1,"revision":"7.4.1 [GA]","special":0,"type":170},"type":"EmberZNet"}'
[2024-05-05 11:00:51] info: z2m: Currently 12 devices are joined:
...

[2024-05-05 11:00:51] info: z2m: Zigbee: disabling joining new devices.
[2024-05-05 11:00:51] info: z2m: Connecting to MQTT server at mqtt://core-mosquitto:1883
[2024-05-05 11:00:52] info: z2m: Connected to MQTT server
[2024-05-05 11:00:52] info: z2m: Started frontend on port 8099
[2024-05-05 11:00:53] info: z2m: Zigbee2MQTT started!
[2024-05-05 11:01:11] error: zh:ember: Delivery of BROADCAST failed for "65532" [apsFrame={"profileId":0,"clusterId":31,"sourceEndpoint":0,"destinationEndpoint":0,"options":0,"groupId":0,"sequence":0} messageTag=255]
[2024-05-05 11:01:23] error: zh:ember: Delivery of BROADCAST failed for "65532" [apsFrame={"profileId":0,"clusterId":31,"sourceEndpoint":0,"destinationEndpoint":0,"options":0,"groupId":0,"sequence":0} messageTag=255]
[2024-05-05 11:01:33] error: zh:ember: Delivery of BROADCAST failed for "65532" [apsFrame={"profileId":0,"clusterId":31,"sourceEndpoint":0,"destinationEndpoint":0,"options":0,"groupId":0,"sequence":0} messageTag=255]

Whenever I try to start the pairing process, I see these messages:

[2024-05-05 11:03:28] info: z2m: Zigbee: allowing new devices to join.
[2024-05-05 11:03:28] info: zh:ember: [STACK STATUS] Network opened.
[2024-05-05 11:03:29] error: zh:ember: Delivery of BROADCAST failed for "65532" [apsFrame={"profileId":0,"clusterId":54,"sourceEndpoint":0,"destinationEndpoint":0,"options":256,"groupId":0,"sequence":240} messageTag=2]
[2024-05-05 11:03:29] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":41440,"clusterId":33,"sourceEndpoint":242,"destinationEndpoint":242,"options":256,"groupId":0,"sequence":241} messageTag=3]

@fir3drag0n
Copy link

@alainsch I also had a discussion with @Nerivec at discord, because I also have the same stillsaying error message.

@alainsch
Copy link

alainsch commented May 5, 2024

Exactly the same behavior. Plus the problem that no new devices can't be paired with ember. But with ezsp I can add devices. In my case especially all my routers get disconnected.

Ah yes, and I wasn't aware it is related...

I have a SLZB-06M as coordinator (groundfloor) and a Sonoff Dongle-E flashed as router (first floor). Yesterday evening my Sonoff router got disconnected. It is while trying to pair it again that I found out I couldn't pair any devices.

I have a very small zigbee network (more a test setup here), so I have no other routers, only end devices.

@alainsch
Copy link

alainsch commented May 5, 2024

@alainsch I also had a discussion with @Nerivec at discord, because I also have the same stillsaying error message.

I'm pretty new to discord, I'll try to find the channel (?) so I can follow the discussion.

@fir3drag0n
Copy link

Exactly the same behavior. Plus the problem that no new devices can't be paired with ember. But with ezsp I can add devices. In my case especially all my routers get disconnected.

Ah yes, and I wasn't aware it is related...

I have a SLZB-06M as coordinator (groundfloor) and a Sonoff Dongle-E flashed as router (first floor). Yesterday evening my Sonoff router got disconnected. It is while trying to pair it again that I found out I couldn't pair any devices.

I have a very small zigbee network (more a test setup here), so I have no other routers, only end devices.

I already have nearly 70 devices...

@alainsch
Copy link

alainsch commented May 5, 2024

I already have nearly 70 devices...

Here at home, HA is a small setup (12 devices) I use mainly for testing. But in our vacation home, everything is controlled by HA and we have 51 zigbee and 33 ESPHome devices.

In this second setup, I also have the same SLZB-06M coordinator, but still on the older 20231030 firmware, where the adapter is still defined as 'adapter: ezsp'.

Since I ugraded to 1.37, I couldn't pair any new devices too, due to another error: "zh:controller:greenpower: Received undefined command from '0'"

And that setup is not a test setup :-(

@fir3drag0n
Copy link

@alainsch I also had a discussion with @Nerivec at discord, because I also have the same stillsaying error message.

I'm pretty new to discord, I'll try to find the channel (?) so I can follow the discussion.

In the development-branch channel. The similarity we both have is the same coordinator (I am at the dev Firmware right now). But maybe you can rather rule out the cause if you only have 12 devices in your setup.

@Ricc68
Copy link

Ricc68 commented May 5, 2024

Very very simple configuration here.

HAOS on qemu VM in low end x86-64 QNAP nas, resources 2 cpu+2 GB ram as suggested by HAOS setup guide.
I have seen a lot of ppl using VMs or arm devices: one common point may be low resources in terms of CPU power and/or RAM.

Back to the setup, I can report two setups:

  1. ZBDongle-E with fw 7.4.2, Z2M 1.37.0, ember driver. Only the ZBDongle-E is in the ZigBee network so it is only the coordinator. The broadcast errors happens. This may rule out the devices and spot the light on the coordinator.
  2. ZBDongle-E as above in above setup but with 2 Sonoff TRVZB valves added to the ZigBee network: same error continues to happen. But since it was happening with the coordinator alone as for setup 1, I would rule out the fact that I have added the 2 devices.

Anyway I see from other posts that the error is happening with a variety of devices and if I look at another common factor, all the variety of networks showing the error have -> a coordinator <- which again spots the light on the coordinator.

I see that @Nerivec is not able to reproduce the issue, and, needless to say, also Nerivec is working with a coordinator which should obviously rule out the coordinator itself (unless there is some elusive coordinator hardware common factor), maybe a good starting point for you would be to constrain the system on a low resource/slow host or a VM with limited resources to see what happens with the coordinator handling of Z2M.

Maybe another hint maybe found in the first post from @julien-billaud: "I've tried the exact same configuration on a regular x86 computer running debian (using the same zigbee dongle) and didn't face any issue which seems to be a linked with the Raspberry pi 4".

@alainsch
Copy link

alainsch commented May 5, 2024

OK, because my setup is a small setup mainly for test, I did the following steps:

  • removed zigbee2mqtt addon
  • removed the zigbee2mqtt folder from my config
  • re-installed zigbee2mqtt with the SLZB-06M and "adapter:ezsp"
  • startup and got the following messages

[12:01:03] INFO: Preparing to start...
[12:01:04] INFO: Socat not enabled
[12:01:10] INFO: Starting Zigbee2MQTT...
[2024-05-05 12:01:14] info: z2m: Logging to console, file (filename: log.log)
[2024-05-05 12:01:20] info: z2m: Starting Zigbee2MQTT version 1.37.0 (commit #unknown)
[2024-05-05 12:01:20] info: z2m: Starting zigbee-herdsman (0.45.0)
[2024-05-05 12:01:20] warning: zh:ezsp: Deprecated driver 'ezsp' currently in use, 'ember' will become the officially supported EmberZNet driver in next release. If using Zigbee2MQTT see #21462
[2024-05-05 12:01:24] info: zh:ezsp:driv: Leaving current network and forming new network
[2024-05-05 12:01:25] info: zh:ezsp:driv: Form network
[2024-05-05 12:01:26] info: zh:controller: Wrote coordinator backup to '/config/zigbee2mqtt/level_0/coordinator_backup.json'
[2024-05-05 12:01:26] info: z2m: zigbee-herdsman started (reset)
[2024-05-05 12:01:26] info: z2m: Coordinator firmware version: '{"meta":{"maintrel":"1 ","majorrel":"7","minorrel":"4","product":13,"revision":"7.4.1.0 build 0"},"type":"EZSP v13"}'
[2024-05-05 12:01:26] info: z2m: Currently 0 devices are joined:
[2024-05-05 12:01:26] info: z2m: Zigbee: disabling joining new devices.
[2024-05-05 12:01:27] info: z2m: Connecting to MQTT server at mqtt://core-mosquitto:1883
[2024-05-05 12:01:27] info: z2m: Connected to MQTT server
[2024-05-05 12:01:28] info: z2m: Started frontend on port 8099
[2024-05-05 12:01:28] info: z2m: Zigbee2MQTT started!

  • when I try to start pairing a device, I see

[2024-05-05 12:01:40] info: z2m: Zigbee: allowing new devices to join.
[2024-05-05 12:01:41] error: zh:controller:greenpower: Received undefined command from '0'
[2024-05-05 12:02:00] info: zh:controller: Interview for '0x00158d0008083d2a' started
[2024-05-05 12:02:00] info: z2m: Device '0x00158d0008083d2a' joined
[2024-05-05 12:02:00] info: z2m: Starting interview of '0x00158d0008083d2a'
[2024-05-05 12:02:11] info: zh:controller: Succesfully interviewed '0x00158d0008083d2a'
[2024-05-05 12:02:11] info: z2m: Successfully interviewed '0x00158d0008083d2a', device has successfully been paired
[2024-05-05 12:02:11] info: z2m: Device '0x00158d0008083d2a' is supported, identified as: Aqara Motion sensor (RTCGQ11LM)
[2024-05-05 12:02:11] info: z2m: Configuring '0x00158d0008083d2a'
[2024-05-05 12:02:11] info: z2m: Successfully configured '0x00158d0008083d2a'

  • so pairing is possible in "adapter:ezsp" mode. Removed the device...

[2024-05-05 12:02:19] info: z2m: Removing device '0x00158d0008083d2a' (block: false, force: true)
[2024-05-05 12:02:19] info: z2m: Successfully removed device '0x00158d0008083d2a' (block: false, force: true)

  • changed the config to "adapter: ember" and "rtscts: false" and restarted zigbee2mqtt

[12:06:41] INFO: Preparing to start...
[12:06:42] INFO: Socat not enabled
[12:06:48] INFO: Starting Zigbee2MQTT...
[2024-05-05 12:06:53] info: z2m: Logging to console, file (filename: log.log)
[2024-05-05 12:06:58] info: z2m: Starting Zigbee2MQTT version 1.37.0 (commit #unknown)
[2024-05-05 12:06:58] info: z2m: Starting zigbee-herdsman (0.45.0)
[2024-05-05 12:06:59] info: zh:ember: ======== Ember Adapter Starting ========
[2024-05-05 12:06:59] info: zh:ember:ezsp: ======== EZSP starting ========
[2024-05-05 12:06:59] info: zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-05-05 12:06:59] info: zh:ember:uart:ash: Socket ready
[2024-05-05 12:06:59] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-05-05 12:07:00] info: zh:ember:uart:ash: ======== ASH connected ========
[2024-05-05 12:07:00] info: zh:ember:uart:ash: ======== ASH started ========
[2024-05-05 12:07:00] info: zh:ember:ezsp: ======== EZSP started ========
[2024-05-05 12:07:00] warning: zh:ember: [EzspConfigId] Failed to SET "ADDRESS_TABLE_SIZE" TO "16" with status=ERROR_OUT_OF_MEMORY. Firmware value will be used instead.
[2024-05-05 12:07:00] warning: zh:ember: [EzspConfigId] Failed to SET "APS_UNICAST_MESSAGE_COUNT" TO "32" with status=ERROR_OUT_OF_MEMORY. Firmware value will be used instead.
[2024-05-05 12:07:00] warning: zh:ember: [EzspConfigId] Failed to SET "NEIGHBOR_TABLE_SIZE" TO "26" with status=ERROR_OUT_OF_MEMORY. Firmware value will be used instead.
[2024-05-05 12:07:00] warning: zh:ember: [EzspConfigId] Failed to SET "SOURCE_ROUTE_TABLE_SIZE" TO "200" with status=ERROR_INVALID_VALUE. Firmware value will be used instead.
[2024-05-05 12:07:00] warning: zh:ember: [EzspConfigId] Failed to SET "MULTICAST_TABLE_SIZE" TO "16" with status=ERROR_OUT_OF_MEMORY. Firmware value will be used instead.
[2024-05-05 12:07:00] info: zh:ember: [STACK STATUS] Network up.
[2024-05-05 12:07:00] info: zh:ember: [INIT TC] NCP network matches config.
[2024-05-05 12:07:00] info: zh:ember: [CONCENTRATOR] Started source route discovery. 1248ms until next broadcast.
[2024-05-05 12:07:01] info: z2m: zigbee-herdsman started (resumed)
[2024-05-05 12:07:01] info: z2m: Coordinator firmware version: '{"meta":{"build":0,"ezsp":13,"major":7,"minor":4,"patch":1,"revision":"7.4.1 [GA]","special":0,"type":170},"type":"EmberZNet"}'
[2024-05-05 12:07:01] info: z2m: Currently 0 devices are joined:
[2024-05-05 12:07:01] info: z2m: Zigbee: disabling joining new devices.
[2024-05-05 12:07:01] info: z2m: Connecting to MQTT server at mqtt://core-mosquitto:1883
[2024-05-05 12:07:01] info: z2m: Connected to MQTT server
[2024-05-05 12:07:02] info: z2m: Started frontend on port 8099
[2024-05-05 12:07:02] info: z2m: Zigbee2MQTT started!

  • when I try to pair the same aqara motion sensor...

[2024-05-05 12:07:40] info: z2m: Zigbee: allowing new devices to join.
[2024-05-05 12:07:40] info: zh:ember: [STACK STATUS] Network opened.
[2024-05-05 12:08:08] info: zh:controller: Interview for '0x00158d0008083d2a' started
[2024-05-05 12:08:08] info: z2m: Device '0x00158d0008083d2a' joined
[2024-05-05 12:08:09] info: z2m: Starting interview of '0x00158d0008083d2a'
[2024-05-05 12:08:11] warning: zh:ember: [ZDO] Node descriptor for "7769" reports device is only compliant to revision "pre-21" of the ZigBee specification (current revision: 23).
[2024-05-05 12:08:47] info: zh:controller: Succesfully interviewed '0x00158d0008083d2a'
[2024-05-05 12:08:47] info: z2m: Successfully interviewed '0x00158d0008083d2a', device has successfully been paired
[2024-05-05 12:08:47] info: z2m: Device '0x00158d0008083d2a' is supported, identified as: Aqara Motion sensor (RTCGQ11LM)
[2024-05-05 12:08:47] info: z2m: Configuring '0x00158d0008083d2a'
[2024-05-05 12:08:47] info: z2m: Successfully configured '0x00158d0008083d2a'

so pairing is working and I didn't get the broadcast error now, not while starting up and not while pairing.

So starting over with zigbee2mqtt solved it for me, but that is not possible for everyone I think :-)

@alainsch
Copy link

alainsch commented May 5, 2024

so pairing is working and I didn't get the broadcast error now, not while starting up and not while pairing.

So starting over with zigbee2mqtt solved it for me, but that is not possible for everyone I think :-)

No, not completly... after approx 5 minutes, pairing was again not possible. No errors, but the connection / interview didn't start. Tried to restart z2m and reboot the coordinator, nothing helps.

Downgraded the coordinator to the 20231030 FW (ESZP12) and switched back to "adapter: ezsp" and I still got the "error: zh:controller:greenpower: Received undefined command from '0' " messages, but pairing is possible again.

Will see in about 10 minutes...

@fir3drag0n
Copy link

fir3drag0n commented May 5, 2024

Very very simple configuration here.

HAOS on qemu VM in low end x86-64 QNAP nas, resources 2 cpu+2 GB ram as suggested by HAOS setup guide. I have seen a lot of ppl using VMs or arm devices: one common point may be low resources in terms of CPU power and/or RAM.

Back to the setup, I can report two setups:

  1. ZBDongle-E with fw 7.4.2, Z2M 1.37.0, ember driver. Only the ZBDongle-E is in the ZigBee network so it is only the coordinator. The broadcast errors happens. This may rule out the devices and spot the light on the coordinator.
  2. ZBDongle-E as above in above setup but with 2 Sonoff TRVZB valves added to the ZigBee network: same error continues to happen. But since it was happening with the coordinator alone as for setup 1, I would rule out the fact that I have added the 2 devices.

Anyway I see from other posts that the error is happening with a variety of devices and if I look at another common factor, all the variety of networks showing the error have -> a coordinator <- which again spots the light on the coordinator.

I see that @Nerivec is not able to reproduce the issue, and, needless to say, also Nerivec is working with a coordinator which should obviously rule out the coordinator itself (unless there is some elusive coordinator hardware common factor), maybe a good starting point for you would be to constrain the system on a low resource/slow host or a VM with limited resources to see what happens with the coordinator handling of Z2M.

Maybe another hint maybe found in the first post from @julien-billaud: "I've tried the exact same configuration on a regular x86 computer running debian (using the same zigbee dongle) and didn't face any issue which seems to be a linked with the Raspberry pi 4".

I do also have one Sonoff TRVZB.

And I also started fresh with one new zigbee2mqtt config and just the coordinator, and even at start the pairing/broadcast issue appeared immediately. I don't think that it is an issue with raspberry pi as I am using an x86 machine running a zigbee2mqtt container (docker).

I also observed that a coordinator reset sometimes helped. @Nerivec recommended to do a hard reset with my device (that includes pushing the physical reset button). This also helped me once starting without any issues, but after restarting again, I again suffered by those errors.

@Ricc68
Copy link

Ricc68 commented May 5, 2024

HAOS on qemu VM in low end x86-64 QNAP nas, resources 2 cpu+2 GB ram as suggested by HAOS setup guide. I have seen a lot of ppl using VMs or arm devices: one common point may be low resources in terms of CPU power and/or RAM.

I don't think that it is an issue with raspberry pi as I am using an x86 machine running a zigbee2mqtt container (docker).

Just to have a better understanding: what CPU/RAM is your x86 machine? Is it running what OS? Is it on bare metal or on a virtualization environment like Proxmox or other VM of any sort? I agree dockers are less demanding, but performance then is limited by the host so it would be useful to know what kind of host is running your docker and how loaded is your x86 system.

@fir3drag0n
Copy link

fir3drag0n commented May 5, 2024

It is a Intel® Core™ i3-9100 system with 64 GB RAM ECC.
It is running Unraid / NAS system with virtualization options (docker or vms).

@Nerivec
Copy link
Collaborator

Nerivec commented May 5, 2024

I have a low-resource VM that mimics the specs of an average PI 4 to run tests on stuff that I know affect performance. No issue there either. No failed broadcast without any device, nor with devices, and successfully paired & re-paired a dozen devices since it's been running for a couple of hours.

But just in case, you can try giving it some breathing room with the adapter_delay setting:

advanced:
  adapter_delay: 20

Default/min is 5, max is 60 (milliseconds). Note that at 60, you are likely to experience some delays when triggering devices rapidly.


PS: I created an issue in the firmware repo for the SLZB-06M and the failing config IDs. May or may not be related to the ensuing troubles, but we need to get to the bottom of it nonetheless. darkxst/silabs-firmware-builder#90

@Ricc68
Copy link

Ricc68 commented May 5, 2024

adapter_delay: 20

Added the adapter_delay option, no joy:

[2024-05-05 14:42:54] error: zh:ember: Delivery of BROADCAST failed for "65532" [apsFrame={"profileId":0,"clusterId":54,"sourceEndpoint":0,"destinationEndpoint":0,"options":256,"groupId":0,"sequence":170} messageTag=255]
[2024-05-05 14:42:55] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":41440,"clusterId":33,"sourceEndpoint":242,"destinationEndpoint":242,"options":256,"groupId":0,"sequence":171} messageTag=1]
[2024-05-05 14:42:57] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":19,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":53} messageTag=255]
[2024-05-05 14:44:07] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":19,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":59} messageTag=255]

at startup of z2m.

@julien-billaud
Copy link
Author

I've been doing little more testing and figured out "what was wrong".
I've done the following tests :
Start on a fresh install for the pi4 and install the latest version of docker, all from an SD card (removing de SSD plugged on the USB3 port) only remaining plugged, the dongle-e on the second USB3 port.
Averything has been running perfectly fine with the ember driver.
From that fresh install, I then plugged the SSD on the USB3 port then it started to be way less responsive so I've rebooted the system and got the exact same "BROADCAST" errors and nothing was working.
Then, I've switched the dongle-e to one of the USB2.0 port and kept the SSD to one of the USB3 port then no more error.
last test, starting the PI4 from the SSD plugged to USB3.0 then the Dongle-e to USB2.0 and now everything is working fine with ember driver.

To conclude, it seems like the ember driver is for some reason little bit more sensitive (I know that using the Dongle without extension cord isn't ideal).
Hope it will help for those who are observing the same "BROADCAST" error after switching from ezsp to ember driver and/or what in that driver is leading to that strange behavior.

@supaeasy
Copy link

supaeasy commented May 5, 2024

Can't be my problem. USB2 Port with 2m extension cable.

@Nerivec
Copy link
Collaborator

Nerivec commented May 18, 2024

@majorsl Please create a new issue with a debug log attached as your issue appears unrelated to this one.

@Ricc68
Copy link

Ricc68 commented May 18, 2024

@Nerivec good news I think: yesterday I have restarted z2m with log debug but in 24h I did not receive any broadcast error.
I have checked all the broadcasts and they are all to destination 65533 and they are all type=BROADCAST and status=SUCCESS.
I will keep the debug log and see if it will happen again in the next 24h, otherwise I will call it fixed and the occasional broadcast error just a glitch in my zigbee network.

@IetIesAai
Copy link

I also had this problem with my skyconnect on firmware 7.4.2 - and by pure coincidence I noticed the placement of the dongle had something to do with it. I used something like bluetack to hold the dongle and usb extension lead (on a usb 2 port) to the side of the wood cabinet. This has worked well with ezsp for a year or so. After upgrading to 7.4.2 and changing to ember, I immediately had the described issue with broadcasts. However, due to removing the dongle for the firmware upgrade, it wasn't as well connected to the wall as before, and it dropped down. Suddenly the zigbee network started performing without any problem with the ember driver. (though I also upgraded to the latest version of Z2m, so I thought this had solved it). I noticed the dongle had fallen down, and put it back in it's place, and the issue returned!

I now upgraded firmware to 7.4.3 and so far haven't been able to reproduce the issue anymore.... Very strange, but who knows this description helps in tracking it down....

@remb0
Copy link

remb0 commented May 19, 2024

I have the same error.
skyconnect (all firmware versions tested) strange thing is that only my powered devices(routers) are staying offline

@IetIesAai
Copy link

I have the same error. skyconnect (all firmware versions tested) strange thing is that only my powered devices(routers) are staying offline

Just wondering if it only seems that way, because powered devices are typically pinged much more frequently, and thus show as "offline" much sooner than battery devices....

@Ricc68
Copy link

Ricc68 commented May 19, 2024

Ok I confirm that in the last 48h I haven't had any broadcast error with fw 7.4.3. I'll disable debug now: to me is fixed.

@itwtds
Copy link

itwtds commented May 19, 2024

I have the same error. skyconnect (all firmware versions tested) strange thing is that only my powered devices(routers) are staying offline

Just wondering if it only seems that way, because powered devices are typically pinged much more frequently, and thus show as "offline" much sooner than battery devices....

This is what I see as well. I tried running it for an extended period, and they ultimately all go offline.

@extreme4u
Copy link

extreme4u commented May 19, 2024

@IetIesAai

I also had this problem with my skyconnect on firmware 7.4.2 - and by pure coincidence I noticed the placement of the dongle had something to do with it. I used something like bluetack to hold the dongle and usb extension lead (on a usb 2 port) to the side of the wood cabinet. This has worked well with ezsp for a year or so. After upgrading to 7.4.2 and changing to ember, I immediately had the described issue with broadcasts. However, due to removing the dongle for the firmware upgrade, it wasn't as well connected to the wall as before, and it dropped down. Suddenly the zigbee network started performing without any problem with the ember driver. (though I also upgraded to the latest version of Z2m, so I thought this had solved it). I noticed the dongle had fallen down, and put it back in it's place, and the issue returned!

I now upgraded firmware to 7.4.3 and so far haven't been able to reproduce the issue anymore.... Very strange, but who knows this description helps in tracking it down....

My Skyconnect is currently running on version 7.4.2, and I was able to reproduce the behavior you described. My Skyconnect is also connected with a USB extension and was mounted on a wall surrounded by wood using double-sided tape. As a test, I placed the dongle on the floor. Suddenly, the lamps could be switched on and off without any problems. This behavior is highly interesting.

Unfortunately, I cannot find the firmware version 7.4.3. Where can I download this version?

@IetIesAai
Copy link

@IetIesAai

I also had this problem with my skyconnect on firmware 7.4.2 - and by pure coincidence I noticed the placement of the dongle had something to do with it. I used something like bluetack to hold the dongle and usb extension lead (on a usb 2 port) to the side of the wood cabinet. This has worked well with ezsp for a year or so. After upgrading to 7.4.2 and changing to ember, I immediately had the described issue with broadcasts. However, due to removing the dongle for the firmware upgrade, it wasn't as well connected to the wall as before, and it dropped down. Suddenly the zigbee network started performing without any problem with the ember driver. (though I also upgraded to the latest version of Z2m, so I thought this had solved it). I noticed the dongle had fallen down, and put it back in it's place, and the issue returned!
I now upgraded firmware to 7.4.3 and so far haven't been able to reproduce the issue anymore.... Very strange, but who knows this description helps in tracking it down....

My Skyconnect is currently running on version 7.4.2, and I was able to reproduce the behavior you described. My Skyconnect is also connected with a USB extension and was mounted on a wall surrounded by wood using double-sided tape. As a test, I placed the dongle on the floor. Suddenly, the lamps could be switched on and off without any problems. This behavior is highly interesting.

Unfortunately, I cannot find the firmware version 7.4.3. Where can I download this version?

I got it from https://github.com/darkxst/silabs-firmware-builder/blob/4.4.3/firmware_builds/skyconnect/ncp-uart-hw-v7.4.3.0-skyconnect-115200.gbl

btw: that one also seems to work with rts/cts: true (hardware flow control) - the previous ones didn't for me.

@supaeasy
Copy link

For the Silicon Labs flasher you need the raw link: https://github.com/darkxst/silabs-firmware-builder/raw/4.4.3/firmware_builds/zbdonglee/ncp-uart-hw-v7.4.3.0-zbdonglee-115200.gbl

I just updated, will see if that works better.

I also found that at least one, maybe two IKEA Tradfri bulbs are having problems: they stop reacting and when I switch them off and on again they start minimally dimmed. After that they are starting to react normally again - for some time. Then the error happens again. Will see if the new fw helps.

@remb0
Copy link

remb0 commented May 20, 2024

I have it working now. what I changed: swapped all usb ports and configure them again in proxmox.
all got other names, and no duplicate mountings.
I put rtscs: false instead of not having that line, and also added the baudrate, however I use the default.

rebooted the system and it's working now.

@Nerivec
Copy link
Collaborator

Nerivec commented May 20, 2024

For anyone that can't seem to fix this, you can try clearing the NVM3 on your adapter. Make sure to follow the procedure properly to ensure you can restore your network config after (otherwise need to re-pair everything).
darkxst/silabs-firmware-builder#84 (comment)

If you don't care about restoring your network config, you can just flash the init file like a regular firmware, then flash the proper firmware for your adapter.

@extreme4u
Copy link

extreme4u commented May 20, 2024

@IetIesAai

I also had this problem with my skyconnect on firmware 7.4.2 - and by pure coincidence I noticed the placement of the dongle had something to do with it. I used something like bluetack to hold the dongle and usb extension lead (on a usb 2 port) to the side of the wood cabinet. This has worked well with ezsp for a year or so. After upgrading to 7.4.2 and changing to ember, I immediately had the described issue with broadcasts. However, due to removing the dongle for the firmware upgrade, it wasn't as well connected to the wall as before, and it dropped down. Suddenly the zigbee network started performing without any problem with the ember driver. (though I also upgraded to the latest version of Z2m, so I thought this had solved it). I noticed the dongle had fallen down, and put it back in it's place, and the issue returned!
I now upgraded firmware to 7.4.3 and so far haven't been able to reproduce the issue anymore.... Very strange, but who knows this description helps in tracking it down....

My Skyconnect is currently running on version 7.4.2, and I was able to reproduce the behavior you described. My Skyconnect is also connected with a USB extension and was mounted on a wall surrounded by wood using double-sided tape. As a test, I placed the dongle on the floor. Suddenly, the lamps could be switched on and off without any problems. This behavior is highly interesting.
Unfortunately, I cannot find the firmware version 7.4.3. Where can I download this version?

I got it from https://github.com/darkxst/silabs-firmware-builder/blob/4.4.3/firmware_builds/skyconnect/ncp-uart-hw-v7.4.3.0-skyconnect-115200.gbl

btw: that one also seems to work with rts/cts: true (hardware flow control) - the previous ones didn't for me.


Thanks, I just flashed to 7.3.3. It is super important to use the USB cable extension to avoid USB interference. Otherwise, you get these broadcast errors. My setup is now working with this USB extension and Skyconnect on 7.3.3 and EmberZNet.

I am now getting these errors at startup:

[14:46:03] INFO: Preparing to start...
[14:46:04] INFO: Socat not enabled
[14:46:04] INFO: Starting Zigbee2MQTT...
[2024-05-20 14:46:07] error:  zh:ember:uart:ash: Received ERROR from NCP while connecting, with code=RESET_WATCHDOG.
[2024-05-20 14:46:07] error:  zh:ember:uart:ash: ASH disconnected | NCP status: ASH_NCP_FATAL_ERROR
[2024-05-20 14:46:07] error:  zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.

Since 14:46, no more errors have occurred. Just a ton of debug info. @Nerivec, if you want, I can send you the debug log. However, I would like to send it directly and not publicly. Of course, only if it will help to fix problems.

@Nerivec
Copy link
Collaborator

Nerivec commented May 20, 2024

@extreme4u Those errors at startup (RESET_WATCHDOG) are due to a hardware flow control bug. It's being tracked, silabs is aware, but it's been around for a long time... both Z2M and ZHA implement a retry mechanism to work around it. It should not prevent proper start, let me know if it ever does.
If you want to get rid of these errors entirely, darkxst has a branch of firmware with hardware flow control disabled; these should result in "cleaner" starts. https://github.com/darkxst/silabs-firmware-builder/tree/ember-nohw/firmware_builds (make sure to use these with rtscts: false)

PS: If you ever want to share logs directly, you can find me on zigbee2mqtt discord, then send me a DM.

@LDprg
Copy link

LDprg commented May 22, 2024

For me it was fixed by following steps (note that it involves reconnecting all devices):

  1. shutdown zigee2mqtt and the mqtt server
  2. flash nvm3 and afterwards flash 7.4.3 firmware onto the dongle e
  3. delete all mqtt data (especially the database) except config
  4. delete all zigbee2mqtt data except config (note that all config including homeassitant entity ids are saved in the config no information lost, they will be set after reconnecting the device)
  5. change the zigee2mqtt config file to use the zigbee channel 25 (probably the best channels)
  6. clean your config file (take a backup first), delete unnecessary config which just sets the default, delete config which doesn't seem necessary and add adapter: ember to the dongle config
  7. change your all network ids using GENERATE in the z2m config
  8. verify that your wifi isn't on the wifi channel 11 (because of interference with zigbee)
  9. restart zigee2mqtt and mqtt
  10. reconnect your devices
  11. ignore errors thrown and do not connect multiple devices at the same time or too quickly after each other

Quite some work, but it works great now (even better than donglep). I still get some error but no notable effect on the zigbee network.

Note that this is only a quick summary of what I did and I am just a casual z2m user. So be careful and take a backup first.

@IetIesAai
Copy link

@IetIesAai

I also had this problem with my skyconnect on firmware 7.4.2 - and by pure coincidence I noticed the placement of the dongle had something to do with it. I used something like bluetack to hold the dongle and usb extension lead (on a usb 2 port) to the side of the wood cabinet. This has worked well with ezsp for a year or so. After upgrading to 7.4.2 and changing to ember, I immediately had the described issue with broadcasts. However, due to removing the dongle for the firmware upgrade, it wasn't as well connected to the wall as before, and it dropped down. Suddenly the zigbee network started performing without any problem with the ember driver. (though I also upgraded to the latest version of Z2m, so I thought this had solved it). I noticed the dongle had fallen down, and put it back in it's place, and the issue returned!
I now upgraded firmware to 7.4.3 and so far haven't been able to reproduce the issue anymore.... Very strange, but who knows this description helps in tracking it down....

My Skyconnect is currently running on version 7.4.2, and I was able to reproduce the behavior you described. My Skyconnect is also connected with a USB extension and was mounted on a wall surrounded by wood using double-sided tape. As a test, I placed the dongle on the floor. Suddenly, the lamps could be switched on and off without any problems. This behavior is highly interesting.

Unfortunately, I cannot find the firmware version 7.4.3. Where can I download this version?

Meanwhile, having had some more time in use, I must say the Ember driver + skyconnect for some reason seems to be much more prone to interference - I never noticed this with the same dongle in more or less the same location before. Having been swapping out some components such as a switch in the cupboard where the server and thus the dongles (on a usb extension lead on usb 2) are kept, I noticed for my environment the placement of the dongle is much more finicky now then I ever remember it being before. I changed the location and the usb extension lead, and for now it seems stable again, but I don't remember it being that picky before....

@kwiatkowskimarcinb
Copy link

kwiatkowskimarcinb commented May 31, 2024

I've had the same issue, and for me adding:

advanced:
    network_key: GENERATE

in data/configuration.yaml solved the issue: I no longer receive "Delivery of BROADCAST failed ..." errors.

WARNING: This will require re-pairing all devices.

@huotarih
Copy link

I've had the same issue, and for me adding:

advanced:
    network_key: GENERATE

in data/configuration.yaml solved the issue: I no longer receive "Delivery of BROADCAST failed ..." errors.

This also deletes all devices. Atleast it did for me. And still have the error.

@kwiatkowskimarcinb
Copy link

I've had the same issue, and for me adding:

advanced:
    network_key: GENERATE

in data/configuration.yaml solved the issue: I no longer receive "Delivery of BROADCAST failed ..." errors.

This also deletes all devices. Atleast it did for me. And still have the error.

That's right - generating a new key forces you to re-pair your devices. An it makes sense only if you don't have it generated before.

I use the latest firmware for the Zigbee Dongle E device: ncp-uart-hw-v7.4.3.0-zbdonglee-115200.gbl

@lennon101
Copy link

Hi team! Just adding my own 2 cents here for anyone wondering what they can do in the meantime until this is fixed: I have rolled back my zigbee2mqtt server version while keeping the updated firmware on the Sonoff dongle.

Steps were:

  • rolled back to zigbee2mqtt server version1.36.1 and changed the settings in the configuation.yaml

    ```
    serial:
      port: /dev/ttyACM0
      adapter: ezsp
      baudrate: 115200
      rtscts: false
    ```
    
  • Network returned to a completely working state (all devices have returned to network and all routers have also returned)
    • no errors in the log either
  • Final state of working system is:

    • Zigbee2mqtt Server Version: 1.36.1 running docker container
    • Zigbee2mqtt coordinator version: 7.4.3
    • configuration.yaml settings specific to fixing this issue:

      ```
      serial:
        adapter: ezsp
      ```
      

@Ricc68
Copy link

Ricc68 commented Jun 3, 2024

I have to report that checking the logs I still have the broadcast errors. Fw 7.4.3 does not fix the issue:

[2024-06-03 22:22:56] debug: zh:ember:uart:ash: <--- [FRAME type=DATA]
[2024-06-03 22:22:56] debug: zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=6]
[2024-06-03 22:22:56] debug: zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=6 frmNum=5] Added to rxQueue
[2024-06-03 22:22:56] debug: zh:ember:uart:ash: ---> [FRAME type=ACK frmRx=6]
[2024-06-03 22:22:56] debug: zh:ember:ezsp: <=== [FRAME: ID=63:"MESSAGE_SENT_HANDLER" Seq=109 Len=22]
[2024-06-03 22:22:56] debug: zh:ember:ezsp: ezspMessageSentHandler(): callback called with: [type=BROADCAST], [indexOrDestination=65533], [apsFrame={"profileId":0,"clusterId":6,"sourceEndpoint":0,"destinationEndpoint":0,"options":256,"groupId":0,"sequence":5}], [messageTag=255], [status=DELIVERY_FAILED], [messageContents=]
[2024-06-03 22:22:56] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":6,"sourceEndpoint":0,"destinationEndpoint":0,"options":256,"groupId":0,"sequence":5} messageTag=255]

@huotarih
Copy link

huotarih commented Jun 4, 2024

Hi team! Just adding my own 2 cents here for anyone wondering what they can do in the meantime until this is fixed: I have rolled back my zigbee2mqtt server version while keeping the updated firmware on the Sonoff dongle.

Steps were:

  • rolled back to zigbee2mqtt server version1.36.1 and changed the settings in the configuation.yaml

    serial:
    port: /dev/ttyACM0
    adapter: ezsp
    baudrate: 115200
    rtscts: false

  • Network returned to a completely working state (all devices have returned to network and all routers have also returned)

    • no errors in the log either
  • Final state of working system is:

    • Zigbee2mqtt Server Version: 1.36.1 running docker container
    • Zigbee2mqtt coordinator version: 7.4.3
    • configuration.yaml settings specific to fixing this issue:

      serial:
      adapter: ezsp

How did you downgrade? I can't figure out how to downgrade without losing the data because I installed z2m through home assistant add-ons.

@j-paulus
Copy link

j-paulus commented Jun 5, 2024

As I had this issue along with others making the system quite unreliable, I downgraded to 1.36.1 which solved the problems.
This was possible using by selecting the correct HA backup (usually created at the start of the update) and selecting only z2m to be restored. If you don't have a backup, then this may be more work.

@lennon101
Copy link

How did you downgrade? I can't figure out how to downgrade without losing the data because I installed z2m through home assistant add-ons.

@huotarih yeah sorry mate, I would have no idea on that one. I use Z2M in a docker container so it's easy for me. Surely it can be done though?

@supaeasy
Copy link

supaeasy commented Jun 6, 2024

Can confirm the main problem is with ember driver. Ever since I changed back from ember to ezsp (Latest Z2M, Dongle E with 7.4.3) the startup error messages (but no others) are back but all actual problems are completely gone. Will stay there for a while.

@huotarih
Copy link

huotarih commented Jun 6, 2024

Figured out how to downgrade. Depends of course if you still have the backup.
Settings -> System -> Backups -> Search for zigbee -> Choose 1.36.1 -> Choose add-ons -> Restore
Screenshot 2024-06-06 at 12 02 19
Screenshot 2024-06-06 at 12 02 51

@drueppela
Copy link

drueppela commented Jun 6, 2024

What happened?

  • Faced an awful lot of trouble with Nabu Casa SkyConnect & Zigbee2MQTT. Nabu Casa Skyconnect finally stopped working after updating Zigbee2MQTT 1.36.0 +. I spent many, many, many hours without succeding to get it up and running again.
  • Switched from Nabu Casa Skyconnect to SMLIGHT SLZB-06M
  • Due to

Deprecated driver 'ezsp' currently in use, 'ember' will become the officially supported EmberZNet driver in next release. If using Zigbee2MQTT see #21462

I tried to run SMLIGHT SLZB-06M & Zigbee2MQTT with configuration "ember" although SMLIGHT obviously does not yet recommend this. See "SMLIGHT SLZB-06M control panel Zigbee2MQTT config generator"

NOT WORKING Zigbee2MQTT configuration.yaml

serial:
  port: tcp://slzb-06m.local:6638
  baudrate: 115200
  adapter: ember
  rtscts: false
  disable_led: false
advanced:
  transmit_power: 20
  homeassistant_legacy_entity_attributes: false
  legacy_api: false
  legacy_availability_payload: false
  log_level: error
frontend:
  port: 8099
device_options:
  legacy: false

What did you expect to happen?

Zigbee2MQTT with adapter: ember is running without errors

SMLIGHT SLZB-06M control panel Zigbee2MQTT config generator

# Pay attention, if you use the Z2M addon for HA, it is better to edit the yaml configuration file directly
serial:
# Location of SLZB-06M
  port: tcp://slzb-06m.local:6638
  baudrate: 115200
  adapter: ezsp
# Disable green led?
  disable_led: false
# Set output power to max 20
advanced:
  transmit_power: 20

How to reproduce it (minimal and precise)

Setting

serial:
  adapter: ember

in the following environment

Zigbee2MQTT version

Current version: 1.38.0-1

Adapter

SMLIGHT SLZB-06M

Adapter firmware version

[7.4.2.0 build 0](firmware: v2.3.6)

Radio FW version

20240510

Coordinator mode

LAN

Setup

GEEKOM Mini IT13 Mini PC 13th Gen Intel® Core i9-13900H 32GB RAM+2TB SSD
Proxmox Virtual Environment 8.2.2
Home Assistant Core 2024.6.0
Home Assistant Supervisor 2024.06.0
Home Assistant Operating System 12.3
Home Assistant Frontend 20240605.0

SLZB-06M System Log

[00:00:00] setup | Starting firmware: v2.3.6
[00:00:01] ConfigHelper | LittleFS mounted
[00:00:01] ConfigHelper | load config
[00:00:01] ConfigHelper | config open: Ok
[00:00:01] setup | Config loaded
[00:00:01] setup | Reboot reason: 1
[00:00:01] setup | Coordinator mode: LAN
[00:00:01] setup | Radio FW version: 20240510
[00:00:01] setup | Device type: SLZB-06M
[00:00:01] setup | Radio mode: ZB COORD
[00:00:01] Network | init
[00:00:01] L_Y,L_B | status: 1
[00:00:02] Network | EVENT_ETH_START
[00:00:02] Network | EVENT_ETH_CONNECTED
[00:00:02] Network | ETH init: OK
[00:00:02] Network | ETH static IP config: OK
[00:00:02] Network | [MDNS] Started
[00:00:02] setup | Filesystem size: 3456
[00:00:02] Network | EVENT_ETH_GOT_IP
[00:00:02] Network | ETH MAC: C8:2E:18:52:5A:0F IPv4: 10.0.0.51 GW: 10.0.0.1 Speed: 100Mbps DNS1: 10.0.0.1 DNS2: 10.0.0.1
[00:00:02] Network | fireNetworkUp
[00:00:02] taskZB | Start task
[00:00:02] taskZB | Starting server on port: 6638
[00:00:02] Web | Webserver started
[00:00:02] time | time sync start
[00:00:02] internet | connected
[00:00:02] setup | Filesystem used: 248
[00:00:02] setup | done
[00:00:03] Network | [POST] result: 200
[00:00:03] Network | [POST] response: New record [on] created successfullyNew record [lo] created successfully
[00:00:03] stats | Statistics sent
[00:00:03] stats | Heap: 2380
[21:10:28] time | timezone: IST-1GMT0,M10.5.0,M3.5.0/1
[21:10:28] time | Wednesday, June 05 2024 21:10:28
[21:10:28] taskTimeSync | Heap: 1500
[21:10:28] time | stop task
[21:10:31] [ZBCHK] | Wrong answer
[21:10:31] [ZBVER] | Unknown
[21:10:32] [ZBCHK] | done
[21:16:38] taskZB | New client: 10.0.0.50 id: 4
[00:15:42] ConfigHelper | write config
[00:15:42] ConfigHelper | config saved
[00:19:34] ConfigHelper | write config
[00:19:34] ConfigHelper | config saved
[16:09:06] ConfigHelper | write config
[16:09:06] ConfigHelper | config saved
[16:10:33] ConfigHelper | write config
[16:10:33] ConfigHelper | config saved
[16:45:13] taskZB | Client disconnected, id: 4
[16:45:17] taskZB | New client: 10.0.0.50 id: 0
[16:45:29] taskZB | Client disconnected, id: 0
[16:45:31] taskZB | New client: 10.0.0.50 id: 0
[16:48:01] taskZB | Client disconnected, id: 0
[16:48:02] taskZB | New client: 10.0.0.50 id: 0
[16:48:14] taskZB | Client disconnected, id: 0
[16:48:15] taskZB | New client: 10.0.0.50 id: 0
[16:50:33] taskZB | Client disconnected, id: 0
[16:50:35] taskZB | New client: 10.0.0.50 id: 0
[16:50:46] taskZB | Client disconnected, id: 0
[16:50:48] taskZB | New client: 10.0.0.50 id: 0

Zigbee2MQTT Log

[2024-06-06 17:09:59] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":196} messageTag=255]
[2024-06-06 17:10:00] error: zh:ember: [ZDO] Failed permit joining request with status=NETWORK_BUSY.
[2024-06-06 17:10:00] error: zh:ember: [ZDO] Failed permit joining request with status=NETWORK_BUSY.
[2024-06-06 17:10:01] error: zh:ember: [ZDO] Failed permit joining request with status=NETWORK_BUSY.
[2024-06-06 17:10:01] error: zh:ember: [ZDO] Failed permit joining request with status=NETWORK_BUSY.
[2024-06-06 17:10:03] error: zh:ember: Delivery of BROADCAST failed for "65532" [apsFrame={"profileId":0,"clusterId":54,"sourceEndpoint":0,"destinationEndpoint":0,"options":256,"groupId":0,"sequence":54} messageTag=35]
[2024-06-06 17:10:03] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":41440,"clusterId":33,"sourceEndpoint":242,"destinationEndpoint":242,"options":256,"groupId":0,"sequence":55} messageTag=120]
[2024-06-06 17:10:08] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":199} messageTag=255]
[2024-06-06 17:10:13] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":7} messageTag=255]
[2024-06-06 17:10:14] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":201} messageTag=255]
[2024-06-06 17:10:20] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":9} messageTag=255]
[2024-06-06 17:10:23] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":10} messageTag=255]
[2024-06-06 17:10:23] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":204} messageTag=255]
[2024-06-06 17:10:29] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":12} messageTag=255]
[2024-06-06 17:10:35] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":14} messageTag=255]
[2024-06-06 17:10:38] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":15} messageTag=255]
[2024-06-06 17:10:38] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":209} messageTag=255]
[2024-06-06 17:10:44] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":17} messageTag=255]
[2024-06-06 17:10:50] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":19} messageTag=255]
[2024-06-06 17:10:53] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":214} messageTag=255]
[2024-06-06 17:10:59] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":216} messageTag=255]
[2024-06-06 17:11:03] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":23} messageTag=255]
[2024-06-06 17:11:08] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":219} messageTag=255]
[2024-06-06 17:11:14] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":221} messageTag=255]
[2024-06-06 17:11:17] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":222} messageTag=255]
[2024-06-06 17:11:18] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":28} messageTag=255]
[2024-06-06 17:11:23] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":224} messageTag=255]
[2024-06-06 17:11:29] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":226} messageTag=255]
[2024-06-06 17:11:32] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":227} messageTag=255]
[2024-06-06 17:11:33] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":33} messageTag=255]
[2024-06-06 17:11:38] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":229} messageTag=255]
[2024-06-06 17:11:42] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":36} messageTag=255]
[2024-06-06 17:11:47] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":232} messageTag=255]
[2024-06-06 17:11:49] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":38} messageTag=255]
[2024-06-06 17:11:53] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":234} messageTag=255]
[2024-06-06 17:11:58] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":41} messageTag=255]
[2024-06-06 17:12:02] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":237} messageTag=255]
[2024-06-06 17:12:07] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":44} messageTag=255]
[2024-06-06 17:12:08] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":239} messageTag=255]
[2024-06-06 17:12:13] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":46} messageTag=255]
[2024-06-06 17:12:17] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":242} messageTag=255]
[2024-06-06 17:12:22] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":49} messageTag=255]
[2024-06-06 17:12:23] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":244} messageTag=255]
[2024-06-06 17:12:29] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":51} messageTag=255]
[2024-06-06 17:12:32] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":247} messageTag=255]
[2024-06-06 17:12:38] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":54} messageTag=255]
[2024-06-06 17:12:38] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":249} messageTag=255]
[2024-06-06 17:12:44] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":56} messageTag=255]
[2024-06-06 17:12:44] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":251} messageTag=255]
[2024-06-06 17:12:47] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":57} messageTag=255]
[2024-06-06 17:12:47] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":252} messageTag=255]
[2024-06-06 17:12:53] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":59} messageTag=255]
[2024-06-06 17:12:53] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":254} messageTag=255]
[2024-06-06 17:12:59] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":61} messageTag=255]
[2024-06-06 17:13:02] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":62} messageTag=255]
[2024-06-06 17:13:02] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":1} messageTag=255]
[2024-06-06 17:13:08] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":3} messageTag=255]
[2024-06-06 17:13:08] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":64} messageTag=255]
[2024-06-06 17:13:17] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":6} messageTag=255]
[2024-06-06 17:13:18] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":67} messageTag=255]
[2024-06-06 17:13:19] error: zh:ember: [ZDO] Failed permit joining request with status=NETWORK_BUSY.
[2024-06-06 17:13:20] error: zh:ember: [ZDO] Failed permit joining request with status=NETWORK_BUSY.
[2024-06-06 17:13:20] error: zh:ember: [ZDO] Failed permit joining request with status=NETWORK_BUSY.
[2024-06-06 17:13:22] error: zh:ember: Delivery of BROADCAST failed for "65532" [apsFrame={"profileId":0,"clusterId":54,"sourceEndpoint":0,"destinationEndpoint":0,"options":256,"groupId":0,"sequence":59} messageTag=39]
[2024-06-06 17:13:22] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":41440,"clusterId":33,"sourceEndpoint":242,"destinationEndpoint":242,"options":256,"groupId":0,"sequence":60} messageTag=121]
[2024-06-06 17:13:23] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":8} messageTag=255]
[2024-06-06 17:13:27] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":70} messageTag=255]
[2024-06-06 17:13:32] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":11} messageTag=255]
[2024-06-06 17:13:33] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":72} messageTag=255]
[2024-06-06 17:13:38] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":13} messageTag=255]
[2024-06-06 17:13:42] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":75} messageTag=255]
[2024-06-06 17:13:47] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":16} messageTag=255]
[2024-06-06 17:13:48] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":77} messageTag=255]
[2024-06-06 17:13:51] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":78} messageTag=255]
[2024-06-06 17:13:56] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":19} messageTag=255]
[2024-06-06 17:13:57] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":80} messageTag=255]
[2024-06-06 17:14:02] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":21} messageTag=255]
[2024-06-06 17:14:04] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":82} messageTag=255]
[2024-06-06 17:14:07] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":83} messageTag=255]
[2024-06-06 17:14:11] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":24} messageTag=255]
[2024-06-06 17:14:13] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":85} messageTag=255]
[2024-06-06 17:14:17] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":26} messageTag=255]
[2024-06-06 17:14:22] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":88} messageTag=255]
[2024-06-06 17:14:26] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":29} messageTag=255]
[2024-06-06 17:14:28] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":90} messageTag=255]
[2024-06-06 17:14:31] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":91} messageTag=255]
[2024-06-06 17:14:32] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":31} messageTag=255]
[2024-06-06 17:14:37] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":93} messageTag=255]
[2024-06-06 17:14:41] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":34} messageTag=255]
[2024-06-06 17:14:47] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":96} messageTag=255]
[2024-06-06 17:14:53] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":98} messageTag=255]
[2024-06-06 17:14:56] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":39} messageTag=255]
[2024-06-06 17:15:02] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":101} messageTag=255]
[2024-06-06 17:15:08] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":103} messageTag=255]
[2024-06-06 17:15:11] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":104} messageTag=255]
[2024-06-06 17:15:17] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":106} messageTag=255]
[2024-06-06 17:15:23] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":48} messageTag=255]
[2024-06-06 17:15:26] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":49} messageTag=255]
[2024-06-06 17:15:36] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":112} messageTag=255]
[2024-06-06 17:15:41] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":54} messageTag=255]
[2024-06-06 17:15:42] error: zh:ember: Delivery of BROADCAST failed for "65533" [apsFrame={"profileId":0,"clusterId":0,"sourceEndpoint":0,"destinationEndpoint":0,"options":1024,"groupId":0,"sequence":114} messageTag=255]

INTERMEDIATE SOLUTION

serial:
  adapter: ember ==> adapter: ezsp

NO Zigbee2MQTT downgrade

OPEN BUG (not sure about that) - Will contact SMLIGHT

Errors during Zigbee2MQTT start-up (WATCHDOG ENABLED!)

[17:50:34] INFO: Preparing to start...
[17:50:34] INFO: Socat not enabled
[17:50:34] INFO: Starting Zigbee2MQTT...
[2024-06-06 17:50:42] error: 	zh:ezsp:uart: --> Error: Error: {"sequence":1} after 4000ms
[2024-06-06 17:50:42] error: 	zh:ezsp:uart: -!- break waiting (1)
[2024-06-06 17:50:42] error: 	zh:ezsp:uart: Can't send DATA frame (0,2,0): 00000004
[2024-06-06 17:50:47] error: 	zh:ezsp:uart: --> Error: Error: {"sequence":1} after 4000ms
[2024-06-06 17:50:47] error: 	zh:ezsp:uart: -!- break rewaiting (1)
[2024-06-06 17:50:47] error: 	zh:ezsp:uart: Can't resend DATA frame (0,2,1): 00000004
[2024-06-06 17:50:47] error: 	z2m: Error while starting zigbee-herdsman
[2024-06-06 17:50:47] error: 	z2m: Failed to start zigbee
[2024-06-06 17:50:47] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-06-06 17:50:47] error: 	z2m: Exiting...
[2024-06-06 17:50:47] error: 	z2m: Error: Failure send version:{"type":"Buffer","data":[0,0,0,4]}
    at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:686:23
    at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
    at Ezsp.version (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:466:24)
    at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:173:9)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:127:29)
    at Zigbee.start (/app/lib/zigbee.ts:62:27)
    at Controller.start (/app/lib/controller.ts:109:27)
    at start (/app/index.js:107:5)
[17:50:47] INFO: Preparing to start...
[17:50:47] INFO: Socat not enabled
[17:50:47] INFO: Starting Zigbee2MQTT...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ember Issues related to ember driver problem Something isn't working
Projects
None yet
Development

No branches or pull requests