Hey Folks,
Anyone know of an integration that takes the input from the barometric pressure sensor and displays a chart like old style gages?
Thanks!
Hey Folks,
Anyone know of an integration that takes the input from the barometric pressure sensor and displays a chart like old style gages?
Thanks!
There is one gauge card which is a bit rubbish. I have written some text templates to try and produce a descriptive version. However, there is a gap in the market for someone capable
Thanks, Would you be able to share?
I set up a pressure derivative helper as well.
- sensor:
- name: "Pressure Trend"
unique_id: pressuretrend
device_class: enum
icon: mdi:gauge
state: >
{% set pressurederiv = states('sensor.pressure_derivative_3hr')|float %}
{% if pressurederiv <= -5 %}falling very rapidy
{% elif pressurederiv <= -3 %}falling rapidy
{% elif pressurederiv <= -2 %}falling
{% elif pressurederiv <= -1 %}falling gently
{% elif pressurederiv <= 0 %}steady
{% elif pressurederiv <= 1 %}rising gently
{% elif pressurederiv <= 2 %}rising
{% elif pressurederiv <= 3 %}rising rapidly
{% elif pressurederiv <= 5 %}rising very rapidy
{%- endif %}
- name: "Pressure Weather"
device_class: enum
icon: phu:air-pressure
state: >
{% set pressure = (states('sensor.pressure_external_average')|float ) | round(0) %}
{%set trend = states('sensor.pressure_trend') %}
{% if pressure <= 960 %}stormy, {{pressure}}, {{trend}}
{% elif pressure <= 990 %}Rain, {{pressure}}hPa, {{trend}}
{% elif pressure <= 1050 %}Change, {{pressure}}hPa, {{trend}}
{% elif pressure <= 1025 %}Fair, {{pressure}}hPa, {{trend}}
{% elif pressure <= 1045 %}Dry, {{pressure}}hPa, {{trend}}
{% elif pressure <= 1070 %}Very Dry, {{pressure}}hPa, {{trend}}
{% elif pressure <= 1090 %}Scorchio, {{pressure}}hPa, {{trend}}
{%- endif %}
and this is the pressure gauge which I cant find the original linkā¦ I will keep looking
Julian, I know this is an old post - but did you ever find the link to that Barometric Pressure Gauge?
Iād really like to figure out how to use your pressure derivative code so my Apollo AIR-1 sensor can show if the Barometric pressure is trending up or down.
Iām just getting started with HA, so this would be my 1st attempt at adding a gauge to a dashboard.
Thanks!
Hi Julian
how do you calculate the values in āsensor.pressure_derivative_3hrā.
IĀ“m looking to achieve the same as you.
Thanks
I used a Helper Derivative set to 3 hours
Edit; in the template my numbers were rough. I.e. I never finalised exact pressure to description. Worth a fiddle
Thanks a lot Julian,
IĀ“m working with your code and adjusting the values to see if i can achieve 70% of correct prediction.
IĀ“ll get back in
Hi, JulianDH. I am interested in adding these if statements to the Derivative helper that Iāve created, but Iām not sure that I know where to go to do so. It sounds like theyāre in a hidden folder, but that editing those files manually isnāt suggested. Is this where I might be able to add these if statements?
@jcbennett hello. These statements are used to create aTemplate Sensor.
Learning about Template Sensors are super useful; a Template Sensor helps to create a new sensor based upon the state of other sensors and the rules you write. A great place to start with developing your own jinja formula is in Developer Tools ā Templates. There are some great videos on YouTube (āSmart Home Junkieā etc) to get you started. I have messed around for a year or two and can manage the simple stuff!
Ask more if you need but most of the best threads are elsewhere
Hello in case anybody stumbles across this thread, the best barometric card is Lovelace tempometer-gauge-card which is native in HACS. Just need to set up two statistics sensors for the min and max pressure over the period you require.
I have no idea why I missed this. HA just keeps on giving