I have the POW (R2) + mega-20190315 (ESP_Easy_mega-20190315_hard_SONOFF_POW_4M).
I've initialized it via "factory reset" and using pre-defined config "Sonoff POW-r2".
It works correctly (I hope

Sometimes it happens 2-5 times a day.
I saw the similar topics whith main idea that it's the WiFi issue. My POW right now is near my AP (Mikrotik hAP lite configured via CAPSman if it can help) - 802.11N (RSSI -39 dB).
But my question is not about the watchdog.
Q: Is it possible to store the last state of the GPIO-12 somehow to use it after such a reset (or is it a reboot?) to have POW on/off (depending on which one was before the watchdog killed it)? Right now I have to add "gpio,12,1" into my rules. It works correctly. But what to do when it was "off" before reset?
Maybe there is any way to keep the state of this gpio-12 in the POW's memory to check it after reboot and make the on/off command?