v4.4 #339
Replies: 19 comments 74 replies
-
v4.4.2 What's Changed?
Full Changelog: v4.4.1...v4.4.2 For automated dampening, Enphase Envoy users were impacted by a bug in the code that prevented PV generation being correctly measured. Other inverters may also have been affected. Thanks for the great bug report, @rcode6. |
Beta Was this translation helpful? Give feedback.
-
|
Back in the "old days" there was a separate discussion thread for each BJReplay Solcast integration release, major or minor. And this was good back in the day, mostly because BJ and I still had our "training wheels" on in terms of the integration code, and the code was nowhere near as robust, nor as well tested. The training wheels are well left behind, now. I am switching to the use of just one discussion topic for each significant release, because minor releases are going to be just that. Bug fixes and minor enhancements to existing capability, mostly. So this discussion topic will hang around until someone comes up with a banger of a feature that will result in a v4.bump from v4.4. One topic will also increase the reach of repeat participation, and I rate that for a community-led bit of code. The code is the result of community experience and desire, need and want, and subsequent contribution. It doesn't make itself. I reckon that automated dampening was a significant step forward in terms of evolution, and so that is why v4.3.x became v4.4. It wasn't about fixing something, rather about delivering a new and brilliant thing. So place experiences here. Put your "suggestions box" things here. Love y'all. 😘 @BJReplay, @brilthor, @dtswk, @EddieSpaghettie, @ffm777, @gcoan, @hwb45, @iainfogg, @isorin, @jeffb1974, @ladaan, @Markyt77, @Nilogax, @Noodleyman, @ProphetOfDoom, @rcode6, @rholligan, @sh00t2kill, @wimdebruyn |
Beta Was this translation helpful? Give feedback.
-
|
Loving auto-dampen as a relatively new user. I got started with v4.4.0 after finding out about this. I have a gigantic tree that shades my panels at 1pm, and then a hill/more trees around 4pm onwards that make my generation curve drop off like a cliff. When I first installed, my pv generation sensor was in MWh, so I had to create a kWh template sensor and didn't have any history. It also happened to be overcast nearly the entire first week I had it. It still picked up the end-of-day dampening perfectly after a few days, which was impressive, but couldn't capture the mid-day shading. I just figured it needed more time. Updated to v4.4.1 and v4.4.2 asap so I could swap to my MWh sensor with more history. Glad to report that it looks like it's picking up the mid-day shading which was missing before, at least according to Thanks for the great work! |
Beta Was this translation helpful? Give feedback.
-
|
Unusual azimuth warning .... (continuing the discussion) I know we have discussed this several times and together updated the wording, but having now upgraded to 4.4.1 and 4.4.2 (I could see bug fixes coming through so hung back on going to 4.4.0), and I get an unusual Azimuth warning, and having now received it, have some feedback on it ... In my logfile I see: And the warning I get in HA is: I know all the reasons for why the validation is being done, and I agree with it, I'm questioning whether this is being too zealous and think the readme isn't quite correct. In the readme it says "A Solcast configuration of roof aligned North/North-East/North-West in the northern hemisphere or South/South-East/South-West in the southern hemisphere is considered to be possibly unusual because these orientations are not directly facing the sun at any time." My roof with an azimuth of 80 has been classified as North facing - its not, I'd call it East facing, or East/North-East. Per the readme "is not directly facing the sun at any time" - this isn't correct If I go to https://www.sunpathview.com/ and put my address in I get the following sun path, yellow and blue being summer and winter solstice and green being mid August which is well past the peak generation in June. My house is highlighted with the arrow and as you can see faces almost due East with a slight Northern component so I'm pretty confident as to the azimuth 80. So maybe the readme needs to be less "doesn't face directly to sun" and be more "not an optimal orientation for best solar generation". As I might have said before, the roof is what it is, I can't move it. And even North facing roofs can generate useful solar. Second point I wanted to make is that the advice about the azimuth warning is not at all obvious in the readme. It doesn't appear in the table of contents nor in the troubleshooting section which is where people might look for it if they encounter it. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Feature Request: use My mid-day shading has started picking up on some dampening, but is not quite enough. Looked into one of the intervals, and I believe it's because using max on the matching intervals always ends up picking the oldest value. The following intervals also all have the same estimated actual of 3.190. If you look at the matching intervals, my production during it is going down each day in a pretty stable trend. Using max in this case always chooses the oldest data. Using the average would end up being closer and more responsive to changing trends, and I think would still deal with noise relatively well. EDIT: or maybe calc the generation/estimated actual individually for each of the matching intervals, then average that? EDIT: liking median more now. as said below, early days though, will think on this and gather more data. |
Beta Was this translation helpful? Give feedback.
-
|
A different topic. I think its out there, and to save me rolling my own (and yes I did look in templates.md), does anyone have the Apex chart code for a chart that shows undampened solar forecast alongside the dampened forecast for today? And not wanting to split the conversation any more, but I did start a thread a couple of days ago on unusual azimuth given I too get the warning. And yes I know I can ignore it, but I have questions/concerns about it. Less urgent than the other discussions so maybe park it, but wanted to flag its existence |
Beta Was this translation helpful? Give feedback.
-
v4.4.3 What's Different?Up to fourteen days of forecast data. (And more improved!) Ignore this. The forecast will be updated in the near future. When it updates, either on schedule or automatically that warning will disappear... You won't need to do anything in the UI. Just wait. There is also a mlnimum HA version bump. We need to keep up with that bacause deprecated things will go away. What's Changed?
Full Changelog: v4.4.2...v4.4.3 New Contributors
|
Beta Was this translation helpful? Give feedback.
-
|
Much fours in the version. Unlucky for some cultures, but there be fixes within! v4.4.4 What's Changed?
New Contributors
Daylight time adjusted interval: @autoSteve broke it, @rcode6 pointed out exactly where it was broken. Remove and suppress ignored unusual azimuth: This warning raised as an issue should remain ignored for all time once ignored once, but that has not been happening. This 'fix' makes it so, and permanent unless you hack the sites cache to want it to come back. 🙄 Full Changelog: v4.4.3...v4.4.4 |
Beta Was this translation helpful? Give feedback.
-
v4.4.5 What's Changed?Warning What's Changed?
Europe/Dublin: It turns out that the Irish are special of time zone... Fixed. Auto-dampen changes: These are mostly changes to accommodate the idiosyncrasies of various PV generation sensor variants, and also ignore a sample size of "one". Auto-dampen NEW!Auto-dampen needs reliable generation data. To that end, people exposed to wholesale energy market pricing going negative and therefore preventing export, or those who are not allowed to export at all are now covered by an advanced "generation suppression" entity. Full Changelog: v4.4.4...v4.4.5 |
Beta Was this translation helpful? Give feedback.
-
v4.4.6 What's Changed?Just a couple of bug fixes.
Full Changelog: v4.4.5...v4.4.6 |
Beta Was this translation helpful? Give feedback.
-
v4.4.7 What's Changed?
Add advanced options configuration I'm a bit excited about the potential that this feature can bring. It allows modification of code execution by setting defined advanced options according to preference or circumstance. Do you want automated dampening modelling over ten days and not fourteen, or ignore as "insignificant" any factor over 0.90 instead of 0.95? You can now set that up. See the documentation at Advanced options. You could even roll your own modifiable thing as a new advanced option, and submit it as a PR. Full Changelog: v4.4.6...v4.4.7 |
Beta Was this translation helpful? Give feedback.
-
|
I tested an edge case for you yesterday, my lowest ever (since my panels were installed in January 2023) generation, 0.69kWh. It rained all day. You can see the 0.1kWh granularity of my power now sensor Pleased to say that the integration handled the non-generation without complaint: I like the extra debugging information on the entity details in case the wrong one had been chosen. Solcast has been unhappy all morning, returning 429's at each attempt to get data. Logging from the estimated actuals update: The 429's I'm fine with, but the "No valid data was returned for estimated_actuals so this may cause issues" - what does this mean, have I got problems, have I not, does the estimated actuals pickup two days tomorrow or does it just skip this day in calculating the dampening factors? I don't mind either way but the "may cause issues" is a bit vague and cause for concern. As ever, brilliant work, just suggestions for improvement |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
v4.4.8 What's Changed?A small but "hefty-in-places" patch release.
API failure bolstering A recent 'Solcast API availability' incident (and the turmoil that ensued) highlighted the need for both proactive and reactive improvements. Most notable, is that when ten consecutive It may be called a "repair", but nothing about this situation is repairable. Do not try to repair that which is un-repairable. The best you can do is to report this to Solcast (respectfully, because you don't pay them). This issue will be removed once the API is again available, but you can ignore it if desired. Just don't personally ignore the instruction. Do nothing. If you don't press 'Ignore' then you'll know when things have returned to normal because this 'repair' will be removed. Move all cache and configuration files to There should be no impact felt from this change. The 👀 Writing a granular dampening file at the legacy location will work until 1 June 2026, and dampening files written there will be moved to the new config location automatically. A warning will be logged. We are not aware of any users writing to the If you have anything else called Ignore adjusted automated dampening factors above 'insignificant' threshold In prior releases any automated dampening "base" factor above 0.95 was ignored. Delta-logarithmic adjustment might then push a lower modelled base factor above 0.95. This change ensures that adjusted factors are similarly ignored when they exceed 0.95 after adjustment. (Advanced options are now available to allow modification of the thresholds.) Add more advanced options Additional advanced options have been added to enable tweaking of various aspects of automated dampening, estimated actuals, and more. If a "tweak" is generaly accepted as the right thing to do, then the default model parameters will be shifted, so keep experience reports coming in discussions. (To state the obvious, experiences shared must not be issue reports). To the above point, advanced options configuration has been moved to Attribute consistency as local time zone All Full Changelog: v4.4.7...v4.4.8 |
Beta Was this translation helpful? Give feedback.
-
|
Hi @autoSteve I just upgraded to 4.4.8, I did take a copy of all my solcast files first, and a HA backup given some people had had wobbles, but I shouldn't have worried, your code was rock solid and moved all the .json files (and left behind a solcast-generation.txt file I had created a while ago). Sites cache is checked, integration API's to solcast to download the sites file which I am slightly confused as to why it did it (but not overly perturbed): JSON files upgraded from v7 to v8 then the dampening process runs tomorrow's forecast times are worked out and then the bit that confuses me, it starts an estimated actuals run, making the API calls to Solcast to retrieve the estimated actuals. It confuses me that it makes these calls now not after midnight, and I am surprised that they even worked given I am out of API calls today. Here's those lines of the log: I had set an estimated actuals delay in the advanced options file, but only for 20 minutes: |
Beta Was this translation helpful? Give feedback.
-
v4.4.9 What's Changed?
Full Changelog: v4.4.8...v4.4.9 See the advanced options documentation for details about new options. Thanks for these additions, @Nilogax. And thanks for the new example chart, @gcoan, where dampened and undampened forcasts are drawn together. Several messages are now translated, most notably for exceptions to normal startup. Some fixes for minor bugs are also included. |
Beta Was this translation helpful? Give feedback.
-
|
Gotta be quick...
|
Beta Was this translation helpful? Give feedback.
-
|
🎅🏼🦌 🥳🎊 🕎✡️ Happy v4.4.10 What's Changed?
Zero length This catches situations where a cache file on reload is found to be zero length. These files are now deleted automatically, and the integration should complete startup successfully, but probably using more API calls than normal (which will almost certainly cause API quota exhaustion issues if a zero length cache is encountered). If the file noted is Restore this file from backup (if you have it) then reload, or decide to move on as is, with history lost. Report instances of this occuring in a discussion (we would like to hear about it happening, and explore the reason why), but please do not raise a code issue if it occurs. It was an issue for your install, which now automatically gets fixed; the integration cannot read a zero-length cache. Add granular dampening delta adjustment If doing roll-your-own granular dampening, then the same log/exp dampening adjustments can be applied to your factors too. You need to be acquiring estimated actuals for this to work. Advanced option rename, deprecation, error situations Some advanced options have been renamed, and these are flagged in issues raised in HA. When format/option issues occurred in the past the logs needed to be viewed to work out what had gone wrong. These issues are now called out instantly using Home Assistant issues raised in the GUI. Full Changelog: v4.4.9...v4.4.10 |
Beta Was this translation helpful? Give feedback.
















Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Warning⚠️ 👀
If you are upgrading from a version earlier than v4.4.3, an issue will be raised in the Home Assistant interface on upgrade, saying that future forecast data is not available, yet should be. This is because the integration now fetches up to 14 days of forecast data.
Ignore this issue. Just click on the big "X" in the corner.
If you are prompted to turn on Automatic updates, but have your own automations running, just close the issue using the "X" in the corner.
The forecast will be updated in the near future on your next automation run, or the integration's own automatic update. When it updates, either on schedule or automatically that warning will disappear... You won't need to do anything in the UI. Just wait.
v4.4.1 What's changed?
Full Changelog: v4.4.0...v4.4.1
There were a couple of eye-twitches with auto-dampening. Most notably the selection of a single generation match for multiple "best" case intervals. This is now a majority, and I think it much more in keeping with the original design spec.
Generation sensors occasionally "go away", and this is now handled.
It's better.
There are automatic unit-of-measure adjustments. There are documentation improvements. There is a shiny new example thanks to @Nilogax.
Any and all feedback is most welcome.
Beta Was this translation helpful? Give feedback.
All reactions