The pin designations on the Uno and the nodeMCU are different and it can be really confusing. I got tripped up by this for several days when I was getting started.
On the nodeMCU, what pin is the sensor physically attached to? In the sketch, what pin are you using read the sensor?
On the nodeMCU, what pin is the sensor physically attached to? In the sketch, what pin are you using read the sensor?
Comment