Wind impact on weather compensation curve project

Hi All,

I had a search around and saw a few posts and comments about this topic, but no specific solutions, thought I’d share what I’ve been doing and how.

Ive recently had my Vaillant 12kw Arotherm installed (we are about 1 month in), and it’s been a great journey refining and choosing Weather Compensation curve and offset.

Being in IT, i decided that data would be the answer to the problem instead of guessing, so i strategically placed Shelly H&T Gen 3 Thermometer /Humidity sensors through the house and had them integrated into HA, so i could trace and see the data, which really helped me fasttrack WC and Offset.

That’s all been working great, but, our house is elevated 750ft above sea level and exposed on 3 sides, on the side of a fairly steep road.

I knew that the weather was a little different here, so have a 3rd party weather station here for a while anyway (Tempest) and I’ve integrated that feed back into Emoncms to report our actual weather data. (the data is actually quite offset from Met Office because of the elevation, sometimes positive, sometimes negative).

The final problem though, we discovered that the weather compensation whilst perfect in still to mild air, really drifts when it gets windy and, it often gets very windy up here. We did see a degradation in the indoor temperature (I have an average for the ground floor which we also feed into Emoncms).

So, i decided to try and fix it. Now, this project is relatively new, so we’re in early beta testing, but early signs are very positive. So what have we done?

Using the Data from Emoncms/OEM, the tempest weather station and the Shelly H&Ts, Claude has been able to calculate the effective heatloss for the house, based on the wind data and then work out, an effective bump to WC offset. So, when the wind reaches an agreed average, it bumps the offset in tiers.

We currently have 3 tiers, tier 1 bumps the offset up 0.5, Tier 2, 1.0, and Tier 3,(currently untested), will do up 2.0. The offsets bump for 2 hours and the a rolling calculation done on the average gusts, over the time period.

So that’s the project, it seems to be working well, it’s early, but it’s definitely stopped wind created sag and heatloss is effectively replaced by a slight increase in flow temperature vs the wind we see outside.

Ill keep everyone updated on progress, but this is a screenshot of the dashboard and data that’s being recorded in HA, the more data that i collect the better the refinement of the model Claude will be able to do, but it’s a data refined model, that couldn’t be possible without the heat meter from the OEM kit. The power of using sensors and local weather station is really powerful and it’s a cool little refinement of WC which would not deliver optimal results alone for it elevated windy location.

Thoughts and further suggestions welcomed.

Following with interest.

Will you be sharing your solution?

Sure, if there’s interest in it, of course.

You’d need to adjust to your specific location and house, define your heatloss parameters and thresholds to match that and you WC curve, but AI will do that. With all the necessary data and the script is easy enough to do too.

I expect some might think. “Why not just use active control and use the Vaillant Sensocomfort in WC + active mode”? The reason why that doesn’t work so well and i created this, was because I’ve got an 1930, lots of mass, solid wallls property with all column radiators and 400L of water in the HP heating circuits, so the house is very slow to react to changes. Secondly, my house is very large open plan and my Sensocomfort is in a fairly warm place that didn’t reflect all the house, so it’s not a good measure.

doing this approach tries to respond ahead, rather than wait for the decline to happen and then react. For many properties, this is OTT, but, its cool OTT and better… Probably… :joy:

Ill give it a few more days if testing, and then I’m very happy to share, absolutely. :+1:

AG

Ok, here is the YAML, and the explanation of what how it works, and what you need to change.

Wind boost for weather compensation: Home Assistant + Tempest + Vaillant (I guess you could use others, but it was developed on Vaillant)

wind_boost_package.zip (4.6 KB)

TL;DR: Weather compensation only knows the outdoor temperature. It has no idea the wind is pulling heat out of the house. This Home Assistant setup watches wind gusts and nudges the room setpoint up in three small steps while it’s windy, which lifts the WC curve. It’s fully self-reverting. Everything is in one annotated YAML package (attached). You change four entity IDs and it runs.


Why I built it

The house is on an exposed hillside at about 750 ft. I run the heat pump on pure weather compensation, 24/7, with no setback. On calm days the curve is spot on. On windy days the house would drift down by a few tenths and then take ages to recover, because a low-temperature system is slow. Room influence on the controller didn’t react anywhere near fast enough, so I went for feed-forward instead: if it’s windy, add a bit before the house cools.

Kit: Vaillant aroTHERM plus 12 kW on a SensoComfort, controlled through the myPyllant HACS integration. Wind comes from a WeatherFlow Tempest on the core local WeatherFlow integration. OEM Level 3 monitoring was used for the tuning.


How it works

