Skip to content

light sleep without beeing connected to a WLAN #557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Yoshi20 opened this issue Jul 15, 2015 · 3 comments
Closed

light sleep without beeing connected to a WLAN #557

Yoshi20 opened this issue Jul 15, 2015 · 3 comments

Comments

@Yoshi20
Copy link

Yoshi20 commented Jul 15, 2015

I would like to configure my ESP8266 as an access point only in a specific state (of a state machine).
In the meantime I just set some GPIOs and wait (with delays).
The problem now is, that light sleep won't be activated unless the ESP8266 is connected to a WLAN (or was connected once -> it seems to save the ssid and the ssid-pw internaly!)

Just setting the sleep type (with "wifi_set_sleep_type(LIGHT_SLEEP_T)")
and changing the opmode to WIFI_STA doesn't seem to be sufficient.

Is there an other way to go into light sleep without beeing connected to a WLAN?
Are there other ways in the SW to reduce power consumption during the runtime?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Humancell
Copy link

Bump.

I'm looking for an example or more details on using "light sleep" in a sketch. I'm not finding much in the docs or when I search ... any pointers that someone can provide?

I'll write things up when I get it figured out, but am looking for a good starting point on using it.

Thoughts? Links?

@Yoshi20
Copy link
Author

Yoshi20 commented Feb 11, 2016

It seems to be still not possible to enable the 'light sleep' when the ESP is not yet connected to a WLAN.
But #1381 seems to approach a solution for the problem.

@devyte
Copy link
Collaborator

devyte commented Oct 20, 2017

Duplicate of #1381. Closing this one.

@devyte devyte closed this as completed Oct 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants