Are you referring to relative humidity sensors? The soil moisture probes mentioned so far are resistive.
The worst thing about the homemade ones is that each one's response may be a bit different, so they may all need to be calibrated before really accurate usage.