fix: cut the bathroom preheat cost, and dry only after a shower #15

Merged
varl merged 1 commit from runa/hass:fix/bath-preheat-targets into main 2026-11-12 21:49:37 +01:00
Member

Follow-up to #14 after four days live (9-12 Nov).

Preheat cost ~17 SEK a day, 13 of it in the evening at 6.7-6.9 SEK/kWh. Kids' 18:00 and master's 20:00 windows sit in the dearest hours (15-19 averaged 6.2-7.1 SEK/kWh this week), and heat put in earlier is mostly lost before them: each room's excess over the hall halves in ~4 h (fitted from the record), so midday heat at ~5.4 costs more per degree delivered than heat bought just before. The saving has to come from asking for less, not from timing.

  1. The preheat start counts the holding cost. preheat_start() now prices the first lead minutes at full power and the rest until the window at hold = 0.3 of it (kids measured 0.29 at 21 °C, master ~0.22 at 25). Choosing on the warm-up alone started kids' evening preheat at 15:00 and held it 3 h through the peak for a first hour 0.2 SEK cheaper. A genuine price dip is still used (tested).
  2. Per-window setpoint and lead (["HH:MM", "HH:MM", setpoint, lead], in each automation's variables:). Agreed with varl:
morning evening
kids 22 °C air, 60 min 21 °C air, 90 min (was 22, 60)
master 25 (~27 slab), 150 min 23 (~25 slab), 120 min (was 25, 150)

Kids' evening reached only 20.2-21.6 at 18:00 on most days anyway: the 475 W floor lifts the air ~0.5 °C/h.
3. Drying engages only on a shower-like rise: 8 points within 15 min (sensor.*_humidity_change_15min, the test templates/hot_water.yaml already uses). Every shower 2-11 Nov rose 12-37; the engages that were not showers rose 0-6 — master's Wed 11 Nov 11:52, a drift from 54 to 60 over 40 min, dried for 8 h through the dearest hours (~5 SEK). Unavailable reads as a shower. Adds sensor.guest_humidity_change_15min (restart).

Expected: roughly 6-8 SEK a day off the 17 of preheat, plus no more daytime false drying. Estimated, not observed.

Validated: just check-local passes; phase()/target() rendered over a day of this week's mean prices: kids preheat 05:30 and 16:30 (was 03:30 and 15:00), master 04:00 and 18:00, a price dip still pulls the start earlier, no prices → lead before.

Follow-up to #14 after four days live (9-12 Nov). **Preheat cost ~17 SEK a day**, 13 of it in the evening at 6.7-6.9 SEK/kWh. Kids' 18:00 and master's 20:00 windows sit in the dearest hours (15-19 averaged 6.2-7.1 SEK/kWh this week), and heat put in earlier is mostly lost before them: each room's excess over the hall halves in ~4 h (fitted from the record), so midday heat at ~5.4 costs more per degree delivered than heat bought just before. The saving has to come from asking for less, not from timing. 1. **The preheat start counts the holding cost.** `preheat_start()` now prices the first `lead` minutes at full power and the rest until the window at `hold` = 0.3 of it (kids measured 0.29 at 21 °C, master ~0.22 at 25). Choosing on the warm-up alone started kids' evening preheat at 15:00 and held it 3 h through the peak for a first hour 0.2 SEK cheaper. A genuine price dip is still used (tested). 2. **Per-window setpoint and lead** (`["HH:MM", "HH:MM", setpoint, lead]`, in each automation's `variables:`). Agreed with varl: | | morning | evening | |---|---|---| | kids | 22 °C air, 60 min | **21 °C air, 90 min** (was 22, 60) | | master | 25 (~27 slab), 150 min | **23 (~25 slab), 120 min** (was 25, 150) | Kids' evening reached only 20.2-21.6 at 18:00 on most days anyway: the 475 W floor lifts the air ~0.5 °C/h. 3. **Drying engages only on a shower-like rise:** 8 points within 15 min (`sensor.*_humidity_change_15min`, the test `templates/hot_water.yaml` already uses). Every shower 2-11 Nov rose 12-37; the engages that were not showers rose 0-6 — master's Wed 11 Nov 11:52, a drift from 54 to 60 over 40 min, dried for 8 h through the dearest hours (~5 SEK). Unavailable reads as a shower. Adds `sensor.guest_humidity_change_15min` (restart). **Expected:** roughly 6-8 SEK a day off the 17 of preheat, plus no more daytime false drying. Estimated, not observed. **Validated:** `just check-local` passes; `phase()`/`target()` rendered over a day of this week's mean prices: kids preheat 05:30 and 16:30 (was 03:30 and 15:00), master 04:00 and 18:00, a price dip still pulls the start earlier, no prices → `lead` before.
fix: cut the bathroom preheat cost, and dry only after a shower
All checks were successful
ci/woodpecker/push/check Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
ci/woodpecker/pr/check Pipeline was successful
a916cb42b0
Preheat cost ~17 SEK a day over 9-12 Nov, 13 of it in the evening, at
6.7-6.9 SEK/kWh: kids' 18:00 and master's 20:00 windows sit in the dearest
hours, and heat put in earlier is mostly lost before them (each room's excess
over the hall halves in ~4 h), so there is no cheaper time to buy it.

- The preheat start now counts what holding the room costs (0.3 of full
  power, measured), not only the warm-up. Choosing on the warm-up alone
  started kids' evening preheat at 15:00 and held it 3 h through the peak.
- Windows may carry their own setpoint and lead. Kids' evening asks 21 °C
  air (morning stays 22), lead 90 min; master's evening 23 (~25 slab,
  morning stays 25), lead 120 min. Agreed with varl.
- Drying engages only on a shower-like rise, 8 points in 15 min. Showers
  2-11 Nov rose 12-37; the engages that were not showers rose 0-6. Master's
  of Wed 11 Nov 11:52, a drift from 54 to 60 over 40 min, dried 8 h through
  the dearest hours. Adds guest's 15-min change sensor (restart).
varl merged commit a916cb42b0 into main 2026-11-12 21:49:37 +01:00
varl deleted branch fix/bath-preheat-targets 2026-11-12 21:49:37 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
meatbag/hass!15
No description provided.