Pressure mat

And as you are using the input configured with a pull up resistor you should connect the pair of wires to D1 and GND.

You should also invert the input configuration.

If you were using a pull-down config you would use D1 and 3.3V without configuring for invert.