Tempest gust ──► 1h rolling mean ──► 3 threshold sensors (tiers)
                                           │
                    hourly + on tier change ▼
        Scheduled setpoint + boost ──► Vaillant quick veto (2h)
Tier Gust 1h mean ON OFF Boost to setpoint
1 – Windy ≥ 5.6 mph ≤ 3.5 mph +0.5 °C
2 – Very windy ≥ 10.0 mph ≤ 7.9 mph +1.0 °C
3 – Stormy ≥ 16.8 mph ≤ 13.6 mph +2.0 °C

The design choices that matter:

  • Gusts, not mean wind. My Tempest under-reads mean wind on the hill. Gusts tracked actual heat demand far better. The 1-hour mean stops a single gust flicking the boost on.
  • Quick veto, 2 hours, renewed hourly. Nothing ever turns the boost off. When the wind drops, the veto just runs out, which gives up to 2 hours of natural run-on. This is deliberate, because a slow system that chases the wind on and off overshoots. If HA falls over, the heating is back to normal within 2 hours.
  • Always “schedule + X”, never “current target + X”. While a veto runs, the climate entity’s target is the boosted value. Adding to it every hour would stack the boost (21 → 21.5 → 22…). A template sensor reads the setpoint for right now from the Vaillant time programme, which the veto never touches.
  • Highest tier wins, and each hourly renewal re-checks the tier, so the boost steps down as the wind eases.
  • Only acts in auto. If the zone is off, set to away, or set by hand, it leaves it alone.
  • Outdoor guard: no boosting at 11 °C or above. If the outdoor sensor drops out, it carries on boosting (fail safe).

The components

# Entity created Type What it’s for
1 sensor.wind_gust_1h_mean Statistics 1h mean of gusts. Drives everything
2 binary_sensor.wind_boost_tier_1/2/3 Threshold The three tiers, each with hysteresis
3 sensor.heating_scheduled_setpoint Template The setpoint from the time programme right now (stops the boost stacking)
4 binary_sensor.wind_boost_applied Template On while a quick veto is active
5 sensor.wind_boost_hours_today and …tier_2_hours_today History stats Optional: hours boosted today, for tuning
– sensor.heating_boost_ends Template Optional: “boost ends HH:MM” for a dashboard
6 automation.heat_pump_wind_boost Automation Applies, renews and steps down the veto

What you need to change

Do a find & replace in the YAML for these four placeholders. You’ll find the real IDs in Settings → Devices & services → Entities.

Placeholder Replace with
sensor.change_me_wind_gust Your wind gust sensor (Tempest: sensor.st_xxxxxxxx_wind_gust)
sensor.change_me_outdoor_temperature Your outdoor temperature sensor
climate.change_me_vaillant_zone Your myPyllant zone climate entity (climate.<home>_zone_1_circuit_0_climate)
sensor.change_me_zone_current_special_function myPyllant’s “current special function” sensor for the same zone (only used by the optional end-time display)

Then check these three things:

  1. fallback_setpoint in the automation: set it to your normal scheduled setpoint. Mine is 21.0.
  2. Units. My thresholds are in mph. The easiest fix is to open your gust sensor, click the cog, and set Unit of measurement to mph. Otherwise use the table below for the threshold upper and hysteresis values.
  3. Thresholds, boost sizes and the 11 °C guard. These are fitted to my house. Treat them as a starting point (see Tuning below).
Tier mph (upper / hyst) km/h (upper / hyst) m/s (upper / hyst)
1 4.55 / 1.0 7.35 / 1.6 2.0 / 0.45
2 8.95 / 1.0 14.45 / 1.6 4.0 / 0.45
3 15.2 / 1.55 24.5 / 2.45 6.75 / 0.7

Threshold helper gotcha: it turns on when the value is strictly above upper + hysteresis, and off when it’s strictly below upper − hysteresis. The mean reports to 0.1, so I end upper in .x5 to make each tier trip at its headline figure. With 4.6 + 1.0, a reading of exactly 5.6 would never trip it. That one cost me a day.


Installing it

Option A: package (recommended, one file)

  1. In configuration.yaml, make sure you have:

yaml

homeassistant:
  packages: !include_dir_named packages
  1. Save the attached file as /config/packages/wind_boost.yaml.
  2. Do the find & replace above.
  3. Go to Developer tools → YAML → Check configuration, then restart.
  4. Check that sensor.wind_gust_1h_mean has a value. Then look at Settings → Automations → Heat pump – wind boost → Traces after the next hour ticks over.

A package automation is YAML-managed, so you can’t edit it in the UI editor. If you’d rather tinker in the UI, use Option B.

Option B: build it in the UI

