remco-k / domoticz-goodwe-modbusudp-plugin

A Domoticz plugin that connects to GoodWe inverters over LAN or WLAN via UDP that supports Modbus.
4 stars 1 forks source link

Issues with GW3600-ES-20 hybrid inverter #7

Open CPtje opened 3 months ago

CPtje commented 3 months ago

Hi,

Just upgraded my PV system with 2x GW3600-ES-20. These are the G2 version of the GW3600 hybrid inverter. For now I do not have any battery attached as this is for future use.

Being a Domoticz user for a long time I am very interested in using your plugin with my configuration, so I installed the plugin, understanding that this is a BETA-version.

I got a lot of data into Domoticz and am incredibly pleased that this is possible via you plugin, fantastic!

Following issues came up and might be of interest:

I would be glad to help with any information that help to improve your Beta-version.

Some additional info: I have set the Inverter Family to AUTO. If I set it to ES I get a lot of errors when restarting Domoticz.

remco-k commented 3 months ago

Hi,

Thanks for your post. I have some questions and things to try:

SEMS not being updated when 5s interval is selected

As for this point, it seems to me that this is a GoodWe specific problem I can't solve in the plugin. I'm glad you found a solution in that by setting the interval to 240s. But I don't think I can help any further with that. GoodWe is known for its quite bad Wifi implementations. Maybe there is some weird problem going on at your site that causes a Wifi problem of some sort in the GoodWe.

Error: Thread seems to have ended unexpectedly

This error doesn't ring any bell here, a quick Google search tells me that this is a Domoticz Watchdog that measures an unusual long runtime from (appearantly) my plugin. No other users have been reporting this, so I'm curious how often these errors occur. I'm gonna need lots of information (as many as we can think of) to see if we can find the root cause of that.

Errors when family setting on ES

Others

"Updated 17 values out of 62" is a normal log message.

CPtje commented 3 months ago

Hi, Thanks for the quick reply. Lets see if I can provide some info that might lead to some insights.

Error: Thread seems to have ended unexpectedly

What is your Domoticz version exactly? The latest: Version: 2024.4 Build Hash: 731719420 Compile Date: 2024-01-30 09:16:34 dzVents Version: 3.1.8 Python Version: 3.7.3 (default, Mar 23 2024, 16:12:05) [GCC 8.3.0]

Can you post your Domoticz logs here (filtered on "GoodWe PV" (so that the logs of both inverters is showing)), for a period of several hours where this error shows at least multiple times? Make sure timestamps are visible in the logs posted. See (Domoticz GoodWe log.txt)

Does this problem occur in both 240s interval and 5s interval settings? 5s, 30s, 60s -> NOT occurring, but SEMS not updating all data and "Server error" led is blinking on the inverters. 60s, 120s -> NOT occurring, SEMS sometimes not updating , resulting in server error-led. 240s -> occurring, but SEMS updating all data.

So maybe it has to do with SEMS interacting somehow. Running on 60s now, as this seems to be the best trade-off for now. When running for a while on 240s, SEMS seems to "fill-in" the "lost data" in the Graph. After a longer amount of time, even the blinking error Leds turn on to normal green.

How often does the problem occur? Depends, could be within seconds or minutes.

When the problem occurs, is data still being updated normally in Domoticz? As far as I can see the data is updated when data is retrieved.

Since you have 2 GoodWe inverters, does the error go away when you shutdown one (try shutting down either one)? (with shutdown I mean actually turning off the inverter and disabling the plugin in Domoticz) Yes, tested with one inverters completely disabled and switched off. The online inverter still generates the Domoticz error.

I assume you have my plugin configured twice in Domoticz so you can view data from both inverters? Yes indeed. 2 hardware devices.

If you disable one of the two plugins in Domoticz, does the error keep showing? Yes, the error keeps occurring.

Errors when family setting on ES

What are those errors? Please post the logs as complete as possible. Domoticz GoodWe log with ES.txt

When set to ES and after all those erros when starting Domoticz, does it work normally, or doesn't it? No, no data updated!

Do errors keep coming, or does it stop after Domoticz has started? See previous log, errors keep coming after a while.

When set to AUTO, no errors are logged when starting Domoticz? Sometimes when starting Domoticz, when both inverters are running, see logs, but this seem to resolve itself after a while. Domoticz GoodWe log with AUTO.txt Domoticz GoodWe log with 2 inverters and AUTO.txt

So, a lot of info. I might have forgotten some parts, please let me know. I hope this will help.