-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Open
Labels
Type: Feature requestFeature request for Arduino ESP32Feature request for Arduino ESP32
Description
Related area
Zigbee
Hardware specification
ESp32 C6
Is your feature request related to a problem?
I want to create a zigbee end device utilizing automatic light sleep with the Arduino Zigbee library
Describe the solution you'd like
Automatic light sleep does not work even when power management, automatic lightsleep and tickless idle are enabled. without zigbee everything works but after calling zigbe.begin() the device does no longer enter light sleep
I think this is because the ESP_ZB_COMMON_SIGNAL_CAN_SLEEP is missing in esp_zb_app_signal_handler in ZigbeeCore.cpp
example that should work:
Zigbee.setRxOnWhenIdle(false);
esp_zb_set_rx_on_when_idle(false);
esp_zb_sleep_enable(true);
esp_zb_cfg_t zigbeeConfig = ZIGBEE_DEFAULT_ED_CONFIG();
zigbeeConfig.nwk_cfg.zed_cfg.keep_alive = 10000;
Zigbee.begin(&zigbeeConfig, false))
Describe alternatives you've considered
No response
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
- I confirm I have checked existing list of Feature requests and Contribution Guide.
Metadata
Metadata
Assignees
Labels
Type: Feature requestFeature request for Arduino ESP32Feature request for Arduino ESP32