Functions

Structured like the Solar Forecast STATS menu: Overview, Analysis, Control, System. For each menu item: what it does and which module provides it.

Overview

STATS

Live & Forecast

Detailed energy flow and forecast status

  • Live energy flow between solar, house, battery and grid.
  • Status of configured large consumers (heat pump, heating rod, wallbox).

modern/app.js · pages/home.js

STATSPremium

Overview

Energy and forecast at a glance

  • Solar curve, forecast and conservative day plan in one view.
  • Hourly actual solar, forecast, model corridor and derived plan curve.
  • With a valid premium licence it shows only your real system values.

modern/premium_dashboard.js

Analysis

SFML

Solar & Forecast

Yield, deviations and shading

  • Yield versus forecast, deviations and shading analysis.

modern/app.js · pages/solar.js

SFML

Forecast quality

Quality and development

  • Forecast vs. actual over 30 days; the 30-day average is assessed, not a single day.
  • Systematic bias detection and model comparison.
  • P10: minimum yield reached with 90 % probability – recommended basis for critical automations such as grid-charging the battery.

modern/intelligence.js

SFMLWFAI

Weather

Conditions, forecast, radiation and yield

  • Conditions, radiation and yield viewed together.

modern/app.js · pages/weather.js

EAIPremium

Weather forecast

Local forecast, history, accuracy and risks

  • Four weather lenses: WFAI, Hubble, Kepler and weather station.
  • Current readings and what your station actually measured.
  • Weather time travel, year comparison, range and mean.
  • When will the weather change? – clear daily statement and risks.

modern/eai_weather.js

STATS

Energy & Finance

Balance, consumers, tariffs and payback

  • Energy balance and consumers.
  • Tariffs incl. manual monthly prices (0–200 ct/kWh) and payback.

modern/app.js · pages/energy.js

S-INV

S-INV

Inverter live: MPPT, grid, battery

  • Appears only when the solar_forecast_sinv integration is active.
  • Live MPPT, grid and battery values; no estimate during curtailment.
  • Energy-dashboard mapping (admins only).

modern/sinv.js

GPMPremium

Grid prices (GPM)

Tariff, curve and licence status

  • Current tariff, price curve and Grid Price Monitor licence status.

modern/app.js · pages/gpm.js

STATSPremium

Statistics

Figures over any period you choose

  • Figures over any period, export as CSV or ZIP.

modern/statistics.js

STATSPremium

Energy day

Completed days and your own share

  • Daily balances of completed days with hourly values.
  • Energy Story after at least seven completed daily balances.

modern/tomorrow.js

Control

EAIPremium

Heat Pump

Consumption, operation, efficiency and building response

  • Heat-pump demand and PV potential.
  • Value of a better-used PV window.
  • Where does stored heat go? – building response.

modern/eai.js

EAIPremiumAdmin

Heating

Rooms, thermostats and setback while away

  • Visible only when the heating feature is active.
  • Rooms and thermostats; heating season on, otherwise off; setback while away.

modern/heating.js

EAIPremium

E-Mobility & Wallbox

Plan PV, prices, heat-pump demand and departure target together

  • House, heat, reserve and charging share the same PV budget.
  • Cost of the next charge – now or scheduled.

modern/mobility.js

EAIPremiumAdmin

EMS – Programs & Rules

Local energy management, device scheduling and battery charging

  • 7 tabs in EMS: Start, Live, Battery (SMC), Surplus, Price, Programs & Rules, Log.
  • Smart Charge fully integrated: charging decisions, dynamic electricity prices, and battery schedule in the 'Battery (SMC)' tab.
  • Switchable devices (boilers, heating rods, pool pumps) and program devices (washers/dishwashers with 'ready by' scheduling).
  • Flexible conditions: PV surplus, cheapest hours (24 h), price thresholds, time windows, and minimum battery level with priority management.
  • Door recognition for auto-scheduling when closed, dashboard card for all household members, and audit log.
  • 100% local and safe: master switch, manual override precedence (STATS pauses), and failsafe when data is missing.

modern/ems.js · pages/smart_charging.js · i18n/locales.js (ems)

SFML

Hybrid forecast & midday correction (MDC)

What applies, what ran today, and the setting

  • Default: morning forecast, unchanged for the whole day.
  • Optional extra runs: midday 12:00, afternoon 16:00 or custom time; log of today's runs and morning vs. current value.
  • MDC: at 12:30 the last full hour is compared; on a clear deviation (>35 %) the rest of the day is recalculated once.
  • Changes by administrators only.

pages/hybrid.js · i18n/locales.js (hybrid_forecast, mdc)

System

Premium

Corrections

Correct verified daily values

  • Correct a daily value with preview before applying.

modern/corrections.js

STATS

System Status

Configuration, sensors and data quality

  • Configuration, mapped sensors (e.g. meter sensor) and data quality.

pages/settings.js

STATS

Report a defect

Direct channel to the developer

  • Versions and sanitised log excerpts attached automatically – no e-mail, location or credentials.

modern/support.js (sidebar link)

The capabilities in detail

Choose a component. Spotlight features come first, all others below.

The Core

Solar Forecast ML

The local foundation: forecasting, learning, weather intelligence, and validated system data.

Spotlight features

Local 72-hour forecast

Creates hourly solar forecasts for today, tomorrow, and the day after locally on Home Assistant and tailored to the installation.

Today + two daysUp to four panel groups100% local
Learn more
How this feature works

