Hi all, I’m trying to replace my Solcast integration with this and while the data looks fine, I’m struggling to work out how to extract the half-hourly forecasts for my apexcharts-card graph. Here’s the code I’m using currently for Solcast:
data_generator: |
var today = entity.attributes.detailedForecast.map((start, index) => {
return [new Date(start["period_start"]).getTime(), entity.attributes.detailedForecast[index]["pv_estimate"]];
});
var data = today
return data;
Obviously this integration doesn’t have a detailedForecast section in the forecast attributes, so how do I extract the correct data for the graph?
Hello,
I also had the problem of the slow Apex card. I then created a horizontal stack and divided the Apex charts into today and tomorrow. Made it a little nicer for my wife and the washing machine. You have to set the threshold for yourself. My Apex chart card is here.
I no longer have any delay.
You could probably display a whole week like this.
Greetings
Rainer
So far, the predicted solar from this integration is way too high compared to what my panels are generating (e.g. today is still 32 kWh predicted, actual will be ~23 kWh), and way higher than the Solcast integration predicted. Is this common? I set it up with identical settings to Solcast.
Ah well my Solcast azimuth is 155, which I think means I need 205 for this integration? I changed it to 205 and the predicted solar actually went up by 2.5 kWh…
this has been raised/flagged anecdotally before and rany has made a suggestion to change the Integration to allow him check this out…not sure anyone replied or took him up so maybe you want to get involved…
For the “today” value i am more or less happy the value from this addon. Mostly they are not farther away than 4% (at an 140kWh energy production)
Do not forget this is a forecast, even weather forecasts (temperature/precipitation) only have a probability between 70-90% for the next 24h.
Which had confused me first, was that this addon and solcast have different names for the sensors for the days after tomorrow.
Solcast uses like “sensor.solcast_pv_forecast_prognose_tag_3” while this addon uses “sensor.owsun_fc_energy_d2” for the 3rd forcasted day.
I have some changes I’ll make public that should improve the accuracy further, and thanks for the comparison with Solcast. Right now they’re just a WIP, most likely I’ll dump it with the multiple PV array changes.
Maybe I’m misunderstanding but your algorithm looks wrong. The description on the Solcast website:
The direction on the horizon the PV modules are facing, expressed in degrees. Values must be between -180 and 180. 0 is north, 180 is south. Eastward facing = negative values. Westward facing = positive values. For example, -90 is due east.
So for me (25 degrees west of south), I had to use 180-25 = 155. This open-meteo integration says:
The biggest factor for solar production where I live (other than time of year) is cloud cover. Does this integration take this into account in forecasts?
Please switch back to the mainstream/flagship Open-Meteo API server: https://api.open-meteo.com. I am planning to make my instance non-public in the near future. I believe that the rate-limit issue is solved with version 0.1.11 (06/11/24).
Usually my “current hour” estimate ends up higher than the “remaining today” estimate in the evening, which clearly isn’t right. Anyone else have this? Maybe I’m misunderstanding and “remaining today” doesn’t include the current hour?
Cool, knowing that means my “slightly more accurate remaining solar” sensor actually works now. Not much cloud cover today so the estimate is looking good: