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

EmberStatus.DELIVERY_FAILED and NWK conflicts #85881

Closed
stickpin opened this issue Jan 14, 2023 · 21 comments
Closed

EmberStatus.DELIVERY_FAILED and NWK conflicts #85881

stickpin opened this issue Jan 14, 2023 · 21 comments
Assignees

Comments

@stickpin
Copy link
Contributor

stickpin commented Jan 14, 2023

The problem

Hi All,

I've migrated my 100+ devices Zigbee network to the new USB Dongle: Sonoff ZBDongle-E with EFR32MG21 chipset.
As part of the migration, I've migrated from Zigbee2MQTT to the ZHA, as ZHA has official Silicon Labs support.
In general, the network is stable but I have a few strange messages in the log that I cannot explain.

When I am restarting Home Assistant, I see in the log those messages:

2023-01-14 10:55:34.294 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x32BB:11:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:34.505 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x32BB:11:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:35.070 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x66A4:11:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:35.167 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D9A:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:35.193 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x26B3:11:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:35.325 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x26B3:11:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:35.336 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x66A4:11:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:35.407 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xF4D1:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:35.548 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x26B3:11:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:35.741 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xF4D1:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:35.759 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xDD10:1:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:35.779 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x32BB:11:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:35.787 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x8F9C:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:35.891 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D9A:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:35.939 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x2DCD:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:35.987 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xE249:11:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.032 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x954A:1:0x0702]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.170 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x1734:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.191 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x952F:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.208 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xE8E8:1:0x0b04]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.231 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x2D9A:1:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.252 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xE8E8:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.335 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xE14B:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.417 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xDD10:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.487 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x952F:1:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.509 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x50ED:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.526 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x16D2:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.564 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x1700:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.573 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xC073:3:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.590 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xE8E8:1:0x0702]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.652 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x369B:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.675 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x954A:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.685 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xE003:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.733 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x0BE0:1:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.752 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x952F:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.820 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xDD10:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:36.848 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x954A:1:0x0b04]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:37.018 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x1700:1:0x0702]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:37.096 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x3BEE:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:37.118 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x369B:1:0x0b04]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:37.129 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x7CAD:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:37.161 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x50ED:1:0x0b04]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:37.172 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x1734:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:37.290 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x369B:1:0x0702]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:37.421 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xF4D1:1:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:37.672 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x1700:1:0x0b04]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:37.716 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x2DCD:1:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:37.946 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x2DCD:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>')]
2023-01-14 10:55:40.202 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xE249:11:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), TimeoutError()]
2023-01-14 10:55:40.371 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xE249:11:0x0008]: async_initialize: all attempts have failed: [DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), DeliveryError('Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>'), TimeoutError()]

During regular work, I see strange NWK conflicts and that devices leaving and joining back the network in the middle of nowhere for no reason.

