Closed sebsebseb1982 closed 1 month ago
Was this ever working? If so, how long ago?
The [12:53:49][W][dallas.temp.sensor:074]: 'Extérieur' - reading scratch pad failed bus reset
indicates that the sensor is not responding to the presence detect pulse or else something else is pulling down the bus line.
I'm facing the same problem as well. I had this Tuya MS-103 device that I flashed to use esphome. It was working fine for over 6 months. On the latest update that change dallas->1wire, the temperature stopped working. An interesting fact, When I first deployed the updated code, it was working intermediately, now it is not at all.
esphome:
name: azan
friendly_name: Azan
bk72xx:
board: generic-bk7231t-qfn32-tuya
# Enable logging
logger:
mdns:
# Enable Home Assistant API
api:
ota:
platform: esphome
password: ""
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Azan Fallback Hotspot"
password: "RmVSNDtwUSDH"
captive_portal:
text_sensor:
- platform: libretiny
version:
name: LibreTiny Version
one_wire:
- platform: gpio
pin: 7
sensor:
- platform: dallas_temp
address: 0x8e3c01f096982e28
name: "Azan Temperature"
output:
- platform: libretiny_pwm
id: output_led_1
pin:
number: P9
inverted: true
- platform: libretiny_pwm
id: output_led_2
pin:
number: P8
inverted: true
light:
- platform: monochromatic
id: light_switch_1
output: output_led_1
- platform: monochromatic
id: light_switch_2
output: output_led_2
switch:
- platform: gpio
id: switch_1
name: Relay 1
pin: P6
on_turn_on:
- light.turn_on: light_switch_1
on_turn_off:
- light.turn_off: light_switch_1
- platform: gpio
id: switch_2
name: Relay 2
pin: P24
on_turn_on:
- light.turn_on: light_switch_2
on_turn_off:
- light.turn_off: light_switch_2
binary_sensor:
- platform: gpio
id: binary_switch_all
pin:
number: P1
inverted: true
mode: INPUT_PULLUP
on_press:
then:
- switch.toggle: switch_1
- switch.toggle: switch_2
status_led:
pin:
number: P10
inverted: true
Not sure what to do at this point.
Was this ever working? If so, how long ago? The
[12:53:49][W][dallas.temp.sensor:074]: 'Extérieur' - reading scratch pad failed bus reset
indicates that the sensor is not responding to the presence detect pulse or else something else is pulling down the bus line.
Yes it was working since at least two years but it seems to be erratic since the last june updates. This night the measurements were resumed but it seems erratic :
@sebsebseb1982 In my logs I was seeing "Scratch pad checksum invalid!". I unplugged the sensor and reinserted it. Now it is working. Waiting for it to stop
ESPHome 2024.7.1 fixed my ds18b20 issue! I have 4 sensors on 1 wire connected to a Wemos d1 mini.
same problem over here since last update... Worked for years,
No sensor found:
[15:12:24][C][gpio.one_wire:020]: GPIO 1-wire bus: [15:12:24][C][gpio.one_wire:021]: Pin: GPIO2 [15:12:24][W][gpio.one_wire:078]: Found no devices!
Know previously working addresses:
[15:12:24][C][dallas.temp.sensor:029]: Dallas Temperature Sensor: [15:12:24][C][dallas.temp.sensor:034]: Address: 0xc9012063c8d0f028 (DS18B20) [15:12:24][C][dallas.temp.sensor:035]: Resolution: 12 bits [15:12:24][C][dallas.temp.sensor:036]: Update Interval: 30.0s [15:12:24][C][dallas.temp.sensor:029]: Dallas Temperature Sensor: [15:12:24][C][dallas.temp.sensor:034]: Address: 0x0c012063c40e0328 (DS18B20) [15:12:24][C][dallas.temp.sensor:035]: Resolution: 12 bits [15:12:24][C][dallas.temp.sensor:036]: Update Interval: 30.0s [15:12:24][C][dallas.temp.sensor:029]: Dallas Temperature Sensor: [15:12:24][C][dallas.temp.sensor:034]: Address: 0x91012063bbb27028 (DS18B20) [15:12:24][C][dallas.temp.sensor:035]: Resolution: 12 bits [15:12:24][C][dallas.temp.sensor:036]: Update Interval: 30.0s [15:12:24][C][dallas.temp.sensor:029]: Dallas Temperature Sensor: [15:12:24][C][dallas.temp.sensor:034]: Address: 0x21012063b0999728 (DS18B20) [15:12:24][C][dallas.temp.sensor:035]: Resolution: 12 bits [15:12:24][C][dallas.temp.sensor:036]: Update Interval: 30.0s
Faults:
[15:15:38][W][component:170]: Component dallas_temp.sensor cleared Warning flag [15:15:38][W][dallas.temp.sensor:074]: 'HeatExchIN' - reading scratch pad failed bus reset [15:15:38][W][component:157]: Component dallas_temp.sensor set Warning flag: bus reset failed
Worked again after unplug & plug sensors
@sebsebseb1982 this case shouldn't have been closed. Sorry I didn't have the time to report again. Sometimes, unplugging and plugging again, makes the temp readable, but in any case, it will stop working again after a few hours
I report the same issue in #6119. One-Wire/Dallas_temp stopped working after 2024.6.6 with a ESP32 arduino build. I did get it to work two 2 weeks ago with 2024.7.4 by deleting the device, and adding it again with the original YAML reported here. But Monday I recompiled and it was not working again. I again deleted the device from the dashboard and re-added, but NOT working now. It does in fact work with another ESP32-S3 board with all versions. Samuel indicated there were no changes from 2024.6.6 to the code. The fact that it works with certain builds and not others leads one to the conclusion it might be build related. In all cases the hardware that it fails on is our testing rig for this board that has been confirmed to be fully functional as well the target board that is a mature design. Flashing 2024.6.6 the sensors are found and highly stable.
my sensors stop working in the middle of the day.
Working for weeks,
[11:24:50][W][component:170]: Component dallas_temp.sensor cleared Warning flag [11:24:51][W][dallas.temp.sensor:074]: 'temp_water' - reading scratch pad failed bus reset [11:24:51][W][component:157]: Component dallas_temp.sensor set Warning flag: bus reset failed
@zimbo86 this is 100% similar to the behavior I'm seeing
Same issue here for one (1) out of six dallas temp-sensors. It failed since June 20th. The sensor is directly connected like the others. esphome see's the sensor.
Its interestingthat only one of the 6 is failing. Should we consider changing the senenor?
Well I ordered 5 more now. Will check the sensor on another device to see if it works there. Sorry for the trouble.
The problem
Hi,
For some time now, I have been having problems with my DS18B20 probes which no longer report temperature.
I saw several issues relating to the same problem, I,ve tried the proposed solutions:
But none of them seem to work... does anyone have any idea what might be causing the problem? What have I missing ?
Which version of ESPHome has the issue?
2024.6.6
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.7.2
What platform are you using?
ESP32
Board
No response
Component causing the issue
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response