My observatorium is in an area where LossOfExternalPower (LOP) is not unusual.
As backup power there is a battery with capacity to run everything for at least 30 minutes.
My powerbox has a Digital-In that could be used to detect LOP.
Is there a possibility for CPA to monitor this DI, and if the LOP lasts for a certain number of minutes, stop imaging and run the ShutdownObs script?