@VIKAS-MALIK DHT11/DHT22 do not use the one-wire protocol, they use their own one. You can't use them with 1w.