Compressor motor on/off automation

We have 2 borewell compressor motor and looking for cost effective on/off automation

Please suggest reliable automation solution to mange on/off compressor motor by taking consideration into the following

1. Water level in the overhead tank to avoid overflow
2. Dry run protection
3. Timer automation to avoid motor running long time at a stretch during summer