I wrote a personal app but you can use something like device watchdog to monitor devices that fall off.