IP rating stands for ingress protection, how good the enclosure is at protecting from ingress of foreign matter. One number stands for moisture protection, the other for dust. IP22 isn't that high, and you would need it to be rated at IP56 for waterproof, at least IP55 for spill protected. There...