NOTE: This app has grown in scope and been renamed to: Hub Health Monitor & Auto Reboot
I've been meaning to write this app for a while, and finally got around to it today with my new best mate, Claude - this app is standalone and requires no additional drivers.
Features:
Minimum available memory to trigger a reboot
Configurable Reboot window. e.g. 4-5am when you are asleep
Configurable polling intervals
Test Reboot function
Option to rebuild the database as part of the reboot.
2026-01-22 v1.2.3 - Added hub model detection using getHubVersion and display in info panel. Total RAM now determined by hub model
2026-01-19 v1.2.1 - Fixed BigDecimal.round() compatibility issue for Hubitat
2026-01-12 v1.2.0 - Renamed to "Hub Health Monitor & Auto Reboot" and added hub event monitoring for zigbeeOff, zwaveCrashed, and severeLoad events with 5-minute startup grace period
2026-01-11 v1.1.5 - Updated default memory threshold to 200 MB and minor improvements to scheduler logic.
2026-01-08 v1.1.4 - Added uptime check - skips scheduled reboot if hub uptime < 70% of scheduled interval v1.1.3 - Finally got the Rebuild Database on Reboot funtion working
2026-01-01 v1.1.0 - Simplified memory detection to use actual total RAM from hub data v1.0.5 - Added hub uptime display and periodic scheduled reboot feature v1.0.4 - added import url and updated endpoint for reboot with DB rebuild v1.0.2 - Added option to rebuild the Database on reboot
2025-12-31 v1.0.1 - removed Hub Security credentials as they are no longer required.
I've been doing a version of this in rule machine with a second reboot after 30 minutes which seems to add a nice jump in free memory from the first reboot.
That is an option in the @thebearmay hub information driver. I saw @GuyMan question and checked and added it to my rule. I couldn't get that syntax to work with Send POST to:
Before 2.3.7.14 the /hub/reboot endpoint with the additional rebuild parameter works; from 2.3.7.14 on that option is replaced by the /hub/rebuildDatabaseAndReboot endpoint.
v1.0.4 - added import url and updated endpoint for reboot with db rebuild
Btw, if one of the more experienced devs can assist, I've broken my HPM entry for this app and can't work out what I've messed up. It's the first time I've published an app to HPM (my other projects are drivers), so I've prolly missed something obvious.