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

Zigbee Implementation: Deep Sleep example #10405

Closed
1 task done
HiFiJ opened this issue Oct 2, 2024 · 6 comments · Fixed by #10551
Closed
1 task done

Zigbee Implementation: Deep Sleep example #10405

HiFiJ opened this issue Oct 2, 2024 · 6 comments · Fixed by #10551
Assignees
Labels
Status: In Progress Issue is in progress Type: Feature request Feature request for Arduino ESP32
Milestone

Comments

@HiFiJ
Copy link

HiFiJ commented Oct 2, 2024

Related area

Zigbee

Hardware specification

ESP32-C6

Is your feature request related to a problem?

Hi,
thanks for the tremendous and fast implementation and merge of the Zigbee library!

I am wondering if there is already an easy way at this point to set up a battery powered ESP32(-C6) endpoint utilising deep sleep?

Or are there higher obstacles to pass to realize deep sleep/short wake up times for e.g. sending sensor readings?

Thanks again very much, best regards,
Joost

Describe the solution you'd like

Perhaps one of the examples could be enhanced slightly to include deep sleep with periodic wake up.

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.
@HiFiJ HiFiJ added the Type: Feature request Feature request for Arduino ESP32 label Oct 2, 2024
@P-R-O-C-H-Y P-R-O-C-H-Y self-assigned this Oct 2, 2024
@P-R-O-C-H-Y
Copy link
Member

P-R-O-C-H-Y commented Oct 4, 2024

Hi @HiFiJ, I will get to add more stuff to Zigbee library later as now I have different important tasks. So I will link this feature request to the original issue of Zigbee library support, and once I get to the Zigbee library again, I will investigate this :)

@P-R-O-C-H-Y P-R-O-C-H-Y added the Status: Needs investigation We need to do some research before taking next steps on this issue label Oct 4, 2024
@Hedda
Copy link

Hedda commented Oct 7, 2024

There are by the way already Zigbee examples of "deep sleep" and "light sleep" (standby) modes for sleepy Zigbee End Device in the esp32-zigbee-sdk repository which could probably used by this new API(?). See:

PS: I recently also read that Arduino has released an open-source Arduino Power Management library for Arduino Pro that could maybe be ported to arduino-esp32 for ESP32? It includes battery management and charger manager + sleep and standby mode:

More on that new Arduino PowerManagement library here:

@P-R-O-C-H-Y
Copy link
Member

P-R-O-C-H-Y commented Oct 24, 2024

I was investigating this and we don't have Power Management or ULP Core enabled in the sdkconfig we use to build the libs.
There is more work to be done before supporting that. I will keep this issue updated if there are som ongoing tasks :)

@HiFiJ
Copy link
Author

HiFiJ commented Oct 24, 2024

Thanks very much for taking a closer look!
From a hobbyist's perspective, I believe that there is great potential for this Zigbee stack to be the first to enable useful battery powered devices with wireless signal transmitting for DIYers/amateurs.
At least I have been looking for easy ways to accomplish this for years (MySensors project etc...) without finding a viable alternative and also have read several times of other hobbyists struggles to achieve this.
A lot of people are looking forward for this to happen :-)
Best regards, Joost

@P-R-O-C-H-Y
Copy link
Member

Thanks very much for taking a closer look!

From a hobbyist's perspective, I believe that there is great potential for this Zigbee stack to be the first to enable useful battery powered devices with wireless signal transmitting for DIYers/amateurs.

At least I have been looking for easy ways to accomplish this for years (MySensors project etc...) without finding a viable alternative and also have read several times of other hobbyists struggles to achieve this.

A lot of people are looking forward for this to happen :-)

Best regards, Joost

I will be doing some testing in upcoming days to see what we can do with power consumption for Zigbee. The deep_sleep may be possible without a need of changing the core libs configuration. Will keep you updated :)

@HiFiJ
Copy link
Author

HiFiJ commented Nov 3, 2024

Hi,
thanks a lot for your tremendous work!
I am absolutely looking forward to try/use this, great choice of clusters as well.
I wil just have to wait until this ends up in an arduino-esp32, as I do not have the necessary knowledge to switch to your branch.

Thanks again! Best regards,

Joost

@VojtechBartoska VojtechBartoska added Status: In Progress Issue is in progress and removed Status: Needs investigation We need to do some research before taking next steps on this issue labels Nov 4, 2024
@VojtechBartoska VojtechBartoska added this to the 3.1.0 milestone Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: In Progress Issue is in progress Type: Feature request Feature request for Arduino ESP32
Projects
None yet
4 participants