Do you have "pinMode(D3, INPUT)" in your setup()?
Are you using "digitalWrite(D3,..)"in your code to turn on and off the internal pullup? If so then see this
and change your code to use pinMode(D3, INPUT_PULLUP)
Do you have "pinMode(D3, INPUT)" in your setup()?
Are you using "digitalWrite(D3,..)"in your code to turn on and off the internal pullup? If so then see this
and change your code to use pinMode(D3, INPUT_PULLUP)