You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 .
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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