indykoning / PyPi_GrowattServer

MIT License
70 stars 32 forks source link

405 Client Error: Not Allowed for url: https://server-api.growatt.com/newTwoLoginAPI.do #72

Closed Derko01 closed 10 months ago

Derko01 commented 10 months ago

Had some problems with my Python-script so I updated from 1.2.4 to 1.4 But now I get this error: 405 Client Error: Not Allowed for url: https://server-api.growatt.com/newTwoLoginAPI.do In my Android APP I recently noticed a new tickbox to comply to Terms and Conditions. Has it something to do with that?

Derko01 commented 10 months ago

Oh, I remember that long time ago I changed the server in __init.py__ form server-api.growatt.com to server.growatt.com Must have been lost during the update. So I changed it again and now my script works again. Sorry bothering you!

indykoning commented 10 months ago

Glad to hear it's working again! remember that you can also change the server URL after initialisation https://github.com/indykoning/PyPi_GrowattServer#variables That way you don't overwrite any of the code in this repository and it'll survive updates 😄