Connect the sensor as show in the following diagram.
Load the following code onto a new sketch and upload to the NodeMCU8266.
As posted at: https://github.com/evanrobinson1/ESP8266_to_Dallas/blob/main/Dallas.ino