If the plug is offline don’t expect to turn it on or off… And if the router is needed for the WiFi Tapo plug to work, when you turn off the plug you won’t be able to turn it on since there’s no WiFi.
I’ve tryed manually, to set a “timer” that switch on the plug after 1 minute (for example) and switch it off. It works, plug will return at status on.
I was hoping that the routine would also work in the case of offline, with some local operation, i saw that device has attribute “status offline”… but i’m not sure it works as i hope!
Local operation is only possible if you’re using Matter integration or a custom driver that uses TP-Link API and your WiFi access point is not the router that you’re restarting (and it’s not involved in any other way). If it’s the cloud integration it won’t work if the plug has no Internet access.
I’ve seen the specific plugs kindly suggested by Andreas that do what I want, but I don’t like having to pay for an app service to do what I’m paying for the hardware.
Unfortunately, there don’t seem to be any alternatives. Do you know any tutorials on how to enable local integration via Matter? TAPO plug is Matter compatible, so i could try.
Thank you very much for your help.
Then again, it won’t work, if the plug is locally controlled it will never be offline from the hub point of view so the routine won’t run. And if it’s actually offline the routine won’t be able to control it.
What I do at home when I have an Ethernet connected ST v2 hub is:
I have a ZigBee plug on my WiFi router. I manually can turn the plug off from ST. Then I have a local automation to turn it back on after 60 sec. My Ethernet connected devices such as ST generally work even when my Wi-Fi is acting up.
I have a Meross WiFi plug on my ST router that I can operate from the Meross app if ST gets wonky. This plug resets to its previous state after a power outage.
I use a Zigbee smart plug that’s connected directly to the SmartThings hub’s Zigbee wireless as well since it’s not connected to the WiFi router which my Matter smart plugs are connected to. Similar Automation Routine, if this Zigbee smart plug that my home router is connected to is Off for N seconds, then power it back on.
It’s obviously confusing since SmartThings shows Automation Routines that have Matter devices in them as running local. But to run local, the local wireless network that the Matter device is connected to has to be online.
With the ZigBee plug if you notice Wi-Fi problems like offline Wi-Fi devices you can remotely turn the ZigBee plug off and it will automatically turn back on.