SFML combines solar physics, weather data, system geometry, and measured production into a local digital twin. Up to four panel groups with their own orientation, tilt, and capacity are learned separately and then combined into a robust total forecast.

Typical outputs and signals
  • Forecast today
  • Forecast tomorrow
  • Forecast day after tomorrow
  • Next hour
  • Best production hour
  • Power per panel group

Hybrid forecast

Adds a separate operational track to the unchanged morning forecast and recalculates only the remaining hours of the day.

Challenging installationsFuture hours onlyLearning foundation unchanged
How this feature works

The Hybrid Forecast is intended for challenging installation conditions such as suboptimal module orientations as well as for users whose energy planning needs to respond to significant weather changes during the day. Additional calculations can run either at midday only, at midday and in the afternoon, or at a custom time. Past hours, the original morning forecast, and the learning foundation remain unchanged. This gives SFML both a stable forecast reference and an updated operational view of the remaining day. Every additional calculation runs the Hubble AI stack again and requires additional hardware resources; the regular morning forecast remains the sensible default for most installations.

Typical outputs and signals
  • Hybrid Forecast
  • Hybrid Forecast Status
  • Next scheduled run
  • Last run
  • Hourly operational forecast

Hubble AI stack

Several local methods that arrive at one forecast together – backed by solar physics.

Several methodsLearns your systemPhysics as backstop
How this feature works

Hubble is not a single model. Several methods assess your system from different angles: learned patterns from your own measurements, a weather correction for your location, and solar physics as a fallback. When the methods agree, the forecast follows the learned picture. When they diverge, physics wins – so the forecast stays dependable even in unusual weather.

Typical outputs and signals
  • Active prediction model
  • Hybrid Forecast
  • Hybrid Forecast Status
  • Forecast error
  • Physics data basis
  • Last training

More capabilities

Weather AI & stability

Condenses several weather sources and local measurements into one weather picture for your location.

SFML does not rely on a single weather source. Several sources are combined into one picture for your location, recurring deviations are evened out, and short-term changes in cloud cover are taken into account. Cloud trends, variability, visibility, fog and haze all feed into the assessment.

Typical outputs and signals
  • Cloud trend 1h
  • Cloud trend 3h
  • Weather Stability
  • External Sensors Status
  • Weather diagnostics
Shadows & environment

Learns fixed and seasonally moving shadows along with real effects that generic solar forecasts do not know.

SFML detects recurring shading from trees and buildings, distinguishes low sun from real shadow, and accounts for seasonal changes. Snow, frost, fog, visibility, pollution, and atmospheric characteristics can also be evaluated as context.

Typical outputs and signals
  • Shadow Current
  • Shadow Today
  • Performance Loss Today
  • Shadow hours
  • Peak shadow hour
Data quality & learning protection

Prevents faulty readings, outliers, or unsuitable weather hours from training the local model incorrectly.

SFML checks measurements for plausibility and protects the learning basis from incomplete or technically unusable data. Outliers, snow days, weather warnings and other unreliable hours are left out of learning. If the forecast drifts in one direction over a longer period, it becomes visible.

Typical outputs and signals
  • Evaluation Coverage 7 Day
  • Evaluation Coverage 30 Day
  • Drift status
  • External Sensors Status
  • Data Files Status
Forecast quality & transparency

Shows not only a forecast but also how well and on which data foundation the model is actually operating.

Quality metrics make the development of the local model auditable. SFML exposes average accuracy, yesterday's deviation, RMSE, training status, usable evaluation coverage, and the active prediction model.

Typical outputs and signals
  • Prediction Accuracy 30 Day
  • Yesterday Forecast Deviation
  • AI RMSE
  • AI Status / ML Metrics
  • Active Prediction Model
  • Evaluation Coverage
Diagnostics & Source of Truth

Monitors data, training, and runtime while maintaining validated system production in its own local data layer.

SFML validates panel-group values, integrates power into energy internally, and keeps forecast, actual, and diagnostic data consistent in its local database. System, workflow, file, and coordinator sensors expose health; Repairs notifications flag configuration or data issues.

Typical outputs and signals
  • System Status
  • Coordinator Health
  • Workflow Status
  • Data Files Status
  • Last Update
  • Total Power and Actual Today
MPPT throttling & curtailment

Detects when measured photovoltaic output is technically limited by zero export, a full battery, or inverter clipping.

SFML validates curtailment against weather and radiation plausibility and marks affected hours. This artificially reduced actual output is not learned as genuine system capability and does not distort training or forecast-quality evaluation. The model therefore remains aligned with the photovoltaic system's real potential.

Typical outputs and signals
  • Excluded MPPT Hours 7 Day
  • Excluded MPPT Hours 30 Day
  • Excluded hours
  • Evaluation Coverage
  • Solar-to-battery power
Direct evcc interface

Provides the hourly solar forecast directly in a format evcc can use, without an additional template sensor.

The optional evcc output is enabled in the SFML settings. Home Assistant then exposes a dedicated forecast sensor whose hourly values can be consumed directly by evcc. The interface is disabled by default and activated only when required.

Typical outputs and signals
  • evcc Solar Forecast
View all provided and required sensors

Intelligence supplies signals, you remain in control

SFML, STATS, and EAI can provide forecasts, recommendations, and releasable binary sensors. Direct device actions are created only by deliberately configured Home Assistant automations. Forecasts, cost benefits, and economic projections remain model values and are not guarantees.