Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Lopy Sleep

    Scheduled Pinned Locked Moved Firmware
    lopy
    7 Posts 4 Posters 2.4k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I Offline
      innovpoint
      last edited by

      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!

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        constantinos @innovpoint
        last edited by

        @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

        1 Reply Last reply Reply Quote 0
        • I Offline
          innovpoint
          last edited by

          Hi,

          My lopy sleeps forever after the deepsleep (10000) :)

          Do you have an example with RTC ALARM or similar ?

          Thanks..

          1 Reply Last reply Reply Quote 0
          • I Offline
            innovpoint
            last edited by

            help :) ?

            1 Reply Last reply Reply Quote 0
            • B Offline
              Bajoja
              last edited by

              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.

              robert-hhR 1 Reply Last reply Reply Quote 0
              • robert-hhR Offline
                robert-hh @Bajoja
                last edited by

                @Bajoja Wasn't that fixed in the latest build?

                B 1 Reply Last reply Reply Quote 0
                • B Offline
                  Bajoja @robert-hh
                  last edited by

                  @robert-hh Thanks for the advice, i was using the version 1.6.9 and seems the problem was solved on 1.6.10.

                  1 Reply Last reply Reply Quote 0

                  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
                  • 1 / 1
                  • First post
                    Last post

                  Pycom on Twitter

                  Pycom