Share your experience!
If you performed a factory reset and they are back to work properly then the problem was software related, one of your installed apps might be missing with them. It's not related to the pool, because a water damage would cause a hardware problem that won't be fixed by a factory reset.
Next time if this happens, try to reboot in safe mode. If the sensors wprks well in safe mode then this means it's an apps causing them to mulfunction.
As I said, factory reset will fix only software glitches, it's not from the pool. Next time this happen go for a software repair using PC Companion using PC Companion, it should be a better fix for software-related problems than factory reset.