Motor can be switched ON or OFF automatically, according to the quantity of the water present into the Tank located on the roof of the House.
Using -
1. A Simple Switch, or
2. Using a Electronic Circuit with Minimum and Maximum Water Level can be adjusted.
Please, specify which design you are looking for.