Hi, Im hoping someone can help or can at least tell me if it is possible or not.
I am running WLED on a D1 mini, in an enclosure, powered from a battery, No issues so far. I am currently powering on the D1 with a simple switch, and have a momentary button to trigger macros.
I would like to remove the switch and use the button to power on the D1. I know this is not possible in itself, but is it possible to use the button to send the D1 into ‘deep sleep’ and then the button again to wake it from deep sleep?
Is this possible?
Thank you for any help as i’m struggling to find any solution.