2023-01-14 12:37:37.324 WARNING (MainThread) [bellows.zigbee.application] NWK conflict is reported for 0xe8e8
2023-01-14 12:37:37.330 WARNING (MainThread) [bellows.zigbee.application] Found a4:c1:38:cc:68:18:56:25 device for 0xe8e8 NWK conflict: _TZ3000_gjnozsaz TS011F
2023-01-14 12:37:37.331 INFO (MainThread) [zigpy.application] Device 0xe8e8 (a4:c1:38:cc:68:18:56:25) left the network
2023-01-14 12:37:37.462 INFO (MainThread) [zigpy.application] Device 0xeaac (a4:c1:38:cc:68:18:56:25) joined the network
2023-01-14 12:39:34.161 INFO (MainThread) [zigpy.application] Device 0x0ed1 (ec:1b:bd:ff:fe:d0:78:c7) joined the network
2023-01-14 12:39:34.198 INFO (MainThread) [zigpy.application] Device 0x0ed1 (ec:1b:bd:ff:fe:d0:78:c7) joined the network
2023-01-14 12:39:34.215 INFO (MainThread) [zigpy.application] Device 0x0ed1 (ec:1b:bd:ff:fe:d0:78:c7) joined the network
2023-01-14 12:55:26.030 WARNING (MainThread) [bellows.zigbee.application] NWK conflict is reported for 0x4150
2023-01-14 12:55:26.031 WARNING (MainThread) [bellows.zigbee.application] Found ec:1b:bd:ff:fe:aa:8b:90 device for 0x4150 NWK conflict: IKEA of Sweden TRADFRI bulb E27 WW 806lm
2023-01-14 12:55:26.032 INFO (MainThread) [zigpy.application] Device 0x4150 (ec:1b:bd:ff:fe:aa:8b:90) left the network
2023-01-14 12:55:26.128 INFO (MainThread) [zigpy.application] Device 0x66ea (ec:1b:bd:ff:fe:aa:8b:90) joined the network
2023-01-14 12:55:27.793 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0x66EA:1:0x1000]: Couldn't get list of groups: Failed to deliver message: <EmberStatus.DELIVERY_FAILED: 102>
2023-01-14 13:01:45.515 INFO (MainThread) [zigpy.application] Device 0x2a41 (00:15:8d:00:06:69:6f:19) joined the network
2023-01-14 13:01:45.571 INFO (MainThread) [zigpy.application] Device 0x2a41 (00:15:8d:00:06:69:6f:19) joined the network
2023-01-14 14:11:44.185 INFO (MainThread) [zigpy.application] Device 0xd1a9 (84:71:27:ff:fe:d0:95:ef) joined the network
2023-01-14 14:11:44.191 INFO (MainThread) [zigpy.application] Device 0xd1a9 (84:71:27:ff:fe:d0:95:ef) joined the network
2023-01-14 14:11:44.261 INFO (MainThread) [zigpy.application] Device 0xd1a9 (84:71:27:ff:fe:d0:95:ef) joined the network
2023-01-14 14:40:59.306 INFO (MainThread) [zigpy.application] Device 0x2c10 (00:15:8d:00:07:e2:f4:ad) joined the network
2023-01-14 16:51:41.446 INFO (MainThread) [zigpy.application] Device 0x1f7c (00:17:88:01:08:08:bd:d5) joined the network
2023-01-14 16:51:41.453 INFO (MainThread) [zigpy.application] Device 0x1f7c (00:17:88:01:08:08:bd:d5) joined the network
2023-01-14 16:51:41.515 INFO (MainThread) [zigpy.application] Device 0x1f7c (00:17:88:01:08:08:bd:d5) joined the network
2023-01-14 16:58:24.432 WARNING (MainThread) [bellows.zigbee.application] NWK conflict is reported for 0xeaac
2023-01-14 16:58:24.434 WARNING (MainThread) [bellows.zigbee.application] Found a4:c1:38:cc:68:18:56:25 device for 0xeaac NWK conflict: _TZ3000_gjnozsaz TS011F
2023-01-14 16:58:24.434 INFO (MainThread) [zigpy.application] Device 0xeaac (a4:c1:38:cc:68:18:56:25) left the network
2023-01-14 16:58:24.700 INFO (MainThread) [zigpy.application] Device 0x3105 (a4:c1:38:cc:68:18:56:25) joined the network
2023-01-14 17:02:57.607 INFO (MainThread) [zigpy.application] Device 0x0ed1 (ec:1b:bd:ff:fe:d0:78:c7) joined the network
2023-01-14 17:02:58.281 INFO (MainThread) [zigpy.application] Device 0x0ed1 (ec:1b:bd:ff:fe:d0:78:c7) joined the network

The Sonoff ZBDongle-E running official firmware v6.10.3.0 build 297 (ncp-uart-sw_EZNet6.10.3_V1.0.1.gbl)

My ZHA settings in the configuration.yaml are:

zha:
  zigpy_config:
    network:
      channel: 25
    ezsp_config:
      CONFIG_MAX_END_DEVICE_CHILDREN: 0
    ota:
      ikea_provider: true # Auto update Trådfri devices
      ledvance_provider: true # Auto update LEDVANCE/OSRAM devices
      salus_provider: true # Auto update SALUS/Computime devices
      inovelli_provider: true # Auto update INOVELLI devices
      otau_directory: /config/zigpy_ota # Utilize .ota files to update everything else

My network looks this way:
Screenshot 2023-01-14 at 17 01 38

Any explanation for this behavior?

What version of Home Assistant Core has the issue?

2023.1.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ZHA

Link to integration documentation on our website

https://www.home-assistant.io/integrations/zha/

Diagnostics information

