Start a new topic

Sonoff Basic: Recovery after power failure

Hello everyone,

Using eWeLink, I was able to pair with my SonOff Basic. I want it to turn on a lamp at a certain time, and then turn it off at a certain time. I added two schedules: one to switch on and another one to switch off. That works as expected, but, if there is a power failure after the scheduled switch on time, and the power is restored, the lamp stays switched off. Or, if there is a power failure before the switch on time, and the power is restored just after the switch on time, the lamp also stays switched off.

My question thus is if it is possible to specify a switch on period, with a start/end time, and if there is a power failure and later when the power is restored, the SonOff will check if the current time is still within the switch on period, and then switch on the load?

1 person has this question

It seems as if I have no other option but to flash custom firmware to the Sonoff :-/

Use the "Keep" setting under settings for the Power on State.  The device will come back on and resume the state it was in when the power failed.  That will cure the first scenario.  Nothing I know of short of a repeating web link cron job on IFTTT will solve the second scenario.

1 person likes this
Hi, I have purchased the sonoff pow r2. In ewelink app there is no option in the setting to stay turned on while the power returns. Please i might not be able to use it if this continues. Thanks

1 person likes this

I would like this feature too

My power supply is a 5V / 700mA cellular charger. After a power failure (220Vac) that lasted no more than 2 seconds, the sonoff opened and closed the output relays continuously, disconnected from the power supply and turned it back on and everything went back up, but it left me unsure, because if it happens again , will open and close the gate. The connections are NO (normally open), configured as type button and state after power ON "OFF".

1 person likes this
Hi, I'm from Argentina, when electricity is down for more than two seconds, and came back again my gate opens, I try a lot of different settings but the only thing I know should work is buying an UPS to keep sonoff board with 5v input, I'd love to upgrade my sonoff firmware with this issue resolved.
Is there any update on being able to resume a programmed cycle where it should have been after mains power fails and is then restored?

Pretty good post. 

صادرات به ترکیه

nice post

I like the amazing blog here this is the nice post to look you here how do i fix bluetooth audio devices connections in windows 10 most of the users can need to access the all function of service of work.

Yeah i agreed it is really hard to recover after major accident. People after road accident  takes time for recovery. 

Login or Signup to post a comment