🤖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

    Core 2
    1
    1
    1.4k
    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
      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
      • First post
        Last post