Skip to content

Pressure adjustment #1

@sybux

Description

@sybux

Hello,
I've found why my pressure sensor read wrong value. It's because of the sea level adjustment. Values that we can read on meteo maps are always based on sea level. So if you're higher than sea, you need to adjust this value. There is a formula to correct this but I don't know how to implement it in the ESP yaml file.

We need :

  • Pressure from sensor (P)
  • Actual temperature for more accurate value (T)
  • altitude of the installation (h)

The formula is :
image

P0 is the value we want to read in HA :)

Do you think you can add this in the sensor template ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions