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
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
habe diverse code schnipsel probiert, aber keiner brachte mir Erfolg
#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
Sorry for my google english
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 Viel Erfolg auf deiner Reise
Try it with english, as best as you can, otherwise send me a PM and I’ll try to translate your issue.
Versuch es einfach, so gut es geht. Wenn du gar nicht weiter weisst, schick ruhig eine PN, ich versuche es dann zu ĂĽbersetzen. Und @Burningstone ist ja auch kein Unmensch, der hilft sicher auch gerne weiter.
Hello, I installed the code and adjusted it a little Perfect !
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'