Smart soiling sensor for PV modules