Lopy Sleep
-
Hi,
I need to put my lopy to sleep for 6 hours, wake up after this time (send information with lora) and sleep again and then go back to sleep.
Is it possible to do without a RTC ? if not, lopy works with rtc DS3231 ?
thanks!
-
@innovpoint Please check this https://docs.pycom.io/pycom_esp32/library/machine.html?highlight=deepsleep#machine.deepsleep
In case you cannot achieve sleep for 6 hours you may sleep for less and keep a counter on the file system because lopy is starting over the main.py
-
Hi,
My lopy sleeps forever after the deepsleep (10000) :)
Do you have an example with RTC ALARM or similar ?
Thanks..
-
help :) ?
-
I need to put my LoPy to sleep for 8h, and i'm having same issue, if i put it to sleep more than 30mn it sleep forever.
-
@Bajoja Wasn't that fixed in the latest build?
-
@robert-hh Thanks for the advice, i was using the version 1.6.9 and seems the problem was solved on 1.6.10.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login