Water-repelling surface sensor