My (Tasmota) Sonoff 4CH Pro doesn't recover from a power outage

Hi,

I have three Sonoff 4CH Pro devices, flashed with Tasmota (14.6.0).

I had a power outage in my area, the power was down for approx 8 hours.

After power recovery I noticed that two of my Sonoff devices created their own WiFi AP. After connecting, I noticed all settings were lost. I was able to reconfigure them and they work fine now.

A third Sonoff device didn’t create their own WiFi AP. It’s also not connecting to my Wifi. It seems to work, because if I manually press the HW buttons, it reacts accordingly. The Wifi led keeps blinking.

How do I connect this device back to my network? I tried pressing HW1 button for 40 seconds. After that, the LED shortly stops blinking, but that’s it.

Anything else I could try?

As a last result I could hook it up to my laptop with an ftdi adapter, but I consider this as a last resort, since I need to borrow it from a friend and dismounting the device is complex (difficult to access).

Thanks for your input!

Hello Dries,

There is a setting that if the device gets like 6 quick power cycles, it resets the config to base config. I want to say so56 but don’t quite remember. That probably kicked in as the power winked.
You can turn it off, but you would need to use your backup config for your tasmota to recover the settings, they are gone.

Thanks. I will change that SO56 setting.

However, I still can’t connect to my third sonoff device. It is not connected to my wifi, and not setting up it’s own Wifi AP. Any suggestions?

Does anyone have some suggestions I could try? Or is my Sonoff e-waste?

I had this happen to a tasmotized device the other day. It had been running with no issue for the last year. Figured it was a random fluke and just restored from backup.

Are you referring to so36? That looks like it may be the culprit, but not sure how I would have gotten into a boot loop.

Can you reflash it through the serial interface?

SetOption65 Device recovery using fast power cycle detection
0 = enabled (default)
1 = disabled

It is now a blank device if this is the case broadcasting a wifilink., Log into it and manually set it up again or if you have backups, restore the backup on the device.

I backup usng this for 30 devices or so, GitHub - danmed/TasmoBackupV1: Tasmota Backup TasmoBackup - backup all your tasmota devices in one place.

1 Like

Ok, I’ve spend some time with my Sonoff device this afternoon.

I was able to reflash my Sonoff using Tasmotizer (release 15.0.1 - tasmota-lite.bin (also tried tasmota.bin)).

Despite succesfull reflashing and sending Wifi credentials using Tasmotizer, it didn’t connect to my network. I also waited 3 minutes so it would set up an AP, but nothing.

Then I used the application “Termite” to read the device using a serial connection. And it seems to be alive and well:

Status 0
00:00:52.782 CMD: Status 0
00:00:52.788 RSL: STATUS = {"Status":{"Module":1,"DeviceName":"Tasmota","FriendlyName":["Tasmota"],"Topic":"tasmota_A812BF","ButtonTopic":"0","Power":"0","PowerLock":"0","PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}}
00:00:52.820 RSL: STATUS1 = {"StatusPRM":{"Baudrate":115200,"SerialConfig":"8N1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota/release/tasmota-lite.bin.gz","RestartReason":"Power On","Uptime":"0T00:00:53","StartupUTC":"","Sleep":50,"CfgHolder":4617,"BootCount":4,"BCResetTime":"1970-01-01T00:00:00","SaveCount":7,"SaveAddress":"F5000"}}
00:00:52.850 RSL: STATUS2 = {"StatusFWR":{"Version":"15.0.1(release-lite)","BuildDateTime":"2025-06-14T10:30:37","Boot":31,"Core":"2_7_8","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8285N08","CR":"354/699"}}
00:00:52.870 RSL: STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C80001000600003C5A00192800000000","00000080","00006000","00004000","00000000"]}}
00:00:52.898 RSL: STATUS4 = {"StatusMEM":{"ProgramSize":510,"Free":492,"Heap":31,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"144051","FlashFrequency":40,"FlashMode":"DOUT","Features":["0809","0F000782","04108001","00000002","00000000","00000000","00000000","00000000","04000000","00000080","00000000"],"Drivers":"1,2,!4,9,10,12,!16,!20,!21,62","Sensors":""}}
00:00:52.928 RSL: STATUS5 = {"StatusNET":{"Hostname":"tasmota-A812BF-4799","IPAddress":"0.0.0.0","Gateway":"192.168.1.1","Subnetmask":"255.255.255.0","DNSServer1":"192.168.1.1","DNSServer2":"0.0.0.0","Mac":"34:AB:95:A8:12:BF","Webserver":2,"HTTP_API":1,"WifiConfig":2,"WifiPower":17.0}}
00:00:52.951 RSL: STATUS6 = {"StatusMQT":{"MqttHost":"","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_A812BF","MqttUser":"DVES_USER","MqttCount":0,"MqttTLS":0,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}}
00:00:52.974 RSL: STATUS7 = {"StatusTIM":{"UTC":"1970-01-01T00:00:52Z","Local":"1970-01-01T00:00:52","StartDST":"1970-01-01T00:00:00","EndDST":"1970-01-01T00:00:00","Timezone":"+00:00","Sunrise":"20:13","Sunset":"05:47"}}
00:00:52.991 RSL: STATUS10 = {"StatusSNS":{"Time":"1970-01-01T00:00:52"}}
00:00:52.999 RSL: STATUS11 = {"StatusSTS":{"Time":"1970-01-01T00:00:52","Uptime":"0T00:00:53","UptimeSec":53,"Vcc":3.480,"Heap":31,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCou```

I tried forcing AP mode:

Backlog WifiConfig 2; WifiPower 20
00:00:57.900 CMD: Backlog WifiConfig 2; WifiPower 20
00:00:57.952 RSL: RESULT = {"WifiConfig":{"2":"WifiManager"}}
00:00:58.304 RSL: RESULT = {"WifiPower":20.0}
00:00:59.561 APP: Restarting

 ets Jan  8 2013,rst cause:1, boot mode:(3,6)

load 0x4010f000, len 3584, room 16 
tail 0
chksum 0xb0
csum 0xb0
v3969889e
~ld

00:00:00.001 HDW: ESP8285N08
00:00:00.050 CFG: Loaded from flash at F4, Count 8
00:00:00.055 QPC: Count 1
00:00:00.062 Project tasmota - Tasmota Version 15.0.1(release-lite)-2_7_8(2025-06-14T10:30:37)
00:00:00.265 WIF: WifiManager active for 3 minutes
00:00:00.772 HTP: Web server active on tasmota-A812BF-4799 with IP address 192.168.4.1
00:00:06.926 QPC: Reset

My laptop, iPhone, Android device are not detecting any Wifi AP.

Could it be a hardware issue? Anything else I can try?

How about reflashing it in tasmotizer, but not sending the WiFi ssid/credentials? Then let it boot up with the default AP, connect to that and select your WiFi network that way.

I tried that as well. But it didn’t broadcast an AP (I waited >3 minutes).