Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dallas temperature sensor not found after upgrade to ESPHome 2024.5.0 #5803

Open
mrucidlo opened this issue May 16, 2024 · 14 comments
Open

Dallas temperature sensor not found after upgrade to ESPHome 2024.5.0 #5803

mrucidlo opened this issue May 16, 2024 · 14 comments

Comments

@mrucidlo
Copy link

The problem

Dallas temperature sensor was normally working normally with ESPHome 2024.4.x version. I have only one sensor connected. After upgrade to ESPHome 2024.5.0, sensor is not found.

Which version of ESPHome has the issue?

2024.5.0

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2024.5.3

What platform are you using?

ESP32

Board

WeMos WROOM

Component causing the issue

dallas temperature sensor

Example YAML snippet

esp32:
  board: esp32dev
  framework:
    type: arduino

dallas:
  - pin: GPIO04

sensor:
  - platform: dallas
    address: 0xbe00000f1b381628
    name: "Water Heater Temperature"
    #accuracy_decimals: 1

Anything in the logs that might be useful for us?

[15:59:37][C][dallas.sensor:075]: DallasComponent:
[15:59:37][C][dallas.sensor:076]:   Pin: GPIO4
[15:59:37][C][dallas.sensor:077]:   Update Interval: 60.0s
[15:59:37][W][dallas.sensor:080]:   Found no sensors!
[15:59:37][C][dallas.sensor:089]:   Device 'Water Heater Temperature'
[15:59:37][C][dallas.sensor:089]:     Device Class: 'temperature'
[15:59:37][C][dallas.sensor:089]:     State Class: 'measurement'
[15:59:37][C][dallas.sensor:089]:     Unit of Measurement: '°C'
[15:59:37][C][dallas.sensor:089]:     Accuracy Decimals: 1
[15:59:37][C][dallas.sensor:097]:     Address: 0xbe00000f1b381628
[15:59:37][C][dallas.sensor:098]:     Resolution: 12

...

[15:59:58][W][component:170]: Component dallas cleared Warning flag
[15:59:59][W][dallas.sensor:269]: 'Water Heater Temperature' - Scratch pad checksum invalid!
[15:59:59][W][component:157]: Component dallas set Warning flag: unspecified

Additional information

No response

@andreas-bulling
Copy link

Have you tried/can you try https://github.com/persuader72/esphome-components ?

@BinnenBeest
Copy link

I have the same issue, annoying 🤨

@BinnenBeest
Copy link

Have you tried/can you try https://github.com/persuader72/esphome-components ?

I don’t think this is related. I have a Dallas soldered to a gpio on esp32.

@BinnenBeest
Copy link

BinnenBeest commented May 20, 2024

Not solved with ESPHome 2024.5.1 nor with ESPHome 2024.5.2

@3dogzzz
Copy link

3dogzzz commented May 21, 2024

I had this issue and I switched the GPIO pin I was using and that seemed to fix the issue.

@BinnenBeest
Copy link

I had this issue and I switched the GPIO pin I was using and that seemed to fix the issue.

I’m using GPIO pin 21.
It worked for years but after the upgrade it no longer does. I don't see a hardware cause.
What pin are you using?

@3dogzzz
Copy link

3dogzzz commented May 22, 2024

I had this issue and I switched the GPIO pin I was using and that seemed to fix the issue.

I’m using GPIO pin 21. It worked for years but after the upgrade it no longer does. I don't see a hardware cause. What pin are you using?

I’m using GPIO23 now.

@mrucidlo
Copy link
Author

mrucidlo commented May 25, 2024

After some playing around, nothing with the board I have and ESPHome version 2024.5.3 worked.
So I replaced Dallas ESPHome component (sorry ESPHome) with https://github.com/nrandell/dallasng. Temperature sensor is back, same pin as before.

My code now looks like:

external_components:

  • source: github://nrandell/dallasng

dallasng:

  • pin: GPIO4
    update_interval: 30s

sensor:

  • platform: dallasng
    index: 0
    name: "Water Heater Temperature"
    resolution: 12
    filters:
    • filter_out: NAN

@BinnenBeest
Copy link

After some playing around, nothing with the board I have and ESPHome version 2024.5.3 worked. So I replaced Dallas ESPHome component (sorry ESPHome) with https://github.com/nrandell/dallasng. Temperature sensor is back, same pin as before.

My code now looks like:

external_components:

  • source: github://nrandell/dallasng

dallasng:

  • pin: GPIO4
    update_interval: 30s

sensor:

  • platform: dallasng
    index: 0
    name: "Water Heater Temperature"
    resolution: 12
    filters:

    • filter_out: NAN

Thanks for sharing, this works for me as well

@Dominator86
Copy link

I updated to 2024.5.3 and now my temperature sensors also stopped working.
Guess I'll give dallasng a try for the time being.

@jasper-bosch
Copy link

After some playing around, nothing with the board I have and ESPHome version 2024.5.3 worked. So I replaced Dallas ESPHome component (sorry ESPHome) with https://github.com/nrandell/dallasng. Temperature sensor is back, same pin as before.

My code now looks like:

external_components:

  • source: github://nrandell/dallasng

dallasng:

  • pin: GPIO4
    update_interval: 30s

sensor:

  • platform: dallasng
    index: 0
    name: "Water Heater Temperature"
    resolution: 12
    filters:

    • filter_out: NAN

Thanks, this worked for me too!

@sphen13
Copy link

sphen13 commented Jun 4, 2024

After some playing around, nothing with the board I have and ESPHome version 2024.5.3 worked. So I replaced Dallas ESPHome component (sorry ESPHome) with https://github.com/nrandell/dallasng. Temperature sensor is back, same pin as before.

thank you - thank you. crazy that i had to dig so far to find the answer and that esphome has not been able to address for this ESP board?

@randybb
Copy link

randybb commented Jun 4, 2024

Maybe you can test the new one_wire component that will replace the original dallas component esphome/esphome#6860

@sphen13
Copy link

sphen13 commented Jun 4, 2024

Maybe you can test the new one_wire component that will replace the original dallas component esphome/esphome#6860

wow that is a fresh PR - thanks for letting me know - it works here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants