Zigbee light sleep
#12054
Replies: 2 comments
-
|
@P-R-O-C-H-Y - PTAL. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi @mvoss96, I can try and test the steps you provided with the light sleep option. But you know that the light sleep is not supported in the Zigbee library as in order to make it work, there needs to be the PM and RTOS config as you posted. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Im struggeling to make zigbee work with light sleep.
i know power management and tickless idle are not activated in arduino core.
So im trying to work around it.
What i want is basically:
-> Start the ESP
-> take a measurement
-> initialize Zigbee
-> report a zigbee value f.e. temperature
-> stop zigbee
-> go to light sleep
-> wake up
-> initialize Zigbee
-> report a zigbee value f.e. temperature
...
so basically what the deep sleep example does but with light sleep because for my application i cant use deep sleep since i need a pwm output during sleep .
what i tried is basically
Zigbee.begin()
sensor.report()
Zigbee.stop()
light sleep()
Zigbee.start
Sadly that does not work: it does not throw any errors but after waking up there are no longer new values reported to the coordinator
I also tried to call zigbee.begin again fter waking up but that throws a runtime exception.
Can you tell me the correct way to reinitialize zigbee after light sleep ?
Beta Was this translation helpful? Give feedback.
All reactions