Aqara Luftdruck Sensor

I want to calibrate my Aqara air pressure sensor. I live at an altitude of 600 meters, but the sensor shows 950 hPa - but it should be 1018 hPa.
Thanks for the help

Jochen

Use a template sensor that adjusts the value accordingly.

habe diverse code schnipsel probiert, aber keiner brachte mir Erfolg :rage:

#offset
sensor:
    - platform: template
      sensors:
        sensor.balkon.luftdruck_offset:
          value_template: "( states('sensor.lumi_lumi_weather_pressure')|float + 50 )|round(1)" 
          friendly_name: 'T Room A'
          unit_of_measurement: 'hPa' 

Probier das:

#offset
sensor:
  - platform: template
    sensors:
      balkon_luftdruck_offset:
        value_template: "{{ (states('sensor.lumi_lumi_weather_pressure')|float + 50) | round(1) }}" 
        friendly_name: 'T Room A'
        unit_of_measurement: 'hPa' 

Und bitte weiter auf Englisch.

Thank you very much for the code.
I will test it tomorrow and give an answer about the result :grin:
Sorry for my google english :sunglasses:
I’m 68 years old and I didn’t learn English at school

Kein Problem, lieber Google Englisch als Deutsch. Auf Englisch wirst du viel eher eine Antwort zu deinen Fragen erhalten (auch wenn es Google Englisch ist, viele Leute hier haben nicht Englisch als Muttersprache).

very good to know

Jochen

Aber schön zu sehen, dass auch “ältere” Leute sich an Home Assistant wagen :slight_smile: Viel Erfolg auf deiner Reise :slight_smile:

Try it with english, as best as you can, otherwise send me a PM and I’ll try to translate your issue. :wink:


Versuch es einfach, so gut es geht. Wenn du gar nicht weiter weisst, schick ruhig eine PN, ich versuche es dann zu ĂĽbersetzen. :slight_smile: Und @Burningstone ist ja auch kein Unmensch, der hilft sicher auch gerne weiter. :slight_smile:

Hello, I installed the code and adjusted it a little :sunglasses: Perfect ! :+1:
Thank you for the quick help

Best regards from Bavaria - Jochen

#offset
sensor:
  - platform: template
    sensors:
      balkon_luftdruck_offset:
        value_template: "{{ (states('sensor.weather_pressure')|float + 65) | round(1) }}" 
        friendly_name: 'Luftdruck auf dem Balkon'
        unit_of_measurement: 'hPa' 

2 Likes