Outlet programmable to turn itself on

I'm looking for an outlet device that I can control with Hubitat that will allow me to program the outlet locally (without commands from the hub) to turn itself back on. I'm trying to create a power reset triggered by conditions detected by the hub, but during which the hub itself will also experience a power cycle. So I need to trigger the outlet (or switch) to turn off and have power back up after a minute or so.

Most devices I've seen with "auto on" really mean either (a) they'll come back on after power failure or (b) they're controlled by a hub so they'll accept commands. Not quite what I need.

Any thoughts? TIA

I've had good luck with Kasa outlets.They can be controlled remotely without the hub (but also controlled by the hub.) I even set one up to power on every four hours (schedule is internal to the device) that my router was plugged into, in case I accidentally powered off the router remotely, and no longer had remote access.

Now that is kinda clever. :slightly_smiling_face::+1:

You learn from your mistakes.

1 Like

Close but I haven't messed with integration of wifi devices on Hubitat.

I'm trying to do something similar - setup a hourly ping to see if the system is still online and if not (verified by two remote services and two attempts at each) then I want Hubitat to initiate a power cycle to reset everything (modem, router, ethernet switches, POE devices, and itself). Our ISP is plagued with periodic glitches related to local power issues - and they periodically "confuse" everything and the house goes offline. When we travel, I'm not around to reset it so I'm trying to do it automatically. So I can initiate a shutdown with Hubitat device but need it to turn itself back on.

Are you sure a shutdown and power pull on the hub is necessary? Would a reboot not be enough in that situation?

I also have the hub powered through a Wifi plug (not even controllable by the hub) as an emergency measure but can't remember the last time I had to use it.

1 Like

There was a thread on this a little while ago but I'll be darned if I can find it. The device below was mentioned.

Willy nilly power cycling the hub can cause a problem where it has to be restored. It might work in an emergency if you have to.

You could do a ups, or pass through battery, whatever, for everything but then it's harder to do an emergency power cycle because it's always on.

I used to use an old C7 to monitor the production C8 and act accordingly, but don't anymore. I don't go anywhere.

https://a.co/d/0d7SdsCO

The internet power cycle switch has two problems in my view. First, its not cheap. Second, there can be false positives they way they check. I've got everything on a UPS, but I have single power line to the router and Hub because they're located one floor up to avoid interference from the stuff in the utility room. I guess I should just run a separate power line for the Hub so it doesn't cycle with the other stuff.

The wifi switch doesn't do me much good if the problem is that I'm traveling when the internet connection is lost.

Thanks for all of your insights and suggestions!!!

Yeah, I was going to suggest to @jon2 treating resetting the hub as a separate action.

I have it set up so that if Internet connectivity fails, and we are not at home, it will turn the cable modem off, wait a minute, and turn it back on. I do this because sometimes after an outage, it is necessary to power cycle the cable modem.

You could do similar for your router if it is separate from the cable modem.

I do also have an out of band (e.g., wi-fi) smart plug on the hub that I could power cycle remotely if I needed to, but I can't remember ever having to use it.

2 Likes

That's what I'm going to end up doing. I just need to reroute a separate power line to the hub. Was hoping to avoid that.

I feel like I'm missing something. Even if the router and hub share a common circuit or power source, why not use smart plugs to do this?

1 Like

I have a couple zigbee Tuya outlets that apparently can be configured to turn on after power restoration, even if the coordinator is not up and running. At least z2m permits such configuration (power outage memory).

Worked perfectly. Here's how I tested it:

  1. Configured the plug using z2m to turn on after power restoration.
  2. Powered down the coordinator and radio.
  3. Turned the plug off, and then pulled it out of the outlet.
  4. Plugged the plug back in - it turned on pretty much instantly.

Here are the plugs that I used for this:

But I was looking for it to come back on by itself a minute after being turned off - ir sees no power loss. Most of the outlets will return to on with power restore. But thats not the use case here.

Ahh - I thought this was about a power loss situation. I think you can build that using a relay and a timer?

More devices than needed increases potential points of failure and cost. Anything can be accomplished by brute force and unlimited budgets! :grin::wink:

It sounds like you know what you want. It's OK if I don't fully understand. It seems to me that either way you have two devices that control power unless you want to do them together to save one smart plug. Running another power line sounds like more trouble.

As to cost, I guess I was assuming everyone's junk box has a bunch of these