Sleep (deep/light) causes watering unit to power on
-
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!