config_entry-zha-fb17b05629f882f6722ee497150796b9.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

Hey there @dmulcahey, @Adminiuga, @puddly, mind taking a look at this issue as it has been labeled with an integration (zha) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of zha can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Change the title of the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign zha Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


zha documentation
zha source
(message by IssueLinks)

@MattWestb
Copy link
Contributor

Welcome to ZHA sadly you was not being converted from deCONZ (Joke) :-))).
The first error i also is getting for some device then starting ZHA and its trying sending commands to device that is not being online then the system is not having the Zigbee network up and its not critical but i have not digging way the system is trying sending those commands to this devices that i think is not do (perhaps is bad stored attributes in the Zigbe.db ?).
Also the Couldn't get list of groups is ZHA trying reading ZLL group from the device that is not having one (it can the light is having ZLL profile and is one ZB3 light. Is the light firmware updated ?).

The second i have also seen and some other user have reporting it.
Its normally happening then one device is rejoining the system and like using one short address (NWK) that is being used of one device and one router is complaining its occupied.
Good behaving Zigbee device shall leave and rejoining if one NWK conflict so the IKEA light is doing it OK.
One think can being interference that is making the device leaving or interrupting the mesh network but im not 100% sure way is happening with some devices some time.
The interesting is not the device that is complaining (the TS011F an IKEA light) its the other device that is not identified 0x0ed1 (ec:1b:bd:ff:fe:d0:78:c7) do you knowing the model and brand of that device ??
Also you is having device that is joining but have not left the network that is little strange. Can you looking id its some sleeping end devices that is not OK initiated ?
It can being devices that is not doing pulling if its parent OK and is rejoining after sleeping to long but interesting see witch devices it is.

@stickpin
Copy link
Contributor Author

Hi @MattWestb,

Thanks for the detailed answer. :)
The "ec:1b:bd:ff:fe:d0:78:c7" device is IKEA TRADFRI on/off switch.
All my devices are up-to-date with the latest firmware, in case they are available.
To be completely honest I am a bit disappointed with the current EFR32MG21 stability.
I guess it's more related to software(firmware) than to hardware but still. Maybe it's only my experience but after Z2M with CC2652RB Dongle, my Zigbee network is behaving very strangely.

I've started rollback this morning to Z2M with CC2652RB. I guess it's still too early for EFR32MG21.
I will keep this dongle for labs and will wait for a better time. :)

@MattWestb
Copy link
Contributor

All coordinators is working little different and running different code (the Zigbee stack on the chip) and also different settings for the mesh network.
You is having one large network and you is see more problems then one user with 2 lights and 5 Aqara sensors for shore.

The "re joining" devices is very likely not one thing with the coordinator (then you have blocking the EZSP for having direct children) but is very likely one problem with its parent is not liking its child or the child is not liking its parent.
One very common problem is OSRAM plugs that looks working very well in the network but is making very much problem for its children and also traffic between other routers is being distorted.

I recommending looking if some of the "re joiner" is having problem in Z2M with TI coordinator then they is connected to one router. I think you is finding radio interference or one or more bad routers in you network.

One very known issue that is not fixed in current TI firmware is nearly impossible having real Zigbee 3 end devices having the coordinator but is working very well if having one normal router as parent (Danfoss Ally TRV is falling in deep sleep and must being re powered) but i think its being fixed in the dev firmware.

In the end you shall doing what you like and what is best for your system !!

@stickpin
Copy link
Contributor Author

@MattWestb... just a few more things to add about ZHA in general. :)
I think the integration is dramatically improved. UI and integration into the Home Assistant are very nicely done. Many device-specific options are now exposed in the UI.
Even the painful Home Assistant restart, which restarts the Zigbee network as well, was recovering very fast.

