I would like to get or develop a watchdog timer app

This app available in hubitat package manager might work for you. I use it on most of my devices with good success.