Repository navigation
v1.23.1
🌟 What's new in v1.23.1?
A fix release for the daily overview when your heat pump runs past midnight, fewer lost measurements, and better self-diagnosis. No breaking changes.
- Runs past midnight no longer mess up the daily overview (#400).
- The morning after a night run no longer shows quality 0 %. A day that only contains the tail of last night's run now shows "—".
- "Longest run" can no longer be longer than the day's total runtime: each day now shows its own part of a run that crosses midnight.
- Defrosts and backup heater show up in the Events tab (#400). The per-day event counts now use the same real numbers as the Today block, so they are no longer empty or 0 %.
- No more lost COP measurements (#353). If the database is briefly busy, measurements are kept and saved a moment later instead of being dropped.
- Lighter nightly maintenance (#353). The database is only compacted when there is actually space to reclaim.
- Better diagnostics (#353). If an update is ever slow, the diagnostics file now shows when it happened and which step caused it.
- All default thresholds in one place (#193). See
docs/cycle-thresholds.json.
✅ After updating
- Update via HACS → Daikin Cycle ML → Update, then restart Home Assistant.
- Re-paste two dashboard cards to get the Events fix: Daily Summary Tabbed and Pattern Analysis. Copy the latest YAML from
dashboard/cards/(HACS does not update cards you pasted). Other cards need no change.
🙏 Thank you
- CuttingStorm (Tweakers forum) — spotted the 0 % quality, "longest > total" and empty event counts after a run across midnight (#400)
Found something? Open an issue and attach your diagnostics.
📚 Docs: Database — daily summary and maintenance · Dashboard cards · Cycle thresholds
🛠️ Technical Details & Fixes
Fixes:
- #400 Daily summary across midnight -
daily_summary_recent.quality_avgisnullfor a row without cycles started that day;daily_summary.duration_maxis the longest within-day portion (always ≤total_duration_s);_apply_mergekeeps MAX ofbuh_used/defrost_used/dT_maxof absorbed runs; newevents_by_day(BUH minutes, defrost events fromruntime_acc.<day>) used by Daily Summary Tabbed Events and Pattern Analysis. PR #401. - #353 A3c slow tick - diagnostics
coordinator_timing.tick_duration_max_ts/_tick/_phases_ms; cop samples hittingdatabase is lockedare queued (max 240) and flushed on the next insert (database.pending_cop_samples); nightly VACUUM only when ≥ 20 % pages are free, explicitrun_maintenancevacuum: truealways runs (database.last_vacuum). PR #402. - #193 Canonical thresholds -
docs/cycle-thresholds.json(schema 1) with a drift test againstconst.py/engine/physics.py; Carnot factor 0.65. PR #403.
Tests: 6,703 tests, 100% coverage; new suites for cross-midnight daily summary (incl. Node-rendered cards), real SQLite write-lock reproduction, conditional VACUUM, slow-tick attribution and threshold drift.
Changelog: CHANGELOG.md | Compare v1.23.0...v1.23.1
☕ Support
Daikin Cycle ML is free, local-only, and open-source. If it has helped you optimize your heat pump or save on energy costs:
