@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.
wh_period is actually a bit different, it takes the average over a 15 minute period and then provides an estimate for Wh over an hour. The reason why I’m not returning data at 15 minute intervals for both is for compatibility with the old Solcast integration.
I don’t care, I was under the impression that people want the hourly data to do things they did with Solcast integration but if it doesn’t matter I could just… not do that.
Besides the ApexCharts thing, is there another use for these sensor attributes? If I return 15min data for wh_period, will it cause breakages?
What a great job by Rany - thanks to him we are nearly there with a complete (and better) Solcast replacement !
Unfortunately, I have east/west PV arrays, so at the moment I have to use 2 instances of Open-Meteo solar forecasts.
I would like these combined into ONE display on the Apexcharts graph.
I am a complete novice when it comes to Javascript - anyone happy to supply the data generator code for the addition of the 2 arrays ?
Thanks
I’m planning to provide some option to handle this configuration. The biggest hurdle for this is the config flow system in Home Assistant. I think in the worst case, I could allow it via configuration.yaml easily.