i saw this compact design on Thingiverse but without threading. Later on I found a threaded design but it was a bit oversized to me so I made this compact one using M8x1 mm thread.
Just print it without any support and screw on the sensor from the bottom.