Have to conserve battery power so need to detect when user is on website. Otherwise, after time has expired, will turn off power to Wi-Fi. I see one can do this in synchronous library using “client.availible”. Is there a similar method in the Asynchronous Web Server library?
3 Answers
Hi.
I don’t think there is a similar method.
But, take a look at this discussion that might help:
https://esp32.com/viewtopic.php?t=10429
Regards,
Sara
Thanks so much Sara!
PS: Love your website especially this forum and the tutorials. Purchased a bunch of your courses too.