Pump control and protection device for the wastewater industry