SPF 5000 ES errors api.get_all_device_list
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!
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?
I use the code from the branch (issue Expose storage API #13).
Now I've noticed your recent post with newLoginApi and it works perfect! Thank you very much!