🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Sleep (deep/light) causes watering unit to power on

    Scheduled Pinned Locked Moved Core 2
    1 Posts 1 Posters 1.9k Views
    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.
    • S Offline
      sk_muc
      last edited by

      Hi,

      i recently got an M5 Core2 and a watering unit, which I'm using for plant watering. Currently I'm using UIFlow as I didnt' find any good documentation for the watering unit using MicroPython, and UIFlow seems to be based on MicroPython anyway.

      As watering is something not really time-critical and I planned to operate the M5Stack using a solar power bank, I was experimenting with machine.deepsleep() and machine.lightsleep().

      It appeared to work for the ESP itself, however the screen stayed on, but I can at least set the brightness to 0%.

      The bigger issue is that both functions actually turned on the pump during the entire sleep time. How can I stop this behavior? Is there a way to power down the entire grove port during sleep?

      And, as a follow-up question: In case I get more watering units and connect them using a Bottom2, what do I need to do in order to avoid that the pump is switched on for those units during sleep?

      Thanks for your help!

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