Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with darksky api? #72

Open
CoenWhite opened this issue Apr 4, 2023 · 1 comment
Open

Issue with darksky api? #72

CoenWhite opened this issue Apr 4, 2023 · 1 comment

Comments

@CoenWhite
Copy link

CoenWhite commented Apr 4, 2023

This script has been running beautifully for the last years uploading the goodwe data. However, last saturday something seems to have changed: it's not uploading data anymore and also re-uploading historic data fails.
I'm trying to troubleshoot but I'm not a genius at these things. It seems to fail around the darksky api, which is then connecting apple.com: ?

DEBUG    Starting new HTTPS connection (1): api.darksky.net:443
DEBUG    https://api.darksky.net:443 "GET /forecast<SNIP>units=si&exclude=minutely,hourly,daily,alerts,flags HTTP/1.1" 301 134
DEBUG    Starting new HTTPS connection (1): support.apple.com:443
DEBUG    https://support.apple.com:443 "GET /en-us/HT213526 HTTP/1.1" 200 8885
ERROR    Expecting value: line 2 column 1 (char 1)
DEBUG    Starting new HTTPS connection (1): api.darksky.net:443

OK, it seems that indeed apple closed down the API, so removing the calls from the config file fixes the problem.

@vijghph
Copy link

vijghph commented Apr 7, 2023

I see in pull request that somebody has pushed an alternative OpenWeather API.

Unfortunately, the repository is not maintained anymore hence it didn't make it to the last stable version afaik.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants