8000 HDC1080 occasionally reports -40°C temperature between valid readings · Issue #7091 · esphome/issues · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
HDC1080 occasionally reports -40°C temperature between valid readings #7091
Open
@Smandurlo

Description

@Smandurlo

The problem

Hi,
I'm experiencing an issue with the HDC1080 sensor in ESPHome. Occasionally, the temperature reading suddenly drops to -40°C, even though the surrounding readings are perfectly valid and within expected values.

At first, I thought it was a hardware failure, so I replaced the sensor with a brand new unit — but the problem persists with the new sensor as well.

This leads me to believe it might be a software or communication issue rather than a sensor defect. I'm using the default ESPHome configuration for the HDC1080, without any custom settings.

This behavior seems to have started with ESPHome version 2025.5.0, and it still occurs in version 2025.5.2, so it doesn't appear to have been resolved in the latest update.

EDIT: I just realized there are some wrong values for humidity too

Image

Which version of ESPHome has the issue?

2025.5.0

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

No response

What platform are you using?

ESP8266

Board

sonoff 4ch pro

Component causing the issue

hdc1080

YAML Config

i2c:
  sda: GPIO2
  scl: GPIO1
  scan: True
  id: i2c_bus

sensor:
 - platform: hdc1080
    temperature:
     name: "Temperatura Esterna"
    humidity:
     name: "Umidità Esterna"
     internal: True
    update_interval: 30s

Anything in the logs that might be useful for us?

[15:46:05][D][sensor:093]: 'Temperatura Esterna': Sending state -40.00000 °C with 1 decimals of accuracy
[15:46:05][D][sensor:093]: 'Umidità Esterna': Sending state 0.00000 % with 0 decimals of accuracy
[15:46:05][D][hdc1080:069]: Got temperature=-40.0°C humidity=0.0%
[15:46:35][D][sensor:093]: 'Temperatura Esterna': Sending state -40.00000 °C with 1 decimals of accuracy
[15:46:35][D][sensor:093]: 'Umidità Esterna': Sending state 41.75415 % with 0 decimals of accuracy
[15:46:35][D][hdc1080:069]: Got temperature=-40.0°C humidity=41.8%

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0