Skip to content

Update 46.0.4 “Hubble is back from School”

Choose a tag to compare

@Zara-Toorox Zara-Toorox released this 05 Sep 22:22
· 38 commits to main since this release

This is an important stability update for all installations. No fancy new stuff...

Fuel my late-night ideas with a coffee? I'd really appreciate it — keep this project running!

Buy Me a Coffee

for help, further information pls also visit (https://www.solarforecastml.com/en/)

The changelog is a bit more “nerdy” this time, since it is mainly technical fixes and improvements. There was a lot of work especially on EAI and SFML. Many thanks to Basti for the support (test suite and interpreter runs).

SFML:

  • New diagnostic sensor to monitor the Promotion Gate. States:
    • serving = AI active
    • candidate_evaluating = candidate under evaluation
    • waiting_regime = waiting for weather-regime coverage
    • physics_baseline = AI not yet active – physics baseline
  • Weather AI and forecast chain are now connected more stably
  • Sun Gate was revised based on observations in the thread: Sammelthread Tages/Wochenergebnisse
  • GHI coherence cap adjusted to forecast seasons more accurately
  • Weather classification aligned with the current classes of the raw models
  • Fixed the issue that the afternoon-hour error could not be “trained away”
  • Promotion Gate → there are now two layers to catch GIGO more reliably, stabilize evaluations, and keep assessability intact. The day counter (“Day 3 of 7”) now comes from eligible_days, not from calendar age. A day without usable hours no longer counts in the gate. The calendar deadline remains as an attribute next to it. @GreenNothing I think this makes it easier to interpret reports and distinguish real errors from log noise.
  • Fixed the recurring weather_mlp_precision_pipeline_invariant ERROR message.
  • The globally disabled expert learner now correctly reports again: weather_expert_immutable_learning_disabled with impact="informational". EOD therefore reports 16/16 again instead of 15/16. The data still remains in the shadow tables until it passes the gate. (@GreenNothing)
  • Installation now reliably heals the formerly broken Promotion Gate on the first start after the update
  • Database LOCKED fixed. Cause was an authorizer leak in the shared database service
  • UTC checks across all pipelines and adaptation to the new TzInfo in Home Assistant 2026.9.x, to ensure the forecast reflects local time.

STATS:

  • Improvements and preparation for CSV import
  • Forecast quality now measures model quality again
  • EMS page: measurement interval increased to 15 min to support Proxmox and weaker systems
  • Your Energy Day page: complete overhaul and display bugs fixed. Autarky metric and time machine improved
  • Unconfigured devices are now reliably hidden
  • Energy Dashboard and heat-pump page differed on daily consumption. Thanks @Joachim-XO
  • This and that, where things still blew up more or less visibly in the code

EAI

  • Cumulative counters are derived correctly (new: daily_energy.py). DailyEnergyTracker keeps a midnight reference per entity in local time, detects meter resets using HA’s own 90% rule, and survives restarts via the Insights store. Thanks for the bug report!
  • EMS-ESP profile improved again. Gateway detection via manufacturer == "EMS-ESP". NOTE: The signature table is generated from the official entity dump and covers all five EMS-ESP naming formats.
  • Two bugs fixed: climate.* entities were discarded entirely, so the setpoint would have stayed empty on every thermostat.
  • On every HA restart the midnight reference values were reset, so derived daily heat energy went back to 0 → ratio outside the plausibility band 0.5…12 → “COP today: not yet available” bug fixed
  • Thermostat bug: every installation whose setpoint or indoor temperature came from a thermostat never received a value there — and the forecast silently ran on 21 °C instead of the real setpoint. To make this more robust overall, I also included temperature sensors without a declared unit. Thanks @Joachim-XO (!!)
  • Forecast cascade: two all-or-nothing blocks removed. Values are now shown even if only some of the sensors are present.
  • An HA weather entity could poison the internal weather forecast from the Kepler AI stack. The cascade now stays entirely inside the Hubble + Kepler universe. (Weather Fusion AI, SFML)
  • Wallbox budget without a capacity limit — the entire PV surplus was incorrectly reported as “available for the wallbox,” even with no wallbox configured.
  • Mock values were never fully removed → fixed
  • No battery for now, purely advisory operation

Open items (I have not gotten to these yet; coming soon — please do not report them further)

  • Morning routine without sticky protection: morning run no longer does curtailment; the quarantine flag falls back.
  • PirateWeather UTC bug → currently only affects installations running purely on UTC. I have to wait and see whether HA-DEV follows up again.
  • Remaining issue: Sun Gate at elevation just above 0 (h6 +0.2°, h19 +1.4° → ~0.15 kWh/day). The gate works as specified (<= 0.0); closing depends on clear_sky_radiation_wm2.
  • Possible double drift: with still-open or incorrectly SMB-mounted SFML databases. Especially on macOS (!!)
  • Dead leftover code: physics_ghi_ratio is still passed through four layers and is no longer read anywhere, anywhere. → I will remove it once it is clear that all installations are on SFML at least 44.0.0.
  • Consensus guard against one-sided ensemble outliers (after 3–5 days of measurement); sampling semantics still need to be rebuilt. But not before 14 Sep 2026; until then the test system is still collecting shadow data.

General note:
It has happened more often that I looked for supposed bugs and could not find them. In many cases I could not reproduce them because an AI had been poking around in the DB via MCP or SSH to “fix” a supposed error. That does not work, and then it is impossible for me to find the issue.

So please do not use an AI to crawl/analyze logs or the DB. Especially when crawling the SFML DB, this often creates a WAL copy that causes massive errors. If that copy is not closed/removed correctly — for example by Claude or ChatGPT — it leads to a lot of data junk and possibly incorrect assignment.

It also makes no sense to dump the logs into your AI, because it cannot identify the code or the source of the log. In 9 out of 10 cases you get complete garbage. Please use the help function on the website, the forum, or write me an email.

For BUG reports / suspected bugs, always include the system and the SFML version. My code is not bug-free and probably never will be, but it gets better through human exchange and shared fun with the project! — THANK YOU!

Special thanks once again to everyone who posts their daily results in the corresponding thread with weather information. That helps me enormously to see whether there is a general problem. THANK YOU!!!

Zara

RUFF → Green
Q/S → Green
PyText → Green
Interpreter → Green
Penetration test → Green
Security test → Green
Async → Green / non-blocking
Home Assistant Supervisor → Green