For me the forecasts are also much better now - looks really good.
The only thing missing is the ability to produce nice plots using ApexCharts - similar to the ones shown in the Dashboard.
With SolCast I plotted the forecast for today and tomorrow into the same chart, overlaying the Tibber prices. Would be fantastic if this was also possible with this integration.
i think somebody else wrote this further above. To produce these plots we need more finegrained forecasts (at least per hour I guess) that can be combined into a time series and plotted. In SolCast I had
- entity: sensor.solcast_pv_forecast_forecast_today
unit: kWh
yaxis_id: yield
type: line
name: Today
color: darkgray
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;
Thatās all that was needed for that.
EDIT: Although the data should be there already - the Energy Dashboard already produces nice plots after all. So we only need sample code like the above for how to do it.
@andreas-bulling I am sorry if this is low-quality (I never used ApexCharts before and only installed it to help you out), but this seems to work fine:
Iām surprised I havenāt heard of ApexCharts before, the graphs look REALLY good. (P.S. replace wh_period with watts to get 15-min power values instead).
Iāll also use the watts attribute instead of wh_period in the README, I prefer to get the 15min data because the graph looks more smooth this way (and more information is always nice).
Is the difference between these two only the temporal resolution? Then I suggest a change in name - Wh denotes energy, W denotes power. These are two different things.
Wh_period attribute seems to be Wh generated in one hour, which is naturally the same value as the average W during that hour.I think the author of this integration is very well aware of the difference between the two units .
I started using this integration a couple days ago and I still canāt believe how incredibly accurate it is. I was going to ask about having the inverter limit in there, but it was just added, perfect.
Now the only thing thatās causing noticeable differences between the forecast and my actual production is there overvoltage protection disabling the inverter, sadly this happens here regularly, especially during peak production. But that canāt really be estimated without a different source of data for the expected power demand and production in my area.
The name is different though, the attribute is called āwattsā and is power at instant. Itās a bit confusing because the data is taken from an energy sensor, though.