ESP32C3 Super Mini & Dallas sensor device numbers missing

I have a problem with ESP32C3 SUPER MINI and the DALLAS component:

The log does not display the address of the detected DS18B20 units (as all my other ESP32S2, ESP32 DEV KIT etc. do perfectly…).
.
If I set the sensor setting to index instead of address, it displays the temperature of the connected DS18B20 (so the sensor works).
This is fine for 1 DS18B20, but with 2 or more temp sensors, its necessary to get (and set) the hardware address of the sensor.

In the output below, I have set the known hardware address, but whether i use the address or the index, i get a temperature reading but no log lines showing the address(es) of detected dallas units…

substitutions:
  name: esphome-web-048f14
  friendly_name: ESP32C3STRAPTEST

esphome:
  name: ${name}
  friendly_name: ${friendly_name}
  name_add_mac_suffix: false
  project:
    name: esphome.web
    version: '1.0'

esp32:
  board: esp32-c3-devkitm-1
  framework:
    type: arduino

# Enable logging
logger:
#  level: VERBOSE
#  logs: 
#    component: ERROR

# Enable Home Assistant API
api:

# Allow Over-The-Air updates
ota:

# Allow provisioning Wi-Fi via serial
improv_serial:

wifi:
  # Set up a wifi access point
  ap: {}
  ssid: !secret wifi_ssid
  password: !secret wifi_password

# In combination with the `ap` this allows the user
# to provision wifi credentials to the device via WiFi AP.
captive_portal:

dashboard_import:
  package_import_url: github://esphome/firmware/esphome-web/esp32c3.yaml@v2
  import_full_config: true

# Sets up Bluetooth LE (Only on ESP32) to allow the user
# to provision wifi credentials to the device.
esp32_improv:
  authorizer: none

# To have a "next url" for improv serial
web_server:

# Temp Sensor = GPIO 6
dallas:
  pin: GPIO10
  update_interval: 10s

sensor:
  - platform: dallas
    address: 0xac3c01d075185128
#    index: 0
    name: temp1

output.


[11:43:16][I][app:100]: ESPHome version 2024.4.2 compiled on May 10 2024, 11:26:18
[11:43:16][I][app:102]: Project esphome.web version 1.0
[11:43:16][C][wifi:580]: WiFi:
[11:43:16][C][wifi:408]:   Local MAC: 48:31:B7:04:9E:74
[11:43:16][C][wifi:413]:   SSID: [redacted]
[11:43:16][C][wifi:416]:   IP Address: 192.168.0.120
[11:43:16][C][wifi:420]:   BSSID: [redacted]
[11:43:16][C][wifi:421]:   Hostname: 'esphome-web-048f14'
[11:43:16][C][wifi:423]:   Signal strength: -55 dB ▂▄▆█
[11:43:16][C][wifi:427]:   Channel: 6
[11:43:16][C][wifi:428]:   Subnet: 255.255.255.0
[11:43:16][C][wifi:429]:   Gateway: 192.168.0.1
[11:43:16][C][wifi:430]:   DNS1: 192.168.0.1
[11:43:16][C][wifi:431]:   DNS2: 192.168.0.1
[11:43:16][C][logger:166]: Logger:
[11:43:16][C][logger:167]:   Level: DEBUG
[11:43:16][C][web_server:169]: Web Server:
[11:43:16][C][web_server:170]:   Address: esphome-web-048f14.local:80
[11:43:16][C][mdns:115]: mDNS:
[11:43:16][C][mdns:116]:   Hostname: esphome-web-048f14
[11:43:16][C][ota:096]: Over-The-Air Updates:
[11:43:16][C][ota:097]:   Address: esphome-web-048f14.local:3232
[11:43:16][C][ota:103]:   OTA version: 2.
[11:43:16][C][api:139]: API Server:
[11:43:16][C][api:140]:   Address: esphome-web-048f14.local:6053
[11:43:16][C][api:144]:   Using noise encryption: NO
[11:43:16][C][improv_serial:032]: Improv Serial:
[11:43:18][D][dallas.sensor:153]: 'temp1': Got Temperature=23.9°C
[11:43:18][D][sensor:094]: 'temp1': Sending state 23.87500 °C with 1 decimals of accuracy
[11:43:28][D][dallas.sensor:153]: 'temp1': Got Temperature=23.9°C
[11:43:28][D][sensor:094]: 'temp1': Sending state 23.87500 °C with 1 decimals of accuracy

not necesarrily… if you have spare pins you can connect each dallas to it’s own pin:

dallas:
  - id: "dallas_hub_1"
    pin: GPIO12
    update_interval: 10s
  - id: "dallas_hub_2"
    pin: GPIO13 
    update_interval: 20s
  - id: "dallas_hub_3"
    pin: GPIO14 
    update_interval: 30s

sensor:
  - platform: dallas
    index: 0
    name: "Temperature 1"
    dallas_id: dallas_hub_1
    accuracy_decimals: 0
      
  - platform: dallas
    index: 0
    name: "Temperature 2"
    dallas_id: dallas_hub_2 
    accuracy_decimals: 1

  - platform: dallas
    index: 0
    name: "Temperature 3"
    dallas_id: dallas_hub_3 
    accuracy_decimals: 1

Thats a smart way to get around the problem.

I will use that as a temporary solution until i know what is causing my problem, thank you…

If you can (if you have enough pins) it’s a better solution, too. The problem when connecting multiple dallas sensors together on one pin is when one of them dies all of them can become unavailable (if a bad one creates a short on data pin or continously sends random data). Finding bad one can be quite a pain in this case, and when you do find it you must find it’s address, enter it into yaml, re-program esp.
If you have each on it’s own pin finding bad one is piece of cake - just replace it and you’re done.

IMHO try other sensors to connect.
My case: have 6 Dallas sensors in parallel. Works perfect while connected to ESP8266 (Shelly Uni). But… as soon connected to ESP32 - couple of them stops to discovered, others can suddenly to stop to deliver measurements.

OK, my temporary solution to get Dallas DS18B20 tempsensors working again after updating to 2024.6.0 was to revert to ESPHome 2024.5.5, editing all ESPHome .yaml files to use the dallas component and dallas on temp-sensor lines, (as before), and recompile all files.

Now after updating ESPHome to 2024.6.2, editing all my ESPHome .yaml-files (again) to use the new one_wire & dallas_temp lines, and recompiling the files everything seems to be working again…