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

SPF 5000 ES errors api.get_all_device_list #25

Open
AdiB1110 opened this issue Sep 23, 2021 · 3 comments
Open

SPF 5000 ES errors api.get_all_device_list #25

AdiB1110 opened this issue Sep 23, 2021 · 3 comments

Comments

@AdiB1110
Copy link

Hi! I have a SPF 5000 ES Growatt and I was able to connect to server.growatt.com and use the plant_list, plant_detail, get_user_center_energy methods, but when I call get_all_device_list it throws the following error:
raise JSONDecodeError("Expecting value", s, err.value) from None
JSONDecodeError: Expecting value

Also, I've try to call the methods from Storage, Mix or SPA classes (for example get_storage_energy_data or get_energy_prod_and_cons_data), but I get the Response 400 or 500:
GrowattApiError: Request failed: <Response [500]>

I've look on the Growatt dashboard and under devices there is only one device, type Storage with the associated data logger. I've copy and paste the device sn from the web page and try to call some of the methods, but still have errors.
Do I need to configure additional settings? How can it be solved?
I appreciate your advice!

@Sjord
Copy link
Owner

Sjord commented Sep 23, 2021

Thanks, @AdiB1110. Which version of the client are you using? Did you install 0.0.4 with pip? Or are you on a git branch?

@AdiB1110
Copy link
Author

I use the code from the branch (issue Expose storage API #13).

@AdiB1110
Copy link
Author

Now I've noticed your recent post with newLoginApi and it works perfect! Thank you very much!

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