Smart Home Automation Forum
Dallas DS18b20 sensor is no longer found after the last ESPHOME update - KC868-A4 - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-A4 (https://www.kincony.com/forum/forumdisplay.php?fid=21)
+--- Thread: Dallas DS18b20 sensor is no longer found after the last ESPHOME update - KC868-A4 (/showthread.php?tid=5939)

Pages: 1 2


Dallas DS18b20 sensor is no longer found after the last ESPHOME update - KC868-A4 - csacomani - 06-20-2024

I made the corrections requested by ESPHOME 2024.6.1 for 1 WIRE:

Dallas:
- pin: 13

for

one_wire:
- platform: gpio
  pin: 13
sensor: 
  - platform: dallas_temp
    address: 0x650114534966aa28
    name: "Temperatura Teste"


And the sensor was no longer recognized, I am receiving the message in the LOG:

[C][gpio.one_wire:017]: Pin: GPIO13
[W][gpio.one_wire:078]: Found no devices!

Help me


RE: Dallas DS18b20 sensor is no longer found after the last ESPHOME update - KC868-A4 - admin - 06-20-2024

take a photo how you wire.


RE: Dallas DS18b20 sensor is no longer found after the last ESPHOME update - KC868-A4 - csacomani - 06-21-2024

I replaced the sensor with another one and it still didn't recognize it.


RE: Dallas DS18b20 sensor is no longer found after the last ESPHOME update - KC868-A4 - telewizard13 - 06-21-2024

Check your indents and spaces and double check the device code it finds in the log when you install the update. I assume you know each sensor has a unique device code. Here is a screen shot of what I did to my KC868-AIO board's code, so the code line numbers will be different, too. Good luck!

Telewizard13

Did you add the "platform:  esphome" under the #Enable Home Assistant API" section? Did you restart the board and Home Assistant? Some changes don't take effect until you do.


RE: Dallas DS18b20 sensor is no longer found after the last ESPHOME update - KC868-A4 - Philadam - 06-21-2024

Update to ESPHOME 2024.6.1 breaks any sensors on gpio 13 & 14. Go back to earlier version until esphome fixes it. I went back to 2024.5.4 and now my sensors on 13 & 14 work again.


RE: Dallas DS18b20 sensor is no longer found after the last ESPHOME update - KC868-A4 - admin - 06-22-2024

indeed, these days ESPHome have updated 1-wire component, there are some problem. we can wait for they update again. mabye you can post your issue to ESPHome forum.


RE: Dallas DS18b20 sensor is no longer found after the last ESPHOME update - KC868-A4 - Philadam - 06-22-2024

Add the following to your esphome yaml for the device:

external_components:
  - source:
      type: git
      url: https://github.com/ssieb/esphome
      ref: onewire
    components: [ gpio ]
    refresh: 1min

Then your dallas sensors on gpio13 & 14 will be recognized. I have attached a working KC868-AM YAML file with nine ds18b20 sensors and they all work. Just change the address to yours.


RE: Dallas DS18b20 sensor is no longer found after the last ESPHOME update - KC868-A4 - admin - 06-23-2024

thanks share your yaml code.


RE: Dallas DS18b20 sensor is no longer found after the last ESPHOME update - KC868-A4 - csacomani - 06-24-2024

(06-22-2024, 11:37 PM)Philadam Wrote: Add the following to your esphome yaml for the device:

external_components:
  - source:
      type: git
      url: https://github.com/ssieb/esphome
      ref: onewire
    components: [ gpio ]
    refresh: 1min

Then your dallas sensors on gpio13 & 14 will be recognized. I have attached a working KC868-AM YAML file with nine ds18b20 sensors and they all work. Just change the address to yours.

Thanks for sharing

With this change in the code, my sensor started working again.


RE: Dallas DS18b20 sensor is no longer found after the last ESPHOME update - KC868-A4 - csacomani - 06-24-2024

Thanks for sharing

With this change in the code, my sensor started working again.