Skip to content

Please add zigbee light sleep if it is feasible #11257

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

Closed
1 task done
tomasz90 opened this issue Apr 18, 2025 · 1 comment
Closed
1 task done

Please add zigbee light sleep if it is feasible #11257

tomasz90 opened this issue Apr 18, 2025 · 1 comment
Assignees
Labels
Area: Zigbee Issues and Feature Request about Zigbee Type: Feature request Feature request for Arduino ESP32

Comments

@tomasz90
Copy link

Related area

Zigbee

Hardware specification

ESP32C6, ESP32H2

Is your feature request related to a problem?

Hi!

I would like to see zigbee light sleep feature in the arduino framework. Me like many of other tinkers would like to use low-powered connectivity, which zigbee should be. Right now, zigbee is not what we wanted to see. It is extremaly power consuming (like 30-80mA) and it is preferibly suitable for passive devices which pings data in defined intervals between deep sleep. Right now, it is for sure not suitable for battery powered devices, nor remotes, nor controllable device.

I saw light sleep example in esp-zigbee-sdk, which I tried to flash, but I found out, that my device is still consuming in range of 20mA instead of declared 0.125mA in Readme, I would not be disappointed if we could talk about consumption in the same order of magnitude, but not 150x more power consuming. Something is broken here, a manual or a code. I would like to see a light sleep functionality in arduino framework, which would be also so much easier to handle than working with esp-idf framework.

Describe the solution you'd like

Light sleep, make boards battery friendly.

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.
@tomasz90 tomasz90 added the Type: Feature request Feature request for Arduino ESP32 label Apr 18, 2025
@SuGlider SuGlider added the Area: Zigbee Issues and Feature Request about Zigbee label Apr 20, 2025
@P-R-O-C-H-Y
Copy link
Member

P-R-O-C-H-Y commented Apr 22, 2025

Hi @tomasz90, light sleep feature is not suitable for Zigbee library in Arduino framework as is. To really save some power, there must be set a config in ESP-IDF libs for RTOS to be in tick-less mode. This setting is not enabled for arduino framework idf libs and enabling that by default may cause unexpected behavior. So for now there is only option to use deep sleep to save the battery power and its mostly usable for any reporting devices like sensors.

If you want to develop a light sleep Zigbee device, please go directly using the ESP-IDF and ESP-ZIGBEE-SDK

@P-R-O-C-H-Y P-R-O-C-H-Y closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2025
@P-R-O-C-H-Y P-R-O-C-H-Y self-assigned this Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Zigbee Issues and Feature Request about Zigbee Type: Feature request Feature request for Arduino ESP32
Projects
None yet
Development

No branches or pull requests

3 participants