Hi,
I am making a weather dashboard from a Lilygo T5. Everything works as it should but I am unable to wake the device with the buttons from Deep Sleep.
Using wake_pin on a single button works perfectly fine, but it doesn’t work at all when I try to use esp32_ext1_wakeup. The reason is that I need to use “inverted” and can’t get it to work at all with esp32_ext1_wakeup. Note that I will also need to use “mode: ANY_HIGH” to distinguish the buttons.
Below you see two different examples that I have tested and unfortunately none of them work. When running these codes the pins are still on HIGH.
Is there any solution to this? Or have I just missed something?
deep_sleep:
run_duration: ${run_time}
sleep_duration: ${sleep_time}
id: deep_sleep_1
wakeup_pin_mode: INVERT_WAKEUP
esp32_ext1_wakeup:
pins:
- 35
- 34
- 39
mode: ANY_HIGH
deep_sleep:
run_duration: ${run_time}
sleep_duration: ${sleep_time}
id: deep_sleep_1
esp32_ext1_wakeup:
pins:
- number: GPIO35
inverted: true
- number: GPIO34
inverted: true
- number: GPIO39
inverted: true
mode: ANY_HIGH