An explanation of two ways to read multiple DS18B20 sensors on the same data line with Arduino: by sequential index or by each sensor's unique address.
Building a system that displays readings from several DS18B20 sensors connected to an ESP32 on a single web page, using each sensor's unique address.