But I was surprised that some of the issues that are being presented two years ago are still present today.

  • The issue with Zigbee Groups. When devices for some reason from time to time are not shown as part of the Zigbee Group. Happening randomly with different manufacturers. Not sure if this issue is only a representation issue in the UI or if devices are actually leaving the Group.
  • One more issue related to Zigbee Groups, once your turn on or off the Zigbee Group of bulbs, the status is not always reflected on all the bulbs. Meaning if I turn off Group with two bulbs, one may stay shown as on for 30 seconds or so.
  • Another issue: Multiple changes to bulb colors, brightness, and so on. Scenes for example, I have a scene called "Movie Time", 13 different bulbs/led stripes are involved in this scene. When I activate it, it should change colors/brightness, turn some off, and turn some on. What happening with ZHA is that most of the time it will fail with a few of the bulbs to complete the full scene activation. Meaning some bulbs will stay white, some will not turn off, and some will not turn on. This specific issue driving me nuts. :D
  • One more that I found during my last try, is a strange behavior with the Kelvin temperature on some of my bulbs. Try to set your color temperature to 3200K and see how different bulb manufacturers will behave. I guess there is something wrong with the translation for some vendors.

Not of those issues are present in Zigbee2MQTT.

These two are more like feature requests:

  • ZHA is missing the Offset/Calibration option. I have some temperature sensors and plugs that require some correction with temperature and voltage reports. It's not a mandatory feature, but it's very nice when you can manipulate those values according to your needs without the creation of additional manual sensors.
  • OTA management is not available through UI. It's not possible to go to the device and say "Check for update" -> "Update" and see the progress during the update. Yes, I know you can trigger it by using zigbee_cluster_command and then try to follow the progress in the log. But when you have 100+ Zigbee devices in your network, it's not very easy to follow the log. :)

I am happy to help to debug those issues on ZHA including the initial ones with devices leaving and joining the network, but I am not sure about ZHA Developers' availability, as well as how many people are affected by the same issues as me, and I cannot keep my production network with those bugs for a long time.

FYI @dmulcahey, @Adminiuga, @puddly

@TheJulianJES
Copy link
Member

TheJulianJES commented Jan 16, 2023

When devices for some reason from time to time are not shown as part of the Zigbee Group

An issue was fixed regarding this over a year ago. No issues here and not sure with what devices you're experiencing this.


Meaning if I turn off Group with two bulbs, one may stay shown as on for 30 seconds or so.

Currently ZHA polls all group members after changing the group. Z2M (and the Hue integration) just assume the state. ZHA will also have this fixed in the next beta:


What happening with ZHA is that most of the time it will fail with a few of the bulbs to complete the full scene activation.

This is because HA scenes send individual commands. The same thing will happen if you set up an HA scene and use Z2M (some coordinators work better with such an "overload of messages" though). For example, I have a TI coordinator and a scene with 12 lights changing at once and it works quite well.

