Comments (4)
I don't know if this is the right place (nor if it is my call), if you want to discuss all things your project meet me at the forum. In my case I don't see a server being able to sleep unless the AP has some form of store & forward. The browser's SYN can come at any time and you must be awake to handle it or the IP datagram be queued at the AP until you say hi after the beacon. Unfortunately there's been quite more than a long decade since I was toying with end-devices sleeping on a WiFi network, never with a sleeping server, and that feature might already be built-in on newer APs; IIRC it was not for 802.11b/g and I would risk saying that neither it was for n.
from mongoose-os.
Hi. Most of the power consumption of ESP32 came from WiFi. If you are waiting for a web request, you need to keep WiFi turned on all time, so there is no much power you can save at all.
from mongoose-os.
well, this is not quite true. devices only need to be active occasionally, to maintain association with the AP.
ESP32 has different power-saving modes that make it turn radio off when not needed. bu default it's off (0), but you can set wifi.sta_ps_mode
to 1 or 2 for different degree of power saving.
from mongoose-os.
indeed, deep sleep is unlikely to be possible just because of how disruptive it is, but wifi radio can be put to sleep between beacons, that's what ps_mode does, essentially. there might be slight delay to reacting to connections, yes.
from mongoose-os.
Related Issues (20)
- ESP-IDF update for ESP-32 to protect against Braktooth HOT 1
- Self re-trigger crashes with stack canary or double exception (ESP32) HOT 2
- Camera connect
- ESP32 reboots continuously after flashing new build.
- Possible race issues? HOT 1
- Running out of RAM during OTA update HOT 2
- Failed to flash ESP32-S2 HOT 1
- Resource leaks HOT 2
- Potential resource leaks HOT 2
- Adding api_timer.js gave core dump HOT 7
- ESP32 SNTP sys.tz_spec weird result HOT 6
- Undefined reference to `ping_start'
- Support for ESP32-S3
- Google Cloud IoT Core will no longer be a service on August 16th, 2023 HOT 1
- esp32-c3 build fails with `unknown CMake command "add_prebuilt_library"` HOT 5
- mos fails to launch - Windows 10 HOT 2
- Mongoose OS using mongoose 6.18 with bugs in it
- ESP32 MQTT Broker Over WS HOT 3
- Certificate of build.mongoose-os.com expired HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongoose-os.