indykoning / PyPi_GrowattServer

MIT License
70 stars 32 forks source link

Growatt API Documentation #44

Closed TheDevick closed 1 year ago

TheDevick commented 1 year ago

Hi. I'm planning to create an Lib, like yours, but in PHP, that consumes the WEB API from Growatt.

I was searching by a Growatt API documentation, and find a Strange Documentation Here, but it seems to be not working. (Or I am consuming it wrong, maybe?)

After all, my question is: What documentation you use to build the project?

muppet3000 commented 1 year ago

Welcome to the fun world of trying to reverse engineer the way the growatt APIs! We've repeatedly tried to engage with Growatt on up-to-date documentation but they never respond. The documentation you've linked to is the only one available anywhere on the internet and it's completely out of date and doesn't work at all.

Someone has already made an attempted at documenting the web api here: https://github.com/soulraven/growatt-monitor (look under the docs folder), there was a swagger file in there at some point but I have no idea what happened to that.

If you take a look at our readme here: https://github.com/indykoning/PyPi_GrowattServer#settings-discovery it gives an explanation of how we've reverse engineered the API from the Android app.

TheDevick commented 1 year ago

Great! I'll take a look Thanks.