Sonoff TH10 DS1B20 plug wiring

Where can I find a definitive description of the DS18B20 wiring to a 2.5-mm 4-way plug?
I want to use a bare DS18B20 TO92 straight onto the plug, no cable involved.
Do I need a 4k7 resistor as well or is there one on the TH10 PCB?

I’ll answer my own question.
Starting at the tip of a 4-way plug, connect data pin of DS1B20 (middle pin looking at flat side) to the tip.
Leave the next conductor (band) unconnected.
Connect ground of the DS1B20 (left pin of DS1B20) to the next conductor.
Connect the positive supply (right pin of DS1B20) to the shield of the plug.