ESP-WROOM-32, v1.19.1, ^C doesn't break lightsleep #10066
Replies: 2 comments 1 reply
-
The ESP-IDF defines the wakeup sources (see https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/sleep_modes.html).
A quick grep over the micropython sources does not find I seriously doubt this ever worked on ESP32. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much. I read the same section about UART-waking you indicated, but it isn't clear how to use it from Micropython. I also see a reference to "esp_sleep_enable_wifi_wakeup" on that same webpage, but there is no indication of how to use it, much less from Micropython. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if this is board-specific or OS-specific, but I just installed 1.19.1 on an ESP-WROOM-32 and from the REPL, I can't break out of lightsleep with a ^C, which has always worked on D1 Minis (and I think ESP01s and PyBoards except that I can't recall from so long ago).
Should lightsleep be breakable in my desired fashion, something akin to a ^C from the keyboard? It always worked before. If not, what is the recommended way to get out of lightsleep without hard-reseting from the on-device hardware button? Even ^D doesn't work. It takes a physical button press to recover control of the device. Surely there is a way to do this, right? It's only "light" sleep after all.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions