-
Notifications
You must be signed in to change notification settings - Fork 28
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
Expose storage API #13
base: master
Are you sure you want to change the base?
Conversation
Related to #12
These need some more testing and at least some documentation before I am going to merge this. If you use these, please let me know which functions work best for you, and which data from each function is useful for you. |
This other project also has some storage functions. |
Hi. I'm trying to use your storage API calls, but none of them are working for me. Example: I get the following error message:
growatt.GrowattApiError: {'result': 0, 'obj': None, 'msg': '504'} I've used the get_all_device_list API call to get the AC coupled inverter serial number. |
Thanks @wynandmyriota. I have created a separate issue for this problem: Storage API returns 504 error #16 |
These methods need better names or namespaces. |
I moved the storage and spa calls to their own class. It now works like this:
So |
It seems this is one lower than the timespan.value. Also, format the date according to timespan.
Testing if other url also works. Seems fine. Both https://server.growatt.com and https://server-api.growatt.com/ work
Storage | Added function to retrieve data from inverter available in Shine app but not in Web dashboard
New methods: