Nikkit logo NikkitSmart home, explained simply
Plugs and Switches

Smart Plug After a Power Outage and the Restore Setting

A reader in Vermont lost power for about fifty minutes during an ice storm in January. The grid came back at two in the morning, the furnace restarted, the lights came on, and the chest freezer in his garage stayed dark for thirty one...

A chest freezer in a dim garage plugged into a smart plug beside a phone showing a power restore behaviour setting

A reader in Vermont lost power for about fifty minutes during an ice storm in January. The grid came back at two in the morning, the furnace restarted, the lights came on, and the chest freezer in his garage stayed dark for thirty one hours. It was plugged into a smart plug, and that plug had come back in the off position, which is exactly what its firmware was written to do. He found out on Saturday afternoon when he opened the lid looking for burger patties.

I spent six years installing alarm panels and access control before I started writing about the smart versions, and the one habit that never left me is asking what a device does when the power dies. An old mechanical timer did something stupid but predictable: it stopped, then resumed with its clock wrong. A smart plug has a documented setting that decides whether the thing behind it comes back, nobody changes it at setup, and most people do not learn it exists until something defrosts.

Why the plug does not just come back on

Inside a smart plug there is a relay, and a relay has no memory of its own. When power returns, the little microcontroller boots in a second or two and then has to decide what to tell that relay. There are only three answers available to it, and every manufacturer picks a default.

The first is off. This is the conservative choice and it is still the factory default on a surprising number of cheap plugs, because a plug that wakes up energised can switch on an appliance in an empty house. The second is on. Some outdoor and industrial oriented models ship this way. The third is restore last state, where the plug writes its on or off condition to flash memory and reads it back at boot.

Restore last state sounds like the obvious winner and it is the one I use on roughly half my own plugs. It has a real weakness though. The write to flash happens when the state changes, so if the plug was switched off by a schedule at 11pm and the outage hit at 11:40pm, it restores off, which is correct but not what a half awake person expects. Some firmware also skips the write if the change came from a cloud command rather than the physical button, which produces behaviour that looks random until you know the rule.

The setting is there, under a different name on every brand

Finding it is the hard part, because no two apps agree on the wording. These are the labels I have had to hunt for, written down after the third time I went looking in the wrong menu.

Where you lookWhat it is calledCommon factory default
Most wifi plug apps, device settingsPower On Behaviour, or Power RestoreRestore last state on newer models, off on older ones
Zigbee and Z-Wave plugs through a hubA numbered parameter, often listed as relay default stateVaries by firmware, frequently off
Matter plugs added through a phone platformOften not exposed at all in the platform appWhatever the vendor compiled in, so install the vendor app once to set it
In wall smart switchesDefault state after power loss, sometimes under AdvancedUsually off, which is the sane choice for a light
Energy monitoring strips with several outletsOne setting for the whole strip, not per socketRestore last state for all sockets together

That last row catches people. A six outlet smart strip with individually switched sockets will often apply one restore rule to all of them, so you cannot have the router come back on and the decorative lamp stay off. If you need different behaviour, you need different hardware.

The advice I disagree with

The standard recommendation you will read in forum threads is to set your important devices to restore on and consider the problem solved. I think that gets it backwards, and I say this as somebody who makes a living explaining these devices.

If a freezer, a sump pump, a medical device, a fish tank heater or a security camera genuinely matters, it should not have a smart plug in its circuit at all. You have added a relay, a radio, a microcontroller and a firmware update channel between the appliance and the wall. Every one of those is a new way for the load to stop, and the restore setting only addresses one of them. I have seen plugs fail with the relay stuck open after about eighteen months on a compressor load, and no setting rescues you from that. The load profile of a motor is unkind to plug contacts for the same reason a resistive heater is, which I went through in detail in our piece on whether a space heater belongs on a smart plug.

What I do instead is simple and dull. Freezer, pump and router go straight into the wall outlet. If I want to know whether the freezer has power, I put a cheap wifi temperature sensor inside it or a power failure alarm on the same circuit, because a sensor that only reports costs me nothing if it dies. The smart plugs get the lamps, the Christmas lights, the dehumidifier, the towel rail, the things where an unexpected off is an annoyance rather than a loss.

Set the restore behaviour on every plug you own, then arrange your house so that the setting never has to work.

Coming back on is not the same as coming back

There is a second gap that the restore setting does nothing about, and it is the one that produces the strange reports. The plug energises within two seconds of grid power returning. Your router takes forty to ninety seconds to boot and another fifteen to thirty to get a usable connection from the ISP. The plug therefore spends up to three minutes trying to reach a network that does not exist yet, and some firmware handles that badly enough to need a manual power cycle afterwards.

While it is offline it also has no clock. Smart plugs keep time by asking a network time server, not by battery, so a schedule due at 05:00 during that window is simply missed rather than run late. A sunrise or sunset trigger is worse, because the plug needs both the time and its stored location before it can calculate the offset. I have had a plug sit in the wrong state for most of a day after a 4am outage for exactly this reason, and the app showed it as online and healthy the whole time.

If the plug seems to recover more slowly than everything else in the house, the usual culprit is signal rather than firmware, and the reconnect loop makes a weak link look like a dead device. That failure mode is the same one described in our notes on why smart plugs drop off wifi more than other devices.

Test it on a Tuesday, not during a storm

You can check all of this in ten minutes without waiting for weather. Set the plug's restore behaviour to what you want. Switch the plug on, then kill power to it at the breaker, or if it is a desk plug, unplug it from the wall for a full thirty seconds so the capacitors drain. Restore power and start a timer on your phone.

Watch two things: how long until the load comes on, and how long until the app shows the plug as controllable. Those are different numbers and the second one is usually three to five times the first. Repeat the test with the plug switched off before the cut, because that is where restore last state and always on give different answers and where you find out which one your plug actually implements. Write both results on a piece of tape on the plug body. It takes two minutes and it is the only documentation that will exist.

Then do the thing that matters more than any of it: walk round the house and list what is behind a smart plug. If anything on that list would cost you money or safety by staying off for a day, move it to the wall. Other decisions of this kind are gathered in our plugs and switches section.

FAQ

Do smart plugs remember their schedules after a power cut?

Cloud scheduled plugs do, because the schedule lives on the vendor's server and fires once the plug reconnects. Locally scheduled plugs usually do too, but any trigger that fell inside the offline window is skipped rather than caught up. Sunrise and sunset triggers need the clock and location back before they work.

Can I set different restore behaviour for each socket on a smart power strip?

On most strips, no. One setting covers every socket, even when the sockets switch independently day to day. Check the manual before you buy if that matters, or use separate single plugs.

Is a surge protector or a smart plug better for a computer?

A surge protector, and ideally a small uninterruptible supply. A smart plug offers no surge clamping worth the name, and it adds a relay that can drop the machine. Keep the computer on a protected outlet and put the monitor lamp on the smart plug if you want one in the room.

Why did my smart plug come back on when I had set it to restore last state?

Most often because the last state written to memory was on. A plug switched off by a cloud command sometimes never commits that change to flash, so it restores the older stored value. Toggle it with the physical button once, cut the power, and see whether the behaviour changes.

AK
Ada Kessler

Ada installed physical security systems professionally for six years before switching to writing about the smart version of the same job. She reads a device's privacy policy before she reads its feature list.

More posts by Ada

More in Plugs and Switches

01doorganico 084goad 3hot8 4465456 after5internprogram ahandfulofblessings ahmadpc ahomcybersecurity allodialresources annodex antiquesandperiodcollectibles aotc asianworldkashmir beedlectrics bloggertemplatefree bluefeatheragency bodyweightsolution campaign08blog carfixadvisor catstreetcollective cbstvsports cnfanspurchasing committeeof500yearsofdignityandresistance covertopsdjs cs-kaiyuangame cuestacomunicaciontotal cxoutlet dancebetgame deskgearhub destinyvillastay detectmagazine di33 diamondsteelbuildings donmo dyanadropship emarsysfinance emimattl escapechan eskitarih evautoplay everythingweddings-orlando farmzone feedviewerapp foxstudiosscratch gamevui123 gleasongrade greetingsday hacklabasu haskell iw-kaiyun jagoanproperti jilidskripsi joltbusinessfinance juegodepokergratis juegospucca kaeru-festival latestmehndidesigns lestanzediottaviano litemagazines localcommunityhero lustrsazan mariashebets menswheels newwebstechs1 ootheday oxigenvpn plurfitness prefetial probudgetcarpetcleaning psychicmrsmartin pyaten qvantor rejoignezlogis rexzbot riselayouts ruchin rwxqsgd5 sakaltime shibiaowang shop-bot skrtips spotlesshaven strcoding tetapatrium topselller uneplanteartificielle vipertechcr webtech1223411 wo-kygaming yamaha-mekar yeknava yoybuysheets zenunwa yamaha-mekar jilidskripsi ankertoto ankertoto ankertoto ankertoto