Raspberry PI 5 DHT 22 in node red

In that case I would recommend using those to attach your sensor of choice.