1wire issues

So I have 4 Kinkony KC868-A8 boards,

a few with 1wire running, but recently 1 unit has recently stopped recognizing any 1wire devices, such as the ds18b20 sensors connected.

I’ve tried new sensors, tried a different port on the kinkony, also tried manually adding a 4k7 resistor which im sure is not required as this is built in, but no matter what, I cannot get it to recognize any sensors.

The code is the same as the other Kinkony devices but at this stage its looking more and more like a hardware issue but I just wanted to be sure that i’m not missing anything.

I have tried removing the code, and re adding it, also no go.

Any ideas?

Thanks

Are you running ESPHome 2024.6 or later, with the one_wire component, or earlier with the dallas component?

Definitely DS18B20 not DS18S20?

Might help to share it anyway.

Yes, difinitely the DS18B20 sensors,

Log output stating the version

INFO ESPHome 2024.6.3
INFO Reading configuration /config/esphome/house-outputs.yaml...
[22:32:11][I][app:100]: ESPHome version 2024.6.3 compiled on Jun 28 2024, 22:05:00
[22:32:11][C][logger:185]: Logger:
[22:32:11][C][logger:186]:   Level: DEBUG
[22:32:11][C][logger:188]:   Log Baud Rate: 115200
[22:32:11][C][logger:189]:   Hardware UART: UART0
[22:32:11][C][i2c.arduino:071]: I2C Bus:
[22:32:11][C][i2c.arduino:072]:   SDA Pin: GPIO4
[22:32:11][C][i2c.arduino:073]:   SCL Pin: GPIO5
[22:32:11][C][i2c.arduino:074]:   Frequency: 50000 Hz
[22:32:11][C][i2c.arduino:086]:   Recovery: bus successfully recovered
[22:32:11][I][i2c.arduino:096]: Results from i2c bus scan:
[22:32:11][I][i2c.arduino:102]: Found i2c device at address 0x22
[22:32:11][I][i2c.arduino:102]: Found i2c device at address 0x24
[22:32:11][C][gpio.one_wire:020]: GPIO 1-wire bus:
[22:32:11][C][gpio.one_wire:021]:   Pin: GPIO14
[22:32:11][W][gpio.one_wire:078]:   Found no devices!

Code below.

one_wire:
  - platform: gpio
    pin: GPIO14

sensor:
  - platform: dallas_temp
    address: 0x950121128170a628
    name: "Temp"

Thanks

Ok, this is interesting.

If i remove the sensor part and just add the one_wire component, it finds the sensor.

one_wire:
  - platform: gpio
    pin: GPIO14
[22:44:05][C][gpio.one_wire:020]: GPIO 1-wire bus:
[22:44:05][C][gpio.one_wire:021]:   Pin: GPIO14
[22:44:05][C][gpio.one_wire:080]:   Found devices:
[22:44:05][C][gpio.one_wire:082]:     0x950121128170a628 (DS18B20)
1 Like

Bump? this is still an issue and I have no idea why this is happening?

Additionally, from the log.

[01:01:38][W][dallas.temp.sensor:139]: 'CoreRackTemp' - Scratch pad checksum invalid!
[01:01:38][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid
[01:01:38][D][sensor:094]: 'CoreRackTemp': Sending state nan °C with 1 decimals of accuracy

Solved this by adding

setup_priority: -100

To my sensor.

1 Like