My core is currently attached to a small UPS so that when there is a power outage the core remains live. This solved the initial issue I had which was to stop my core going down during lighning storms in summer when the power would be out of under a few seconds. However, if the power is out for over 10 minutes then my core abruptly shutsdown and bad things can happen.
I have thought of a few ways to overcome this:
1. Hardware - buy a UPS with a USB port that will inform the PC if there is no Power (Some APC models do this)
2. Software - is there a way LMCE can look at an 'appliance' (MD, TV, Reciever, externally powered Z-wave dongle, etc) that should alway be 'connected' (RS232, Ethernet, USB etc) and if it isn't there then wait 5 mins and then power down? with the MD it must send a wake up over LAN first, I guess.
How are others approaching this?