Hello Viktor,
I do not have a sensor which can detect the distance of metal surface.
However there are a number of proximity sensors which can detect the distance of an object. Some of these sensors output a voltage when something gets near it.
The IoCore2 has 8 GPI's which can read a voltage between 0V and 10V. Which it can convert into a DMX signal.
Best regards,
Guido