Repository navigation
Bump to V52
Solar Forecast ML V52.0.0 – Update Notes
A lot has happened since V50.0.6 – that’s why I’m jumping straight to V52.0.0. A major focus of this update is cloudy days, where the forecast was often too high until now.
Fuel my late-night ideas with a coffee? I'd really appreciate it — it keeps this project running.
Thanks to everyone who sent me logs, screenshots, and feedback – many of the points below come directly from that!
Solar Forecast ML
Better Forecast on Cloudy Days
- New cloud logic: SFML learns individually for each system how much the weather models tend to overestimate on heavily cloudy days and automatically compensates for it.
There is no fixed factor for everyone – each system learns its own value. The adjustment now happens on an hourly basis. - Improved AI weighting: The AI is no longer automatically preferred during dense cloud cover.
Previously, the AI sometimes received too much weight on cloudy hours even when the physics model performed better. If a sub-model is demonstrably worse in a certain weather situation, it now counts less there. - AI Update: Harness and safeguards have been tightened based on the findings of the last few months.
- Promotion Gate: Tests and evaluations from the last few months have shown that the Promotion Gate needs to be set even stricter.
- Weather MLP: Adjustments and restructuring.
- TFS-HA: New and improved interface to SFML.
Midday Correction / Mid Day Correction (MDC) Revised
(Note: Detailed MDC changes are listed under STATS below.)
Solar Forecast ML STATS
Midday Correction / Mid Day Correction (MDC) Revised
- New switch in STATS: There is now a dedicated section for MDC on the Hybrid Forecast page
- with an explanation of what MDC does and when it triggers
- with the result of the last check
- MDC is enabled by default – I strongly recommend leaving it that way. Especially with fresh installations, MDC is an important safety anchor.
Bug and Performance Fixes
- Database performance optimized
- Unnecessary status changes are no longer saved
- Contracts adjusted
- Various smaller and larger bugs fixed
Forecast Quality – Display Errors Fixed
Hybrid and MDC are now correctly included. Learning continues to be based only on the SOT forecast as before. Hours with zero feed-in, curtailment, snow, or manual exclusion no longer count toward forecast quality. STATS and SFML are now synchronized.
Energy Dashboard and Long-Term Statistics
With Home Assistant 2026.10.x, HA changed the handling of energy sensors. The daily, weekly, and monthly counters have been adjusted. A one-time automatic repair corrects incorrect values – you don’t need to do anything.
- Billing without price: Hours without an electricity price no longer crash the billing.
- Clearer solar tiles: The tile is now called “Yield of fully recorded months”, including an explanation of when the current month is included.
- Heating: Deleted thermostats and persons can be removed from a room again. Unsaved settings are no longer overwritten after 30 seconds.
- Hybrid values: The hybrid forecast is now also visible in “Next Hour” and at the peak hour. The hybrid status is available to everyone.
- New terminology: “Morning Anchor” is now more clearly called “Morning Forecast”.
- Translations: Adjusted and corrected.
Grid Price Monitor
- The log now only reports “Configuration changed” when something has actually changed.
Solar Forecast ML S-INV “BETA 8”
New Inverters
- Deye
- Via the Solarman stick (port 8899, logger serial number required) or Modbus TCP.
- 3-phase hybrids (SG04LP3/SG0xHP3) according to the official Deye protocol.
- 1-phase hybrids, string, and micro inverters according to community register lists.
- Grid and battery power are only displayed once the sign is reliably determined (better a missing value than an incorrect one). As soon as the sign is securely confirmed, it will be added.
- SolPlanet (AISWEI)
- Via native Modbus TCP according to the official AISWEI protocol (including battery).
- The WLAN dongle (port 8484) will be added as soon as I have the necessary test data.
- maxxisun MaxxiCharge
- The CCU sends its data locally via webhook directly to Home Assistant (no cloud).
- In the maxxisun app, enter the address shown by S-INV during setup as the local server.
New Sensors (compatible with HA from 2026.10.x) in “S-INV System”
- Daily counters for all manufacturers: Grid import, feed-in, battery charge/discharge, and house consumption today.
Additionally total house consumption (even if your inverter does not provide it itself).
With a clean day change at midnight – also on daylight saving time change days and after restarts. - Power flows: PV → House, PV → Battery, Grid → Battery, Battery → House, Grid → House.
If your device provides them, the measured values are used; otherwise they are calculated and marked as “derived”. - House consumption with multiple inverters: No longer simply summed. Instead, the house consumption of the device with the meter is used plus the AC power of the other inverters. This applies e.g. to GEN24 plus Symo.
Interaction with SFML Cosmos & Home Assistant
- In SFML STATS there is a new tab “Assignment” on the S-INV page.
It compares your currently entered sensors with the S-INV sensors (for the HA Energy Dashboard, SFML, GPM, and EAI). - Simply select what should be adopted → confirm → DONE!!
With “Undo” you can restore the previous state at any time if it doesn’t fit. - There is also a dedicated tab “Heat Pump” for heat pumps.
- Easy adoption of the sensors into the Home Assistant Energy Dashboard: “Click and done”.
- ATTENTION: For security reasons this only works within your own LAN!
Corrections
- Huawei: Stable permanent connection instead of reconnecting on every query → significantly fewer dropouts.
- Huawei: On inverters with two inputs per MPPT, the inputs are now correctly grouped into MPPTs (1+2, 3+4, …). The individual inputs remain additionally visible.
- Hoymiles DTU / HMS-xxxW: Datasets full of zeros and short counter rollbacks from the DTU are discarded. For that single query the value is “unavailable” instead of 0, so no false jumps appear in the energy statistics. The polling interval can be set between 30 and 300 seconds in the options.
- Solakon ONE: Correct battery power and battery detection even with firmware that does not set the BMS online flag (e.g. MQ2200).
Please Note
- Huawei with grouped inputs: The previous entities “MPPT 5–8” (or the surplus ones) become “unavailable” after the update and can be deleted.
- New daily counters: On the first day after the update they only show values from the next midnight onward. An incomplete day is deliberately not shown as a full day.
S-INV now supports:
- Anker Solix
- Fronius
- Sungrow
- Huawei
- Zendure
- Hoymiles (OpenDTU, AhoyDTU, DTU/HMS-W)
- KOSTAL
- SolaX
- Solakon
- maxxisun
- Deye
- SolPlanet
Heat Pumps
- Bosch/Buderus (via EMS-ESP)
- Stiebel Eltron
- All others currently via bridge mode
After the update, restart Home Assistant once.
Zara