One thing that could solve this for everyone (weaker networks) would be to implement Zigbee scenes, as it would be enough to send one "reactivate scene 1" command to a whole Zigbee group (drastically reducing the amount of message).
(It's already possible to use Zigbee scenes with scripts and service calls. A UI for this would be very nice of course.)


Try to set your color temperature to 3200K and see how different bulb manufacturers will behave. I guess there is something wrong with the translation for some vendors.

Other than the internal conversion from Kelvin to Mired that HA does (which can be ignored basically), there's no other conversions in that regard. I also don't think Z2M does any correction, but I might be wrong. Never noticed any issues for all of my different lights.
(And even if Z2M corrected some color temps to different values for some lights, those corrections wouldn't work for Zigbee groups.)


ZHA is missing the Offset/Calibration option

I don't think this would/should be implemented into ZHA itself. I'd also like to see it as an option for all HA sensors though.
For now, template sensors can be used.


OTA management is not available through UI

I think this is known and will be implemented at some point in time.

@MattWestb
Copy link
Contributor

For my is Zigbee groups importing but many users is using HA groups that is sending unicast commands to all lights = bad.
But im missing one GUI for making and changing Zigbee scenes :-((

Calibrating sensors i have make issues / request for but its not being made but now its possible making it very nice in ZHA / devices. Also OTA / device in GUI is on the way.

With the problem group status is not updated it can being that you have some lights that is not Zigbee complaint and is not reporting status changes like Philips HUE and need being pulled for getting the host system.
ZHA can pulling device status but trying avoiding it then its not Zigbe complaint and its bad for the mesh networking.

In the end its about how mush user is helping with coding and testing in our community system and its 2 system in the top and its Z2M and ZHA and other have falling behind.

Most importing for one production system is it shall being realibol !!!

@stickpin
Copy link
Contributor Author

@TheJulianJES thanks a lot for the answer.
Regarding "assume the state". Thanks a lot for your effort! :) I guess it was annoying not only me. :))

Regarding Scenes.
Can you share an example, of how to use Zigbee Scenes in ZHA?
I tried it yesterday in Z2M and it will definitely resolve my problem with scenes.

Maybe I will give it a try one more time.

Two more questions... I want to go with EFR32MG21 anyway, as "in theory" it will be easier to migrate to SkyConnect once I will be able to get my hands on it. Which firmware is recommended? I currently running the official one. But you can get ncp-uart-sw_v6.10.3_115200.gbl from here: https://github.com/xsp1989/zigbeeFirmware/tree/master/firmware/Zigbee3.0_Dongle-NoSigned/EZSP

Also as settings, if I going to switch one again, I want to use those settings:

zha:
  zigpy_config:
    source_routing: true
    network:
      channel: 25
      channels: [24, 25, 26]
    ezsp_config:
      CONFIG_MAX_END_DEVICE_CHILDREN: 0
      CONFIG_APS_UNICAST_MESSAGE_COUNT: 64
      CONFIG_SOURCE_ROUTE_TABLE_SIZE: 200
      CONFIG_ROUTE_TABLE_SIZE: 16
      CONFIG_ADDRESS_TABLE_SIZE: 32
      CONFIG_PACKET_BUFFER_COUNT: 250
      CONFIG_BINDING_TABLE_SIZE: 32
      CONFIG_NEIGHBOR_TABLE_SIZE: 26
    ota:
      ikea_provider: true # Auto update Trådfri devices
      ledvance_provider: true # Auto update LEDVANCE/OSRAM devices
      salus_provider: true # Auto update SALUS/Computime devices
      inovelli_provider: true # Auto update INOVELLI devices
      otau_directory: /config/zigpy_ota # Utilize .ota files to update everything else

Any suggestions?

@MattWestb
Copy link
Contributor

MattWestb commented Jan 17, 2023

EZSP 6.7.8.0 (Sonoff 6.7.9.0) is the stable version and EZSP 6.10.3.0 is candidate and looks working well.
EZSP 7.X is having some bugs and the latest shall working (7.2.0) but Sonoff have not released one EZSP version (and likely dont do then the dev have moving on).

Edit: If trying EZSP 7.X you is getting problem going back to 6.X and need flashing one NVM reset file for getting it working xsp1989/zigbeeFirmware#28.

@stickpin
Copy link
Contributor Author

@MattWestb, i think the official firmware is actually v6.10.3.0 build 297 (ncp-uart-sw_EZNet6.10.3_V1.0.1.gbl) from https://github.com/itead/Sonoff_Zigbee_Dongle_Firmware/tree/master/Dongle-E/NCP. My question was mostly if the official version is any different from the xsp1989 version.

@MattWestb
Copy link
Contributor

The xsp1989 version is having patches for the hardware and shall working well.
If i remember right Hi was saying "E" its using the same hardware settings in the firmware as the old ones.
The itead is the new hardware but we have not getting any information from the devs of it only what xsp1989 have "leaked" itead/Sonoff_Zigbee_Dongle_Firmware#10.

The bad thing is xsp1989 have moving on so we is not getting any support at all now :-((

I think both shall working OK but you can trying both but we have not getting feedback form users if some is working better then the other.

PS: Thanks for the link i was looking for the router firmware one user is using :-))

@stickpin
Copy link
Contributor Author

I received my SkyConnect a couple of days ago and migrated now everything to ZHA (once again). :)
@MattWestb, @TheJulianJES, sorry for bothering again, but there is any chance you can share an example of how to use Zigbee Scenes through commands and scripts?

@TheJulianJES
Copy link
Member

Note: Color XY/color temp attribute reports aren't parsed in ZHA (as the color_mode attribute isn't reportable and HA would be unable to know what color mode the bulbs are in). Eventually, ZHA will poll the bulbs for their state but that can take a long time.
So you will see incorrect states in HA. The basic steps are still listed below:

Create a Zigbee group with the devices using the ZHA UI. Remember the group ID. In the example, I'll use 0x000a (hex) (or 10 in decimal).

Note: We cannot use the modern params approach with issue_zigbee_group_command, so we have to use args.

You can find the commands when using the "Manage Zigbee device" -> clusters UI.

