Similar, but more rugged devices are used in washing machines in order to determine water needs or terminating the cycle before the maximum time limit.
I might just build that turbidity sensor for use in my project boat. More for fun than need. Ballast system, potable water purifier, and wash down.