SleepMode

From Let's Control It
Revision as of 19:24, 12 March 2017 by Psy0rz (talk | contribs)
Jump to navigation Jump to search

The ESP8266 can be set to deep sleep. You need to connect GPIO-16 with the RST pin to make this work.

If you enable Sleep Mode, the ESP will send all the sensor-readings at once and then go to deep sleep. It will sleep for the amount of seconds thats set in the Sleep Delay setting.

This saves lots of power, allowing you to use the ESP8266 on batteries.


Getting out of deep sleep

When this state is active, you can't connect to the web interface. In fact, the ESP is turned off and only a dedicated timer circuit is still powered to wake up the main ESP core.

But the ESP Easy can detect a cold boot situation and this is the only way to regain access to the web interface. So power off the ESP and reconnect power. You will have 30 seconds to connect to the Web interface and disable the Sleep Mode function.