-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
KeyError:'dataList' #28
Comments
I am getting the same error... When I run manually using python, I get:
|
Duh. Just realised that the inverter and logger IDs should be the serial number and not the ID - working now! |
Good to hear, @srk23. @Krishnaj-20, is that also applicable to your setup? I'm in the process of adding better error handling for this. |
Hm, same error.
|
Hm, now it is starting to work again:
was working until now without problem (without changes), now the error is back:
will wait until it starts working again ;-) Continuing to work :-)
Some idea to debug the reason? |
Same here - are there any news for that problem? |
In some occasions, the `dataList` keys is missing from the API data.
Seem like that
|
Thanks, I will give it a try.
I'm not sure why.
I will check if it will run without dataList error... Update: After ~4 minutes it stops working
After a while it was continuing to work...
|
Have seen API rate limiting in the past for myself. The (default) interval of 5 minutes works OK for me. A polling interval of a minute (your example) doesn't seem that frequent .. but maybe it's useful to test with a higher interval. |
I will try to change to 5min, |
FYI, no change for me with 5min intervall too: With newest I get - "deviceState" error:
With older version - "dataList" error:
I think we can close the issue, because only I have this problem and it seems to work for the others. |
Interesting error, @giovanne123. I'm curious to see what data is in the debug output. Is it's possible for you to do a run with
Just to learn what is in the deviceState key or the whole inverter_date object in the data you receive back, on the moment the run errors. Now, a fix is added in the latest code in the main branch, to catch the |
Hm, there is no (or empty or not found) INVERTER part that time the error occurs:
and this is the "device not found" and "empty" section if the error doesn't occur:
|
So the object is completely empty. Wasn’t expecting that! Question is then if the data is also not present in the Solarman cloud graphs. That would suggest that it’s also missing from the data that was sent to the cloud service. |
OK, I will update to v0.8.0 |
Hi
This might be a stupid question but when i try and run the python script I get KeyError:'dataList'
Would you be able to assist with this?
Regards
The text was updated successfully, but these errors were encountered: