Technical article · Home Assistant · Photovoltaics

Solar forecast in Home Assistant: which service, which setting

Anyone who wants to plan battery, wallbox or immersion heater around the sun needs an idea of what the roof will deliver tomorrow. Home Assistant includes one integration for this, two more come via HACS. The differences lie less in the maths than in resolution, request limits and terms of use – and in one detail that regularly goes wrong: the orientation of the roof. Each service counts it differently.

Built in
Forecast.Solar: without an account one roof plane, hourly values, hourly updates
Via HACS
Solcast (free hobbyist account), Open-Meteo Solar Forecast
Most common mistake
azimuth in another service's convention
Use
forecast in the Energy dashboard, in automations and in EMHASS
Status
October 2026 · primary sources below, with the date each was checked
Author
Julian Haag, state-certified electrical engineering technician

The essentials in one minute

Three services compared

All three estimate what the system will produce from location, orientation and module power plus weather data. Forecast.Solar combines this with historical averages from the EU's photovoltaic information system PVGIS, Open-Meteo Solar Forecast converts Open-Meteo's weather forecast into power. Besides the forecast, Solcast supplies estimated actuals calculated afterwards from observed conditions.

PV forecasts for Home Assistant with free access
Forecast.SolarSolcastOpen-Meteo Solar Forecast
In Home Assistantbuilt invia HACSvia HACS
Accountnone neededhobbyist account, own residence only, non-commercialnone needed, free for non-commercial use only
Roof planes1up to 2 orientationsseveral
Resolution1 hour30 minutes–
Horizontoday and tomorrowseveral days–
Requests12 per 60 minutes and IP; the integration polls hourly10 a day (new accounts)under 10,000 a day
Special featuresdamping in the morning and evening, inverter sizethree scenarios (10 %, 50 %, 90 %), damping from your own measurementshorizon profile, inverter per plane, trackers

A dash means: not stated in the documentation. Paid Forecast.Solar plans raise resolution, horizon and number of planes; prices are on the service's website.

Setting up Forecast.Solar

The integration is added under Settings › Devices & services and asks for four things:

The integration then creates these sensors, among others: estimated production today, for the rest of the day and tomorrow, for the current and the next hour, estimated power now and the time of the highest power today and tomorrow. Power forecasts for 1, 12 and 24 hours ahead also exist but are disabled by default. Without an account the forecast updates hourly, with an API key every 30 minutes.

The azimuth: four conventions for the same roof

This is where the most common mistake happens, and it is hard to spot because the forecast does not look obviously wrong afterwards. The services count compass direction differently, and anyone who carries a guide for one service over to another turns their roof.

Azimuth in degrees by service
Roof facesHome Assistant: Forecast.Solar, Open-Meteo Solar Forecast, EMHASSForecast.Solar APISolcast
South1800−180
South-west22545135
West2709090
South-east135−45−135
East90−90−90
North0±1800
Azimuth: the same roof orientation in three conventions A compass with north at the top. Each direction carries three values: Home Assistant, Forecast.Solar API, Solcast. North 0, plus or minus 180, 0. East 90, minus 90, minus 90. South-east 135, minus 45, minus 135. South 180, 0, minus 180. South-west 225, 45, 135. West 270, 90, 90. North 0 · ±180 · 0 South 180 · 0 · −180 East 90 · −90 · −90 West 270 · 90 · 90 South-east 135 · −45 · −135 South-west 225 · 45 · 135 Order for each direction: 1. Home Assistant (Forecast.Solar, Open-Meteo, EMHASS) 2. Forecast.Solar API 3. Solcast
The values from the table as a compass. Anyone who carries instructions over from one service to another has to convert the number; otherwise the roof points somewhere else in the forecast.

So Home Assistant's Forecast.Solar integration counts differently from the interface of the very service it queries; anyone entering the values directly in the interface uses Home Assistant's convention. Solcast values, on the other hand, are not entered in Home Assistant but in the Solcast account. The developers of the Solcast integration warn that an orientation entered the wrong way shifts the forecast “possibly by up to an hour during the day”.

East-west roofs and several planes

In all three services, a plane is a group of modules with the same orientation. An east-west roof is therefore two planes, and that is where Forecast.Solar's free access fails: it allows only one. With an API key the integration takes up to four planes and combines them into one set of sensors, optionally capped at the inverter's power. How many planes an account allows depends on the plan, according to Forecast.Solar: two with Personal Plus, three with Professional, four from Professional Plus.

Solcast allows two orientations at the same location in the hobbyist account, which covers east and west. Open-Meteo Solar Forecast supports several planes and either one shared inverter for all or a separate one per plane.

Fine-tuning the forecast

No forecast knows about the tree that shades half the roof in the morning. The services offer different adjustments for this. If you only want a rough idea beforehand of what an array brings per year at a given orientation and tilt, the solar panel output calculator on xmoo.app gives an estimate (PVGIS data).

How to see whether a change helped: the Energy dashboard can overlay forecast and actual production. The Forecast.Solar documentation recommends exactly that – adjusting damping step by step based on the comparison.

Using the forecast

In the Energy dashboard

Under Settings › Dashboards › Energy, open the configured solar system, turn on the production forecast option and select the service. The solar production graph then shows both. How the solar system itself gets into the Energy dashboard is covered in Energy dashboard with the Shelly Pro 3EM.

In automations

The sensors can be used like any other value. An example: check in the evening whether little sun is expected tomorrow, and if so allow the battery to charge from the grid. The helper input_boolean.grid_charging_allowed stands for whatever your own battery control evaluates:

alias: "Little sun tomorrow: allow grid charging"
triggers:
  - trigger: time
    at: "22:00:00"
conditions:
  - condition: numeric_state
    entity_id: sensor.energy_production_tomorrow
    below: 5
actions:
  - action: input_boolean.turn_on
    target:
      entity_id: input_boolean.grid_charging_allowed

The 5 kWh threshold is a placeholder and depends on system, battery and consumption. Whether grid charging pays off at all is decided by the price calculation in Battery arbitrage: the calculation, which also explains why a cycle from the grid is missing for the solar surplus. The control itself is covered in Controlling a home battery with Home Assistant and Charging Victron ESS on spot prices. The same pattern applies to wallbox and hot water, see Charging your EV from solar surplus and PV surplus into hot water.

In EMHASS

EMHASS needs a production forecast for its schedule and fetches it itself: by default from Open-Meteo's weather forecast, optionally from Solcast, from Forecast.Solar's free access or from a CSV file. With Solcast, EMHASS can weight between the central and the cautious scenario. Why setting up EMHASS is still the real hurdle is covered in Setting up EMHASS.

Limits

Frequently asked questions

Which PV forecast is built into Home Assistant?

Forecast.Solar, since version 2021.7. Without an account it provides a forecast for one roof plane, for today and tomorrow in hourly values, and updates every hour. Solcast and Open-Meteo Solar Forecast come as add-on integrations via HACS.

Which azimuth do I enter for a south-facing roof?

That depends on the service. In Home Assistant's Forecast.Solar integration, in Open-Meteo Solar Forecast and in EMHASS, south is 180 degrees. The Forecast.Solar programming interface counts south as 0 degrees, Solcast as minus 180 degrees. West is 90 degrees there, 270 degrees in Home Assistant.

Is Solcast free for Home Assistant?

For your own system at home, yes. The free offer covers one location with up to two orientations and 10 requests per day, for private, non-commercial use only. Solcast checks that the location is a residence. The Home Assistant integration comes via HACS.

Can I model an east-west roof with Forecast.Solar?

With free access, only one roof plane. Several planes need an account: according to Forecast.Solar, two from Personal Plus and four from Professional Plus. The Home Assistant integration takes up to four planes and combines them into one set of sensors. Solcast allows two orientations in the free hobbyist account.

How do I show the PV forecast in the Energy dashboard?

Under Settings, Dashboards, Energy, open the configured solar system, turn on the production forecast option and select the forecast service. The solar production graph then shows forecast and actual production on top of each other.

How accurate is a PV forecast?

There is no fixed figure. The forecast is based on weather and reference data, not on your own measurement, and never matches exactly. How well it fits your system is shown by comparing it in the Energy dashboard over a few weeks; orientation, damping and inverter size can then be adjusted.

Sources

All statements come from the documentation of Home Assistant, the forecast services and the integrations, each with the date it was checked.

Integrations and service plans change. The current documentation of the providers is what counts.

You want to control battery, wallbox or hot water by the PV forecast and do not know which service suits your system? I can set it up with you – the first conversation is free.