To create a new scene:

service: zha.issue_zigbee_group_command
data:
  cluster_type: in
  cluster_id: 5
  group: 10 # group id
  command: 0 # add new scene
  args:
    - 10 # group id
    - 1 # scene id
    - 10 # transition time (in 1/10th seconds)
    - Scene1 # scene name

Then, set all devices to the states you want to store in the scene.

To store the current settings into the scene:

service: zha.issue_zigbee_group_command
data:
  cluster_type: in
  cluster_id: 5
  group: 10 # group id
  command: 4 # store state in scene
  args:
    - 10 # group id
    - 1 # scene id

To recall the scene (again, this will not set the correct state in HA):

service: zha.issue_zigbee_group_command
data:
  cluster_type: in
  cluster_id: 5
  group: 10 # group id
  command: 5 # recall scene
  args:
    - 10 # group id
    - 1 # scene id
    - 10 # optional: override transition time (in 1/10th seconds)

@stickpin
Copy link
Contributor Author

@TheJulianJES thanks a lot!
Works like a charm!
Now I can live peacefully with ZHA. :)))

@MattWestb
Copy link
Contributor

What i is missing is working scene add commands (data sets for all ZCL clusters) with all parameters so can adding advanced scenes for lights and not only storing scenes then its not flexible.

@stickpin
Copy link
Contributor Author

stickpin commented Jan 28, 2023

After experimenting a bit, there are a few things to add.

To remove a scene this payload can be used:

service: zha.issue_zigbee_group_command
data:
  cluster_type: in
  cluster_id: 5
  group: 3 # group id
  command: 2 # remove scene
  args:
    - 3 # group id
    - 1 # scene id

I have 13 bulbs from different vendors that are involved in the scene, the transition time not acting the same for all bulbs, so the solution is to set the transition time to 0 during scene creation, for example:

service: zha.issue_zigbee_group_command
data:
  cluster_type: in
  cluster_id: 5
  group: 3 # group id
  command: 0 # add new scene
  args:
    - 3 # group id
    - 1 # scene id
    - 0 # transition time (in 0/10th seconds)
    - Warm White # scene name

I've tried to set transition time at scene recall, but it was not working for me.

@TheJulianJES, @MattWestb maybe it is worth creating some Wiki page for everyone? I think this information is very useful for the whole HA community. If you can point me to where to create it, I will be happy to do it.

@MattWestb
Copy link
Contributor

You are very welcome adding scene in the wiki https://github.com/zigpy/zigpy/wiki.

@stickpin
Copy link
Contributor Author

stickpin commented Jan 29, 2023

@MattWestb Thanks! I will do the page next week.

@TheJulianJES, @MattWestb I think I've found what is wrong with Kelvin's Temperature behavior.
Well... it's very simple, TRADFRI bulb E27 CWS opal 600lm doesn't support it. :)

I've found two issues related to it:
DeConz: dresden-elektronik/deconz-rest-plugin#4140
Zigbee2MQTT: Koenkk/zigbee2mqtt#4845

So the solution is to use some converter, for example, this one: https://www.luxalight.eu/en/cie-convertor to convert Kelvin to XY values.

@MattWestb
Copy link
Contributor

MattWestb commented Jan 29, 2023

OOO !!
It was the first gen CWS that is not one true RGBW light.
IKEA is using RGB LEDs also for simulating TC.
IKEA Hub is setting the (default) TC-scenes with X Y and its looks working OK.
But is nearly impossible making it nice with other commands.
If converting TC to X Y shall working OK bit its little work to do.

Edit: The new CWS3 is having working CT in ZHA :-)).

@stickpin
Copy link
Contributor Author

stickpin commented Feb 1, 2023

As promised, I've created a wiki page explaining the Zigbee Scenes in ZHA: https://github.com/zigpy/zigpy/wiki/Zigbee-Scenes
Feel free to correct, or rephrase me. :)

@MattWestb
Copy link
Contributor

Great work done !!

Sadly ZHA have not GUI for Zigbee scenes like de(F)CONZ that is adding then in HA GUI.
I also missing add scene with unlimited datasets like blind %, CT, XY and so on for all device types.
Z2M is doing it OK https://www.zigbee2mqtt.io/guide/usage/scenes.html#creating-a-scene.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants