Skip to content
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 calls heve changed #24

Closed
Cees2439867 opened this issue Jun 16, 2022 · 14 comments
Closed

Growatt Api calls heve changed #24

Cees2439867 opened this issue Jun 16, 2022 · 14 comments

Comments

@Cees2439867
Copy link

Two days ago at 16:50 data stopped coming on my Domoticz device. No information on internet. On Home Assistant fora I found hint what the issue could be. The API calls where broken.
It used to be http://server-api.growatt.com/newLoginAPI.do
it needs to be from June 14 2022: https://server-api.growatt.com/newTwoLoginAPI.do
Now it seems to work okay again......

@sincze
Copy link
Owner

sincze commented Jun 16, 2022

Need to check that.
For the moment
https://github.com/sincze/Domoticz/blob/master/growatt-inverter.php has a working version.

@Cees2439867
Copy link
Author

Cees2439867 commented Jun 16, 2022 via email

@sincze
Copy link
Owner

sincze commented Jun 19, 2022

Just installed a new Domoticz 2022.1 in a Docker and downloaded the current version from my GItHub
image
I'll need to keep a close eye on it to see if it continues to work.

@vandermark1977
Copy link

Ik keep having issues lately...
Every 3 minutes this log
2022-06-20 15:28:03.196 Error: Growatt omvormer: Google returned a status: 502

@sincze
Copy link
Owner

sincze commented Jun 20, 2022

Ik keep having issues lately... Every 3 minutes this log 2022-06-20 15:28:03.196 Error: Growatt omvormer: Google returned a status: 502

And what version are you using of the plugin ?? Usually it takes every 5 minutes for the plugin to do the update.

@sincze
Copy link
Owner

sincze commented Jun 20, 2022

Just installed a new Domoticz 2022.1 in a Docker and downloaded the current version from my GItHub image I'll need to keep a close eye on it to see if it continues to work.

image
Still going strong with the current version.

@vandermark1977
Copy link

Ik keep having issues lately... Every 3 minutes this log 2022-06-20 15:28:03.196 Error: Growatt omvormer: Google returned a status: 502

And what version are you using of the plugin ?? Usually it takes every 5 minutes for the plugin to do the update.

I believe I use the latest with PVoutput upload. It started suddenly today, i think it is some local issue...
image

@vandermark1977
Copy link

I am on latest:
image

@vandermark1977
Copy link

vandermark1977 commented Jun 20, 2022

I changed to https in growatt hardware settings and the helped my issue.

Hmmm, after some minutes new errors arrived using https:
2022-06-20 16:17:49.339 Growatt omvormer: Currently producing: 1976.7 Watt........ Totall produced: 8812.8 kWh in Wh that is: 8812800.0 2022-06-20 16:17:49.340 Growatt omvormer: PVOUTPUT 57971 20220620 16:17 1976 17900 2022-06-20 16:17:49.951 Growatt omvormer: PVOUTPUT: OK 200: Added Status 2022-06-20 16:17:59.075 Growatt omvormer: onHeartbeat called, Connection is alive. 2022-06-20 16:18:09.096 Growatt omvormer: onHeartbeat called, Connection is alive. 2022-06-20 16:18:19.067 Growatt omvormer: onHeartbeat called, Connection is alive. 2022-06-20 16:18:29.085 Growatt omvormer: onHeartbeat called, Connection is alive. 2022-06-20 16:18:39.061 Growatt omvormer: onHeartbeat called, Connection is alive. 2022-06-20 16:18:49.084 Growatt omvormer: onHeartbeat called, Connection is alive. 2022-06-20 16:18:49.307 Growatt omvormer: Queued asynchronous secure read aborted. 2022-06-20 16:18:49.335 Growatt omvormer: Disconnect event received for 'server-api.growatt.com:443'. 2022-06-20 16:18:49.336 Growatt omvormer: onDisconnect called for connection to: server-api.growatt.com:443 2022-06-20 16:18:59.054 Growatt omvormer: onHeartbeat called, run again in 5 heartbeats. 2022-06-20 16:19:09.073 Growatt omvormer: onHeartbeat called, run again in 4 heartbeats. 2022-06-20 16:19:11.924 Growatt omvormer: onStop - Plugin is stopping. 2022-06-20 16:19:11.924 Status: Growatt omvormer: Stop directive received. 2022-06-20 16:19:11.966 Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter. 2022-06-20 16:19:12.005 Status: Growatt omvormer: Exiting work loop. 2022-06-20 16:19:12.024 Status: Growatt omvormer: Stopping threads. 2022-06-20 16:19:12.024 Status: Growatt omvormer: Stopped.

@fgerrits
Copy link

Changing from HTTP to HTTPS in het hardware section in Domoticz (2020.1) worked for me using the old server-api

@sincze
Copy link
Owner

sincze commented Jun 20, 2022

image
Sorry Guys my bad I should have mentioned that indeed. Current version with HTTPS should work.

@vandermark1977
Copy link

vandermark1977 commented Jun 21, 2022

@sincze , tx that helped! I suggest you update the plugin info on github with the new info regarding https. Now it states:
"Protocol | For Growatt inverters this is usually HTTP"

I see the plugin adds values to PVOutput every 2 minutes, why so often? Can this be changed to once every 5 minutes?

image

@sincze
Copy link
Owner

sincze commented Jun 21, 2022 via email

@sincze
Copy link
Owner

sincze commented Oct 24, 2022

Stale issue closed PVOutput not supported

@sincze sincze closed this as completed Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants