Solcast PV forecast stopped working!

19 comments started 2023-07-12 last 2023-07-15
GivEnergy ProductsHybridBattery
J
#1 J1m

It's been working fine for a month, then suddenly yesterday there were no readings. I tried regenerating the API key but still nothing.

Any ideas please?

#2 Cdent

J1m do you also have Solcast in the GE portal and are you hitting the 10 API call limit?

J
#3 J1m

Cdent
Thanks for helping again! I've never bothered entering the api Key and Site ID in the GE portal, interestingly though when I enter these and submit an error pops up which is hidden behind the menu bar and I can't read it! I've double checked the ID and Key though and they are still correct onthe Solcast Site. The Solcast site does have a warning that I'm over the 10 call limit, but it's supposed to reset every 24 hours?

#4 Cdent

J1m odd, yes the 10 limit is supposed to reset every 24 hours.

How often do you call Solcast? Mine is only set to update every hour between sunrise and sunset, could yours be using all the calls early on in the day?

Otherwise I'm not sure how to see if there's an issue with Solcast itself

J
#5 J1m

In all honesty I haven't set any automations up or set any call frequency. I just added the HA integration, added the ID and API key and it just worked, and had been fine for the last 3 or 4 weeks since I set it up until yesterday...

If you could quickly describe how you have yours set up please, I could try that?

#6 Cdent

J1m I can do you one better, here's the YAML for my automation:

alias: New API call Solcast
description: ""
trigger:

  • platform: time_pattern
    hours: "1"
    minutes: "0"
    seconds: "0"
    condition:
  • condition: sun
    before: sunset
    after: sunrise
    action:
  • service: solcast_solar.update_forecasts
    data: {}
    mode: single

Give that a try and disable any auto updates (if there are any), hopefully that might work

J
#7 J1m

Cdent That's brilliant! Many thanks, will give that a go! 👍

Right, I've set that up. Expect I shall have to wait until tomorrow now to see if it works. Just checking, viewing the automation in the visual editor the trigger reads ...Trigger on the 0th second of the 0th minute of the 1st hour...is that correct?

#8 Cdent

J1m hmm odd, it should be every 1 hour, I missed a slash before the 1!

J
#9 J1m

Cdent That looks better, many thanks!

#10 Cdent

J1m don't forget to untick the auto poll box on the Solcast configuration screen

J
#11 J1m

Cdent Yes, I did do that thanks 😊

J
#12 J1m

J1m
Just to update, I've still go no data. HA shows it has polled twice so far today, yet the API toolkit site still reports I've exceeded my 10 API requests in 24 hours. I've sent them a couple of chat messages but haven't heard back yet...

#13 Cdent

J1m very strange, something is using those API calls and very quickly

D
#14 deepanshus

J1m have you added the same key in the GivEnergy dashboard as well? if so, then it will use up your free calls very quickly.

J
#15 J1m

Cdent
Will update if I hear back from them!

J
#16 J1m

deepanshus
I did originally have the solar forecast option set in GivTCP (if that's the one you mean) but switched it off when @Cdent advised about the 25% SOC limit that was set as default, which was why my battery wasn't charging much overnight.
Having said that solar forecasts had been working without issue for a month or so up to a few days ago, without any settings changes...

D
#17 deepanshus

J1m what i would recommend is, generate a new API Key in solcast and use that one in HA Integration. I did the same as i would not trust the dashboard.

#18 miffy

I'm having trouble with the GE dashboard recently making TWO api calls to Solcast, even though I've only one Resource ID listed on the GE dashboard and therefore it should only make one api call. I changed my Solcast api key the other day, and it's still making two api calls per GE dashboard visit.
Tested it just now. Logged into Solcast; no api calls yet. Loaded up the GE dashboard, returned to the Solcast website and refreshed the page, and it now reads 2/10 api calls made today. Umm, what?! Why?!

This makes the GE dashboard unusable most of the day. I barely use it, and always have the My Inverter page up instead. Having Solcast on the main dashboard ruins it. Can it be moved to a separate tab option and only call the api when told to?

J
#19 J1m

deepanshus
Thanks for that, although I have regenerated it twice now and still no data! On the Solcast API Toolkit site the chat option says they will respond within 2 hours but I'm still waiting for a response!