ESP32, Deepsleep and external Wake-up sources?
Posted: 23 Jan 2022, 19:13
Hello Community,
I have been spending many hours searching through the forum to findout
if external wake-up sources are also supported with ESPEasy and an ESP32
however have not found an answer.
In one thread (of two years ago) it was mentioned "not yet" - is that still the case?
My application and why I need external wake-up from deepsleep:
I want to use an ESP32 (because I need many GPIO's for several input signals
and some signaling LEDs depending which input signal triggered the event)
that shall be run on battery power inside our car.
Thus I'd like to use deepsleep of the ESP32 and wake it up only if one
of the external trigger sources (=the pushbutton) are pressed - as most
of the time the ESP32 will be sleeping.
Additionally, periodically I also want to measure the voltage of the battery
and -if I am in coverage range of the configured WiFi APs- send the measurement
to Thingspeak and also sent an eMail if the battery is getting low.
The latter use-case I will be able to cover with the timer Sleep awake time/sleep time in the configuration tab of ESPEasy,
however the external trigger of an event (e.g. different pushbuttons are pressed
and shall now be visualized which one was pressed) does not work
and does not wake-up the ESP32 from sleeping.
Does anybody know if several external wake-up sources like pushbuttons are supported
in the meantime in ESPEasy to solve my above use-case?
Or is there another way to solve my described application?
Thanks a lot in advance for any suggestions and advice!
best regards,
AO16
I have been spending many hours searching through the forum to findout
if external wake-up sources are also supported with ESPEasy and an ESP32
however have not found an answer.
In one thread (of two years ago) it was mentioned "not yet" - is that still the case?
My application and why I need external wake-up from deepsleep:
I want to use an ESP32 (because I need many GPIO's for several input signals
and some signaling LEDs depending which input signal triggered the event)
that shall be run on battery power inside our car.
Thus I'd like to use deepsleep of the ESP32 and wake it up only if one
of the external trigger sources (=the pushbutton) are pressed - as most
of the time the ESP32 will be sleeping.
Additionally, periodically I also want to measure the voltage of the battery
and -if I am in coverage range of the configured WiFi APs- send the measurement
to Thingspeak and also sent an eMail if the battery is getting low.
The latter use-case I will be able to cover with the timer Sleep awake time/sleep time in the configuration tab of ESPEasy,
however the external trigger of an event (e.g. different pushbuttons are pressed
and shall now be visualized which one was pressed) does not work
and does not wake-up the ESP32 from sleeping.
Does anybody know if several external wake-up sources like pushbuttons are supported
in the meantime in ESPEasy to solve my above use-case?
Or is there another way to solve my described application?
Thanks a lot in advance for any suggestions and advice!
best regards,
AO16