Under Settings → Devices & services → Helpers → Create helper:

  • Statistics: source = your gust sensor, characteristic = Mean, max age = 60 min, sampling size = 500, precision = 1, keep last sample = on.
  • Threshold × 3: source = the statistics sensor, set Upper and Hysteresis from the table, leave Lower empty.
  • Template sensor: “Heating scheduled setpoint”. Paste the state and availability templates from the package, with unit °C and device class temperature.
  • Template binary sensor: “Wind boost applied”. Paste its template.
  • History stats (optional): entity = Wind boost applied, state = on, type = time, start {{ today_at() }}, end {{ now() }}.

Then create a new automation, switch to Edit in YAML, and paste in everything under automation: starting from alias:. Remove the leading - id: line and un-indent it. Fix the entity IDs to match the names your helpers were given. Tip: put a “Wind boost” label on all the parts so you can find them together later.


Tuning it for your house

Your exposure, fabric, curve and anemometer position are all different from mine, so the numbers will be too.

  1. Get the base curve right on calm days first. The boost is a top-up, not a fix for a curve that’s too low.
  2. Run it with my figures for a few days that include both windy and calm weather. Compare your indoor average with sensor.wind_gust_1h_mean.
  3. House still sags when it’s windy? Lower the Tier 2 threshold one notch, or increase the boost.
  4. House creeps up, or it’s boosted most of a normal day? Raise the Tier 1 threshold. The hours today tracker makes this obvious.
  5. One change at a time, and give each a few days. The system is slow and the weather is noisy.

For the data nerds, here’s how I set mine. I took 26 days of OEM heat output against Tempest gusts, in 6-hour blocks:

  • Calm heat loss came out at about 294 W/K.
  • Each 1 km/h of gust added about 1 % (90 % range 0.6–1.3 %).
  • Each +0.5 °C on the setpoint lifted the flow by about 0.8 °C. At about 2 °C outside, that’s roughly +7 % radiator output.
  • My base curve was tuned at typical gusts of about 5.5 km/h.
  • I set each tier to switch on where the extra wind loss gets half-way to that tier’s extra output.

Not on Vaillant or Tempest?

  • Other wind sensors (Ecowitt, Netatmo, etc.): any gust sensor works. Just mind the units.
  • Other heat pumps: the action and the scheduled-setpoint sensor are the Vaillant-specific parts. If raising the room setpoint shifts your WC curve and your integration exposes it, swap mypyllant.set_quick_veto for climate.set_temperature. Swap the scheduled-setpoint sensor for an input_number holding your normal setpoint. Big caveat: you then lose the self-expiring veto. You’ll need a branch that sets the setpoint back to base when no tier is on, and if HA dies the boost stays on.

Other gotchas

  • If you set a manual quick veto while it’s windy and the zone is in auto, the hourly renewal will overwrite it.
  • Wind boost applied counts any active quick veto, including manual ones.
  • myPyllant is a cloud integration. If Vaillant’s API has a wobble, a renewal can fail. The worst case is that the boost lapses, never that it gets stuck on.
  • The mode is single. A tier change that lands exactly on the hour is harmless; the next renewal picks it up.

Recommend way to use this file

Easiest install: give the YAML file to your AI assistant (ideally one connected to your Home Assistant) and ask: “Install this wind boost package in my HA. Find my real entity IDs for the four change_me placeholders, check my wind sensor’s units and convert the thresholds if needed, and tell me anything that doesn’t fit my heat pump before changing the logic.”

Optional: the dashboard

wind_boost_dashboard.yaml (attached) sets up a ready-made view. It shows the gust mean with a 24h trend, which tiers are on, the current target, when the boost ends, boosted hours today, and indoor vs outdoor over 48h.

To install it, create a new dashboard, open the Raw configuration editor, paste the file in, and replace the change_me placeholders. The Wind boost section works on its own as soon as the package is installed. Delete any House & heat pump tiles you don’t have sensors for.

wind_boost_dashboard.zip (2.0 KB)

Testing limitations so far

This is a relatively new development, with some rigorous testing over several days, which has thoroughly tested the core functionality . It does what it set out to deliver, seamlessly wind weather curve optimisation without any interaction, it’s 100% automated.

Importantly though, I have not tested Level 3 threshold, (it’s not been that windy yet, my gut feeling is, we might need 4 levels for boost, but I’ll only know, when we get that data) and also I’ve not tested the 11C automation cut-off, so I’m not sure whether that’s right either. besides that, it all works as described and tested. Have fun. :slight_smile:

Happy to answer questions, and I’d love to see other people’s fitted numbers. Nobody I’ve found is doing this yet. :dashing_away: