-
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
Growatt API Add Data #14
Comments
I found the URLs by reverse engineering the Android app, and intercepting traffic between the Android app and the server. Is there particular data you are looking for? I recently added many storage functions, these just need some more testing. |
Would you be able to share the different URLs? Or share how you reverse engineered it? I tried looking at the website + 'PlantList.do' but it said I don't have permission. I guess I just need the entire stack of data that is there on the website - like the entire thing. |
I have managed to find these URLs and have been getting the data that I need. Just one question, would you be able to help me with a json parsing error with one of the pages? It's with NewTwoPlantList.do and with parameter
Python seems to return an error parsing the json Edit: It seems that I somehow cannot get authorised for this Api part but I can for the other ones which doesn't make sense to me. Would you know anything about this? |
Did you provide the plantId and language parameters? Try this:
|
Yes, that seems to work! Thank you for that. |
Is there any way to login and complete a GET/POST request all in the same go/same url? |
No, I don't think so. You first need to login and then you can use the session to retrieve information. |
Ah ok. I was planning to use a third-party interface that gets JSON data but it only provides 1 URL and so I don't know if I can do this. Thank you. I was planning to do it without the use of Python. |
How would I add more data to the JSON read out that is not already available there?
I see there are things like "PlantList.do" but where do I find these .do files or tags
Thank you so much for the API btw.
The text was updated successfully, but these errors were encountered: