"... The 1-Wire bus ... should have an external pullup resistor of about 4.7KΩ. ..."
"... For this, connect a resistor of about 4.7KΩ between 3.3V and the data pin. ..."
"... Values ± 1KΩ will, in most cases, work fine as well, if you don’t have massively long wires. ..."
Usage of 1-wire temperature sensors (DS18B20): https://esphome.io/components/sensor/dallas.html
"... The 1-Wire bus ... should have an external pullup resistor of about 4.7KΩ. ..." "... For this, connect a resistor of about 4.7KΩ between 3.3V and the data pin. ..." "... Values ± 1KΩ will, in most cases, work fine as well, if you don’t have massively long wires. ..."
See: https://github.com/nliaudat/esp32_8ch_motor_shield/blob/main/extension.md
Note: With proper and short cabling more than 16 DS18B20 on the same 1-wire bus seems to be possible.