The restful API for solar production forecast data and weather forecast data
Powered by PVGIS and various weather services
Currently serving valid locations with planes and MWp.
Served requests with a harmonic mean of ms in the last 24 hours.
API
(All plans)
The always weather based solar production forecast, historic averages and clear sky optimum provides watt powers and kilo watt energy data.(Professional account upwards)
The weather forecast provide sky coverage amount, textual weather condition and icon URL, temperature and some wind information.(Professional account upwards)
If you have controllable loads, you can use this route to determine time windows in which switching processes can be automated based on the forecast.(Professional account upwards)
Draw a daily solar production forecast chart with simple Javascript snippets.Solar production, weather and time windows data are provided for up to 7 days with a resolution of 1 hour down to 15 minutes.
If you then checked the documentation and you like it, register an account for more features.
For the forecast, these 2 data points are mainly used in each case:
- historic irradiation data from PVGIS per plane combined with -
- weather forecast data per location from several weather services -
From the actual weather forecast for the location (with a possible offset because there are not so many stations around), we use e.g. the cloud coverage factor and the temperature forecasts, the cloud coverage is the most important, the temperature is relevant in hot summers when the modules can have > 70 °C which lowers the performance.
The figure shows the areas covered by the Photovoltaic Geographical Information System (PVGIS) solar radiation databases and therefor by Forecast.Solar. With the latest update PVGIS 5.2 almost the entire world is now covered!
The Swagger compatible API definition is available in YAML.
You can easy build and test the required URLs with the Swagger-UI.
https://api.forecast.solar/_your_API_key_/estimate/54.9/25.3/37/0/1
{ "result": { "watts": { "2019-06-22 05:15:00": 17, "2019-06-22 05:30:00": 22, "2019-06-22 05:45:00": 27, ... "2019-06-29 20:15:00": 14, "2019-06-29 20:30:00": 11, "2019-06-29 20:45:00": 7 }, "watt_hours": { "2019-06-22 05:15:00": 0, "2019-06-22 05:30:00": 6, "2019-06-22 05:45:00": 12, ... "2019-06-29 20:15:00": 2545, "2019-06-29 20:30:00": 2548, "2019-06-29 20:45:00": 2550 }, "watt_hours_day": { "2019-06-22": 2626, "2019-06-23": 2918, "2019-06-24": 2526, "2019-06-25": 2866, "2019-06-26": 2892, "2019-06-27": 1900, "2019-06-28": 2199, "2019-06-29": 2550 } }, "message": { "type": "success", "code": 0, "text": "" } }
(Professional account upwards)
Chart for the geographical midpoint of Germany at 51°9'N,10°27'E with a declination of 37°, looking south with 10 kilo watt peak installated.
/chart/0/1442fd2d.js
Without given title or subtitle, no title is printed and the subtitle defaults to date/chart/1/1442fd2d.js?title=Forecast+for+{date}
Title with date placeholder, no subtitle is printedIt is also possible to show charts of the historic average data and the theoretic data for clear sky conditions.
/chart/history/1442fd2d.js?title=Historic+data
Title without date placeholder, subtitle defaults in this case to the date/chart/clearsky/1442fd2d.js?subtitle={place}
No title given but subtitle with placeholderPlease refer to the documentation for details and check also the example page.
The Script URL was build with: https://api.forecast.solar/demo-key/chart/51.15/10.45/37/0/10
With the paid subscription models, all the functions listed below can be explored for 14 days without risk.
If you don't want to use your paid subscription after the exploration period, you can cancel the subscription any time during the exploration period and no costs will be charged.
With a subscription you will have a Self-Service area to see some information about your account and find/reset your API key if needed. (Login is the PayPal subscription Id and your PayPal email address)
After you have subscribed, you will automatically receive 2 emails to the primary email address that is stored at PayPal:
If you do not receive the email from Forecast.Solar promptly, do NOT try to make another subscription, check your SPAM folder! You can also go direct to the Self-Service to find your API key.
Please note:
This works without API key for free, no subscription needed.
(You will not receive an API key for a donation.)
Best for users without loggers to get a quick idea about coming solar production.
Subscription with a valid email required, access with API key, free trial of 14 days.
Provide the same features as the Public API plus:
Best for users with loggers to integrate the data automatic.
Subscribe (14 EUR/year)Subscription with a valid email required, access with API key, free trial of 14 days.
Provide the same features as the Personal API with more detailed data:
Best for users with loggers to integrate more detailed data automatic.
Subscribe (28 EUR/year)Subscription with a valid email required, access with API key, free trial of 14 days.
Provide the same features as the Personal Plus API plus:
Best for business users with more than one plant and/or loggers to integrate the data automatic.
Subscribe (70 EUR/year)Subscription with a valid email required, access with API key, free trial of 14 days.
Provide the same features as the Professional API plus:
To scale your business according to your growth (e.g. when you reach the rate limits with a Professional Plus subscription), we recommend that you gradually take out additional subscriptions and simply distribute your API calls across multiple API keys accordingly.
Please also get in touch so that we can get an impression of your requirements.
It is not allowed to share the API key with e.g. clients of your product! (It will also not work because of the rate limits for the API key.)
If you are developing an APP that will be delivered to customers in any way, the following setup is suggested:
There are also some notes for developers in the documentation.
Home assistant is an open source home automation that puts local control and privacy first.
The integration was introduced in Home Assistant 2021.7Solectrus is an alternative photovoltaic dashboard that visualises the yield and consumption of a PV system.
Available on Github.
The Python Package Index (PyPI) is a repository of software for the Python programming language.
Asynchronous Python client for getting solar forecast information.KNX
KNX - the intelligent standard for building
The logic module Forecast Solar provides a forecast of the PV yield of a specific site (E5 & E6).
EisBaer is a multi-protocol gateway visualization for creating intelligent, efficient and safe buildings.
Less energy consumption for more sustainable buildings and therefore lower operating costs. (Handbook)
my4e is the unofficial app for E3/DC home power stations, exclusively for iOS and WatchOS
With my4E, you can view current and historical performance data from your E3/DC home power plant easily, quickly and in detail on your iPhone or iPad, create diagrams and export data.
IP-Symcon - SMARTHOME WITHOUT COMPROMISES
For homeowners, corporations, and integrators - Design your building completely by your imagination. A smart software for your hardware. (Module on Github)
Node-RED
is a programming tool for wiring together hardware devices,
APIs and online services in new and interesting ways.
Forecast.solar API call to analyse and display solar forecast in Home Assistant
Hubitat
- The Home Automation As It Was Meant To Be
Hubitat driver to retrieve a solar production estimate using the public API from forecast.solar
Homey
Homey - The world's most advanced smart home platform.
Use the Solar Forecast App (Pro) to switch on electric appliances or charge a car or battery based on the forecast solar power, to maximize self-consumption.
With the increasing share of photovoltaics in the electricity market, the importance of Solar energy forecasts. These are an important tool for the integration of Solar power into existing network structures.
The production of solar power is dependent on external influences on which man has no or only limited influence. For example, Season, time of day, weather (eg ambient temperature, sun/clouds, air turbidity).
A solar day covers the global energy supply for eight years.
Predictions about the availability of solar-generated electricity in the future support private power management, but are of great importance, above all, for commercial solar power generators and network operators.