Connect DS18B20 on cable and Fibaro?

I bought an DS18B20 to my Fibaro Door/Windows sensor. And now I’m not sure how to configure The DS18B20 (that’s on a cable with RJ12)

Can anyone be kind and describe how to use it.
External temp sensor and Fibaro Door/Window sensor.

I have attached two photos, one how cable connected to the RJ12 and the other one is how to connect to the Fibaro

can anyone help me with how to connect the DS18B20 to the Fibaro, where to connect what color.

Thanx

Not sure what you have in mind for the RJ12.
If it is like the one I found (see attached) you connect the black wire where you diagram shows pin1, white pin 2 and red pin3.

If you want to keep the RJ12 intact you will have to find a female adapter to connect to your Fibaro.

hiii, this might be helpful to you.