I have a piston that reboots my C-7 in the middle of the night when memory is below a certain threshold. It simply calls the /hub/restart URL and sends me a notification.
The problem is that my Z-wave network doesn't work afterward until I connect to the hub and click the reboot link in Settings.
Why does manually clicking reboot work, but calling the URL not work?
The piston checks freeMemory from the Hub Information driver and if it's below 200000 KB it makes a POST request to http://10.0.0.2:8080/hub/restart. The hub restarts, but Z-wave devices don't work.
Then I manually click Settings > Reboot. The hub reboots and Z-wave devices work fine afterward.
I am not certain what /hub/restart does, but the reboot operation from settings menu sends a POST to /hub/reboot (at least on my C-7 with 1.3.6.144); you might try changing the endpoint in your rule and see if it works better
I changed the ending in my piston to /hub/reboot. Reading that other thread, I think reboot is the one I want.
BUT for some reason I can't call http://10.0.0.2:8080/hub/reboot or even /restart (which works from my piston?) from my phone browser. I get 404 errors for both. If I leave off everything after the port, the admin interface comes up.
Not sure if it relates, but when I had my Z-wave devices totally disappear after a cloud backup (now fixed), the only thing that would bring it totally back was a shutdown/power cycle. But, if you're starting with a good mesh, I'd think a reboot would be good enough.