Skip to content
Discussion options

You must be logged in to vote

I suspect the forced lightsleep() might do something to your WLAN connection. The ESP WIFI will most likely need to do something to maintain the connection to your AP. WIFI disconnects might be hidden by the automatic reconnect built into micropython (which I consider as a bug on it's own).

Maybe you will get better results when you allow the RTOS/WIFI to control lightsleep using the WIFI power save options (see e.g. PR #8993 or #6774 - you will need to merge them yourself + build micropython, as these patches aren't merged yet).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kmm
Comment options

Answer selected by kmm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
None yet
2 participants