sincze / Domoticz-Growatt-Webserver-Plugin

16 stars 10 forks source link

Growatt Api calls heve changed #24

Closed Cees2439867 closed 1 year ago

Cees2439867 commented 2 years ago

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 commented 2 years ago

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

Cees2439867 commented 2 years ago

Hi Sandor,

Missed my message at Github to add to.

Your new file stopped working. I went back to the old file again which works now for a couple of hours.

Very strange. ⁣ Met vriendelijke groet,

Cees Bakker 06 3911 5106

TypeApp voor Android downloaden ​

Op 16 jun. 2022 09:47, om 09:47, Sandor @.***> schreef:

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

-- Reply to this email directly or view it on GitHub: https://github.com/sincze/Domoticz-Growatt-Webserver-Plugin/issues/24#issuecomment-1157344949 You are receiving this because you authored the thread.

Message ID: @.***>

sincze commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

I am on latest: image

vandermark1977 commented 2 years ago

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 commented 2 years ago

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

sincze commented 2 years ago

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

vandermark1977 commented 2 years ago

@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 commented 2 years ago

PVOUTPUT is not supported by me in my plugin. As I had more bug reports with it than without it ;-)

On Tue, Jun 21, 2022 at 1:06 PM vandermark1977 @.***> wrote:

@sincze https://github.com/sincze , tx that helped!

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

[image: image] https://user-images.githubusercontent.com/49677940/174785261-efdb97df-8a29-43d3-a9f8-7d503bde4c67.png

— Reply to this email directly, view it on GitHub https://github.com/sincze/Domoticz-Growatt-Webserver-Plugin/issues/24#issuecomment-1161596500, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMCHTPI2UD4PVJDTLD3RB3VQGO4RANCNFSM5Y5ZXZHA . You are receiving this because you were mentioned.Message ID: @.***>

sincze commented 1 year ago

Stale issue closed PVOutput not supported