Schedule Reboot Hub?

Hi All,

Can I schedule my ST Hub to reboot without using a wall plug?

My router schedule is 4 AM and was wondering if I could do the same for ST.

Thanks,
Vic

Not that I’m aware of and could actually cause more problems, the hub isn’t designed to be rebooted all the time as it has to keep connected to your devices and maintain the mesh.

If you use a smart plug make sure it isn’t connected to ST as it won’t come back on and also make sure you have the batteries out

But again - I wouldn’t

Kraeg

1 Like

I am guessing the reboot of the Router is causing ST not to reconnect to the internet automatically.

You could create a script that logs into the IDE and clicks the reboot hub. I would also recommend against it. I would look at the need of rebooting your hub nightly.

1 Like

If you are having to reboot any part of that system every night you’ve got a serious configuration or hardware problem.

3 Likes

Get a smart plug NOT connected to ST , like TP-Link wifi wall wart. Then if router reboots every day at 4:00, schedule the plug ( I assume Tp-link app allows for scheduled events) to turn off at 4:05 ( after router reboot is complete ) , on at 4:06 or something like that.

1 Like

I heard argument like @bamarayne 's (Jason mad respect to your contribution to the forum… side note) and I get the fact that they should not need to be rebooted but we all still have to do it sometimes. I don’t know if nightly is necessary but I wonder is weekly would be helpful for both a router and the ST hub. I know both of mine occasionally experience… hickups, brain farts, etc. call them what you want but the reboot almost always fixes whatever caused the issues.

2 Likes

Very true, and I agree… The occasional cache flush does improve things. A reboot can be helpful… But they can be dangerous… And a required reboot is a sign of trouble.

2 Likes

True true… so is there a happy medium?

I mean, thinking purely theoretical here, for the long term stable automation some type of maintenance function will probably be necessary. A perfect system would be able to run for years without issue but to do that some up keep is needed, right?

1 Like

I only reboot my hubs and router if required, but I monitor my system stats.

I think of my home network as a small WAN with the hubs representing my servers.

Have you ever rebooted a MS exchange server? Not a pretty experience

2 Likes

Guys,
The reason I was thinking of doing this is because I notice I have issues with my Schlage lock.
When I run my core routine our regular routine it only works some time.

My regular routine. Unlock deadbolt / disarm SHM/turn on light

Core same as above but if door lock them. Arm SHM /lock deadbolt / turn off light after 1 min.

I notice some time it doesn’t unlock and even more often it doesn’t relock.
When I restart the hub it goes trouble free for a few days.

I would look into why Core if failing, before I looked at automating a hub reboot every day to fix Core .

1 Like

I will…
Thank you

You can create a cron schedule in a smart app with the reboot http command, I suppose

To prevent the need for restarting the router, is there a command that can be sent through webcore that will disconnect and reconnect a motion sensor? Currently I have a routine where if a motion sensor has detected motion for over 15 minutes straight, it’s most likely stuck on motion. I can resolve this device being “stuck” on motion by doing one of two things.

Option one: Go to the sensor, take out the battery and reinsert the battery. (very time intensive)
Option two: Restart the smartthing hub. (this has been automated so it requires zero time)

Restarting the startthings hub has been working well for the better part of a year but based on the recommendations above, this is not the best solution.

Does anyone know of a webcore or smartthings command where one can automatically disconnect and reconnect a device from the mesh network? Thanks!!

First, that would be pretty off-topic for this thread.

Second, you are replying to a thread which is three years old and a lot has changed in that time, so please look for threads which Have had activity in the last 12 months or so. Otherwise everyone else ends up reading through dozens of posts which are completely outdated. :disappointed_relieved:

Third, what isn’t outdated is the answer to your specific question: no. There is no way using just software to remove and re-add a device. That capability is specifically not developed for home automation networks because it would create a huge security hole, allowing a hacking attack to take over your network and add or remove devices at will. So it just can’t be done in the way that you describe.

What you might be able to do is mod the motion sensor so that it runs off of mains power rather than batteries And then cycle power on it that way. There are existing threads in the forum that discuss these options, Although people are usually doing it just because they want a mains power device.

To find the appropriate threads, use the quick browse lists in the community – created wiki, go down near the bottom of the page for the “project report“ and look for the “power“ list.

Again, please do not resurrect ancient threads, because a lot has changed in a year or two. thanks! :sunglasses:

http://thingsthataresmart.wiki/index.php?title=How_to_Quick_Browse_the_Community-Created_SmartApps_Forum_Section