Hello I'm Robert Young,
I have 30+ years of experience in writing code, most of it interfacing to hardware. If I understand your project correctly it requires hardware, something like a Raspberry PI to turn the motors on or off, and a small UPS to allow the RasPI to notify someone if the power goes off. The RasPI will be controlled by a mobile app. A recent project of mine involved displaying live video from a remote Raspberry PI on an Android mobile device over a cellular connection, the mobile device was also able to close or open a relay on the RasPI which is EXACTLY what you need. In short I already have most of what you want, and I know how to create precisely what you need. I CAN do this for you!
I am semi-retired, I'm here on Freelancer to supplement my retirement income, so if you hire me you will be getting top notch experience at a really great price.
Please contact me and let's talk about what I can do for you.
Thanks,
Robert Young
Call/Txt: 408.666.2509