-
In previous versions any change to dampening factors was very quickly reflected in all solcast forecast data, but latest versions don't seem to behave in the same way. To Reproduce
Logs don't seem to help much as it just records the service call with no extra info. Noticed in 4.0.31 and 4.0.30, tried 4.0.27 which seemed to behave as expected |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 11 replies
-
Had a bit of time to explore this today and think I may have identified the source of the issue, but I'm not sure if my simple fix is valid. In the update from 4.0.27 I found this commit: Specifically I edited my local copy of init.py and undid the change at 292:293/291:300 so I'm assuming the code to detect if an item has been changed wasn't detecting changes to the dampening settings. Not sure if this the actual cause or how to correct the new code, but for now it seems the forecasts (and calls to query_forecast_data) are responding to dampening changes again. Could someone who actually knows what they're doing take a look please? |
Beta Was this translation helpful? Give feedback.
-
That was part of the change made to incorporate the "lost" Oziee v4.0.23 changes. I'm beginning to wish they had remained lost. Maybe Oziee didn't think through the broader impact. I already have one merge and a draft release prepared covering another of these lost v4.0.23 changes that broke long term statistics for forecast history, which will likely be released unless a reason can be found not to. (Have you lost forecast LTS, @Nilogax?) So I throw the floor open to opinion. Should this modification to only reload on config change also be reverted? At the very least the potantial for impact needs to be further investigated by someone. |
Beta Was this translation helpful? Give feedback.
-
Converted to a discussion. Anybody willing to take a look at this? |
Beta Was this translation helpful? Give feedback.
-
Okay. Might I throw a possible change out there? Essentially remove DAMP_FACTOR from the equation. The others make sense in this circumstance, given they are likely only ever updated in a manual config change. I cannot imagine that dampening factor ever would get updated manually given how the earth tilts, making fixed values meaningless.
In
|
Beta Was this translation helpful? Give feedback.
-
@autoSteve Seems my forecast history matches my HA purge setting rather than showing any long term statistics. |
Beta Was this translation helpful? Give feedback.
-
What say you, @Nilogax? Has reverting Oziee's change to the config reload done the trick for dampening? I'm fixing to roll that back in a commit. |
Beta Was this translation helpful? Give feedback.
Revised to suggest target 4.0.33 for this, in conjunction with the performance improvements, which will go beta for a time. PR #55 set to review.