sincze / Domoticz

Pass2PHP Domoticz Scripts
17 stars 12 forks source link

No more data #8

Closed martin072 closed 2 years ago

martin072 commented 2 years ago

Hi,

Since today, the script does not return any data from the growatt server. I guess something has changed server side. Any chance you can have a look at it?

martin072 commented 2 years ago

So, found an similar issue form the HA group, and the following solution works for me:

Change: define('LOGIN_FORM_URL', 'https://server-api.growatt.com/newLoginAPI.do'); // URL of the login form. define('LOGIN_ACTION_URL', 'https://server-api.growatt.com/newLoginAPI.do');

To: define('LOGIN_FORM_URL', 'https://server-api.growatt.com/newTwoLoginAPI.do'); // URL of the login form. define('LOGIN_ACTION_URL', 'https://server-api.growatt.com/newTwoLoginAPI.do');

sincze commented 2 years ago

Nice Find. Feel free for future events for a PR I will update it now manually ;-)

sincze commented 2 years ago

Code updated thanks to @martin072 martin072