[RELEASE] Hub Rebooter App

I think this app has been affected by the .130/.131 bug @dman2306
The hub did not reboot for my scheduled restart yesterday

The issue from 130 would prevent you from even opening the app. Do you receive an unexpected error if you try to open the app? My rebooter is working fine.

Its possible the cron job didnt get reset upon update -- i went into the app and re-saved
will see what happens monday AM

1 Like

I just started using the app and started with restart...3 days later one of my hubs was locked up. I had been rebooting using a URL for months without issue. Also this hub has barely any code on it. It's just a hub I use for zigbee/zwave devices and mirror them to my other hub with hubconnect.

back to rebooting I go.

I have this written. I’ll probably get it out tomorrow.

For those who were looking for a way to shutdown and reboot the hub on demand, have a look at Hubitat Hub Controller

1 Like

I just started using this tool 3 days ago, replacing my RM rule with a post command.

I have been using the restart command. It clears my daily slowdown issues just fine and I have had no errors or issues so far, even with HubConnect 1.6.4. Hope this helps the Hubitat team with efforts to identify the possible issue. I will continue to report as time goes on.

LJ

2 Likes

+1. Been doing a weekly "restart" in the wee early morning for a while now and my hub has been running along perfectly ever since and I don't even notice the restart.

1 Like

For those that have been using this for some time, consider checking your logs. I checked just on a whim and noticed that my hub was not rebooting. This is because my HE was scheduled to call the scheduledReboot method at my reboot date/time. However, the app was updated to rename the method to executeReboot. To fix this, I just removed/uninstalled the app and then reinstalled. PSA for others.

1 Like

@dman2306 Did you ever decide on writing an app to shutdown/restart? Interested to test it out if you ever did!

Yes he did

1 Like

Awesome. Thanks!

Is it possible to add a periodic "Z-wave Repair" to this? Most of my devices are not "Plus", so I want to run the repair periodically.

Would it be part of the same program that sequentially ran the Z-wave Repair, and then the Restart? Or would it be a separate program that you could schedule separately?

Thank you for your time. I will make a contribution if you can add this functionality.

Plus or not, you shouldnt be running repeated repairs. That sounds like you have a mesh issue.

2 Likes

Well, running a Z-wave Repair is a potential solution to a mesh issue. All Vera hubs run a Z-wave Repair every night. While a Z-wave repair may be unnecessary, other than resource usage, there should be no downside to doing so. It should be no more or less necessary than a hub reset, which your app is supporting.

With perfect hardware and software neither the hub reset or the Z-Wave Repair would be desirable or necessary. In the real world, they can be quite useful, and thus my request.

1 Like

Perhaps, but regardless, no I don't intend to add that functionality to the rebooter app.

1 Like

Well, I appreciate your efforts in producing the Rebooter App, even if I don't understand your reluctance to produce a ZwaveRepair app.

Do you happen to know the syntax used to perform a Z-wave Repair in HE, so that I can substitute that in your code?

My reluctance is because the HE team has said not to do what you’re suggesting and that it can be more damaging to the mesh. So I don’t want to build a tool that encourages people to do something they advise we shouldn’t do. And no, I do not know the endpoints involved in a zwave repair as I haven’t really explored that part of the system. For me, in total, since I’ve had my hub for about 1.5 years I think I’ve only done 3 repairs so I’ve never really looked much into it.

1 Like

Again, thank you.

Well then, how about modifying/creating your app to do a periodic "backup"? I would really like to have an automatic weekly backup. Ideally, with the ability to specify the local location where it is stored. :slight_smile:

1 Like