It seems the authentication system has changed.
Here is the rrror returned from api.login
403 Client Error: Forbidden for url: https://openapi.growatt.com/newTwoLoginAPI.do
HTTP Status 400 – Bad Request
Type Status Report
Message Parameter conditions "op=setAppParam" OR "op=getCpowerAuthToken" OR "op=getLoginRedisData" not met for actual request parameters:
Description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
It seems the authentication system has changed.
Here is the rrror returned from api.login
403 Client Error: Forbidden for url: https://openapi.growatt.com/newTwoLoginAPI.do
HTTP Status 400 – Bad Request
Type Status Report
Message Parameter conditions "op=setAppParam" OR "op=getCpowerAuthToken" OR "op=getLoginRedisData" not met for actual request parameters:
Description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).