Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dallas DS18b20 sensor is no longer found after the last ESPHOME update - KC868-A4
#1
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
Reply
#2
take a photo how you wire.
Reply
#3
I replaced the sensor with another one and it still didn't recognize it.


Attached Files Image(s)
   
Reply
#4
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.


Attached Files Image(s)
       
Reply
#5
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.
Reply
#6
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.
Reply
#7
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.


Attached Files Image(s)
   

.txt   kc868-am ESPHOME 2024.6.1.txt (Size: 4.66 KB / Downloads: 126)
Reply
#8
thanks share your yaml code.
Reply
#9
(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.
Reply
#10
Thanks for sharing

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


Forum Jump:


Users browsing this thread:
1 Guest(s)