Seems as if the connection between your wireless sensor and the Arduino may not be very reliable. In order to understand why that is you'd need to know what the communication mechanism was, whether it was suitable for the way you're trying to use it and whether it was being used correctly.