SmartBall under a gas pocket inside a water pipe