-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Zigbee Sleepy End Device Example #9962
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
Comments
Hi @felipejfc, I have added a sleepy example #10551. Deep sleep is used so there is no need to set up PM. |
Thx for that!! Super cool. |
The light sleep is currently not possible, as the Power Management would need to be enabled in sdk config which is not currently. Also what is used for Zigbee in the official light sleep example (what you have linked in the description) is the FreeRTOS tickles idle, which may bring some unexpected behavior ( We may add the PM in the future releases, when we do I will test the light sleep with Zigbee and if its doable, I will implement it and add another example :) |
Hi! |
Hi @tomasz90 please open a discussion or join our discord channel for those questions to not spam already closed issue. |
@tomasz90 looks like your consumption comes from your sensor and not from the ESP. There is nothing we can do in that case. You could look into controlling the sensor power through a mosfet and turn it on only when the ESP wakes up and needs to check the values (or som other way if the sensor allow it). Also, let's discuss this elsewhere like @P-R-O-C-H-Y requested. |
Related area
Zigbee
Hardware specification
ESP32-C6
Is your feature request related to a problem?
We currently lack an example of working sleepy end device.
Describe the solution you'd like
We should have a working example, I did try to make it by myself, however I don't ever receive "ESP_ZB_COMMON_SIGNAL_CAN_SLEEP", also, I can't configure PM cause it causes a crash. Reference project: https://github.com/espressif/esp-zigbee-sdk/tree/main/examples/esp_zigbee_sleep/light_sleep
EDIT:
I actually receive the signal, however current consumption keeps super high even when I call esp_zb_sleep_now()
Describe alternatives you've considered
No response
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
The text was updated successfully, but these errors were encountered: