Forgive my stupidity, so no resistors at all and configure pull up in the settings.
And that pullup is build in the Pi, that ineternal 10k or something?
Gonna try that, but comared to yours, I think I need the 5V then.
EDIT
Just removed the resistors, but nothing is happening. Except the value is set to 1 now.
And the value doesn't change when I bring metal nearby and the led in the NPN turn on.
So I gonna order the one you mentioned on Ali.
On that Ali page, I see a lot of options, but it is really the one directly from your link?