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.
Any suggestions how I can fix this issue ?
Thank you.
Jan