water detection motor controller