ESP32-S3-Box-3 Temperature Calibration?

I’ve successfully added programing for the AHT30 temperature and humidity sensor on the ESP32-S3-Box-3 with Dock. The humidity sensor outputs correct humidity values. The temperature sensor is about 3 degrees higher than actual temperature. Is there a way to calibrate that sensor for better accuracy?

This is the code I’m using;

sensor:
  - platform: aht10 
    i2c_id: bus_b
    variant: AHT20
    temperature:
      name: "Temperature"
      id: s3temp
    humidity:
      name: "Humidity"
    update_interval: 60s

Sure, use filters —> offset if error is equal on all temperatures. If it’s not you can use “calibrate” from filters.

I just learned something new!

The suggestion of adding on offset worked perfectly.

Thank you.

1 Like