if I run
wifi.sleeptype(wifi.MODEM_SLEEP)
node.dsleep(1000000, 4)
my ESP-12 module goes to sleep for one second and after waking up, it comsumes only 13.2 mA with the modem turned off (compared to about 70 mA with the modem turned on).
It also stays in this 13.2 mA consumption mode, when I reset the module via the reset pin.
Now the strange part: After happily working in this mode for exactly 20 minutes (1200 seconds), the current rises to 15.3 mA for 3 seconds and then the WDT kicks in and resets the module. After this reset caused by the WDT, the current consumption is about 70 mA.
The phenomenon is reproducible every time.
Here is the output log after the 20 minutes:
ets Jan 8 2013,rst cause:4, boot mode:(3,7)
wdt reset
load 0x40100000, len 31916, room 16
tail 12
chksum 0xea
ho 0 tail 12 room 4
load 0x3ffe8000, len 2888, room 12
tail 12
chksum 0x8d
ho 0 tail 12 room 4
load 0x3ffe8b50, len 15452, room 12
tail 0
chksum 0x22
csum 0x22