Solar water heater controller with water level sensor