mirror of https://github.com/arendst/Tasmota.git
Updated Support for Deepsleep and Wake Up PIN (markdown)
parent
45ec255559
commit
2bd7c86389
|
@ -2,7 +2,7 @@ Deep sleep support for up to 1 day (i.e., 86,400 seconds) ([`DeepSleepTime`](Com
|
|||
|
||||
The ESP8266 has a limitation of a maximum of ~71 minutes deep sleep. To overcome the limitation, a short wake-up is performed - the device will wake up every hour for <0.3 seconds until the deep sleep time is reached. The remaining deep sleep time is decremented, and the device is then put back in deep sleep again. The remaining time is stored in RTC memory. As long as the device is powered (e.g., via the battery), this should work fine. Flash memory is not used because of how often this has to occur (every hour) and the time it takes for the flash to be ready takes much longer than the total time to write to the RTC.
|
||||
|
||||
`DeepSleepTime` sets the time that the device remains in deep sleep before it returns to full operating mode before returning to deep sleep again. **This cannot be changed!** For example, if you set `DeepSleepTime 3600`, the device will wake up every hour, exactly (e.g., 8:00am, 9:00am, ...). If you define `DeepSleepTime 86400` (i.e., 60*60*24), it will wake-up exactly at 0:00 UTC time - not your local time. If you define `DeepSleepTime 600`, it will wake-up every 10 minutes (e.g., 8:00, 8:10, 8:20, ...).
|
||||
`DeepSleepTime` sets the time that the device remains in deep sleep before it returns to full operating mode before returning to deep sleep again. **This cannot be changed!** For example, if you set `DeepSleepTime 3600`, the device will wake up every hour, exactly (e.g., 8:00am, 9:00am, ...). If you define `DeepSleepTime 86400` (i.e., 60\*60\*24), it will wake-up exactly at 0:00 UTC time - not your local time. If you define `DeepSleepTime 600`, it will wake-up every 10 minutes (e.g., 8:00, 8:10, 8:20, ...).
|
||||
|
||||
To "reset" deep sleep, temporarily disconnect power and the RTC will be wiped on the next reboot. Alternatively, you can define a deep sleep input to temporarily disable deep sleep (described below).
|
||||
|
||||
|
|
Loading…
Reference in New Issue