2x Dallas 1-wire sensors but only one is showing up

Hi,

I have an ESP8266 with two Dallas 1-wire temperature sensors attached. Both sensors show up in the log output of the ESP8266 as well as in the disgnostic output yet in HA only the 1st sensor is exposed. I have tried removing the device from ESPHome and adding it again, but no luck.

Here the relevant configuration:

dallas:
  - pin: GPIO2

sensor:

  - platform: dallas
    accuracy_decimals: 1
    address: 0x3f00000a543fd628
    name: "Temp Outdoor In"
    unit_of_measurement: "°C"
    device_class: "temperature"

  - platform: dallas
    accuracy_decimals: 1
    address: 0xaf00000a54259928
    name: "Temp Outdoor Ex"
    unit_of_measurement: "°C"
    device_class: "temperature"

This is what is shown in the log (removed irrelevant stuff):

[12:29:45][I][app:102]: ESPHome version 2023.6.5 compiled on Jul 11 2023, 11:07:08
......
[12:29:45][C][dallas.sensor:075]: DallasComponent:
[12:29:45][C][dallas.sensor:076]:   Pin: GPIO2
[12:29:45][C][dallas.sensor:077]:   Update Interval: 60.0s
[12:29:45][D][dallas.sensor:082]:   Found sensors:
[12:29:45][D][dallas.sensor:084]:     0x3f00000a543fd628
[12:29:45][D][dallas.sensor:084]:     0xaf00000a54259928
[12:29:45][C][dallas.sensor:089]:   Device 'Temp Outdoor In'
[12:29:45][C][dallas.sensor:089]:     Device Class: 'temperature'
[12:29:45][C][dallas.sensor:089]:     State Class: 'measurement'
[12:29:45][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[12:29:45][C][dallas.sensor:089]:     Accuracy Decimals: 1
[12:29:45][C][dallas.sensor:097]:     Address: 0x3f00000a543fd628
[12:29:45][C][dallas.sensor:098]:     Resolution: 12
[12:29:45][C][dallas.sensor:089]:   Device 'Temp Outdoor Ex'
[12:29:45][C][dallas.sensor:089]:     Device Class: 'temperature'
[12:29:45][C][dallas.sensor:089]:     State Class: 'measurement'
[12:29:45][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[12:29:45][C][dallas.sensor:089]:     Accuracy Decimals: 1
[12:29:45][C][dallas.sensor:097]:     Address: 0xaf00000a54259928
[12:29:45][C][dallas.sensor:098]:     Resolution: 12
......
[12:30:21][D][dallas.sensor:143]: 'Temp Outdoor In': Got Temperature=17.5°C
[12:30:21][D][sensor:093]: 'Temp Outdoor In': Sending state 17.50000 °C with 1 decimals of accuracy
[12:30:21][D][dallas.sensor:143]: 'Temp Outdoor Ex': Got Temperature=17.3°C
[12:30:21][D][sensor:093]: 'Temp Outdoor Ex': Sending state 17.31250 °C with 1 decimals of accuracy

Here how it shows up in the ESPHome intergation.

2023_07_11_12_34_36_Settings_Home_Assistant

Any suggestions how I can fix this issue ?

Thank you.
Jan

same problem here!

I’ m also have this issue. I have 5 sensors, only 2 are showing in HA

I deleted the node from the integration and readded. All the sensors on that node then showed up. It only takes one minute. And the sensors need a few minutes to be materialise, populate and show up on the node page.

I realize, in may case, I have several times declare the same address sensor in diferent nodes (because of tests) , or even in the same one. Be sure not to have any address repited anywhere.

Thanks, I checked mine also, and yes I had also re-used a dallas sensor in another device, I delete that one and this fixed my issue