core
core copied to clipboard
Forecast.solar incorrectly plotted one hour to the right
The problem
When entering in custom values (azimuth, elevation, etc), forecast doesn't line up. Found data incorrectly plotted one hour to the right.
What version of Home Assistant Core has the issue?
2022.6.7
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
forecast.solar
Link to integration documentation on our website
https://www.home-assistant.io/integrations/forecast_solar
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
Opened a thread and someone else did a ton of work to prove that the forecast is wrong. Please see link:
https://community.home-assistant.io/t/cant-get-forecast-solar-forecast-to-line-up-with-my-production/432205/4
forecast_solar documentation forecast_solar source (message by IssueLinks)
Hey there @klaasnicolaas, @frenck, mind taking a look at this issue as it has been labeled with an integration (forecast_solar) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
Let's keep the discussion in the forum 😉
Trying to report an issue - isn't this the appropriate place?
Yes, this is the place for integration issues. But since there's quite a history on the forum already, I think that's a more suitable place to respond as a dev, instead of moving the discussion to here.
Ok copy that, glad you're involved there too.
Any update in this issue?
Currently I have a proper setup but the forecast graph is shifted around 4h to the right:

An offset of 4 hours is very strange, maybe you can make 2 outputs of the data (from the API and diagnostics in the HA integration) what's also happening on the forum right now. So that we can better check where this could go wrong.
I found my issue. My azimute was wrong. My panels are facing SE but my azimute was SW (it was 225 and should be 135). Very easy to confuse if you don't have a compass rose at hand while checking the azimute.
After changing to the correct value, the forecast magically fit the production:

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.