working water sensor with the correct libraries