For unattended operation (basements, vacation homes), use gravity-fed continuous draining:

ulletical.com