-
-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
adding goodwe to homeassistant breaks SEMS portal #101817
Comments
Hey there @mletenay, @starkillerOG, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) goodwe documentation |
INVERTER: GW15K-ET Facing the same issue, tried different polling intervals from 30 seconds to 5 minutes. The green COM LED on the inverter blinks, signaling "Server error". Only disabling the home assistant updates and restarting the inverter (or it's WiFi module) restores connectivity with the SEMS portal. |
Same here. |
yup, confirming the issue, inverter is offline in SEMS portal after last HA update EDIT:I tried changing the default DNS and the inverter returned online again. |
same here. I installed a GoodWe 3600-SBP-20 inverter some days ago. I added the goodwe integration this evening at around 19:12 immediately stopped all communication to the SEMS portal. Disabling the integration an restarting the inverter did fix the SEMS connection (but of corse no data in homeassistant. |
Didn't work for me, portal is still not receiving data while integration to HA is enabled. |
Where did you change the default DNS? What did you change it to? |
In the web ui, changed it to 8.8.4.4. |
try your router address |
Thanks for the explanation. Unfortunately it didn't work. |
I'm sure you did it, did you restart inverter wifi module and integration? Just checking |
Yes, both restarted, even restarted home assistant for good measure. |
Doesn't work either. Everything was restarted. |
No change after upgrading HA to 2023.10.5. The connection from the inverter to the SEMS portal immediately terminates after activating the Goodwe integration. This does not happen when using the command line tool https://pypi.org/project/goodwe/ |
HA integration is using that goodwe library. |
well, this was a very good hint and may point us to the root cause of problem! I first just played around with the example code:
if you run this python script more even more often, it does not look to cause a probllem. Then in modified it to automate some more stress, and repeat the get_runtime_data() more often without leaving the process to
A rerun of the script with repeat number of 100 and a sleep time of 3 seconds the script crashed with following exception:
The exception is the same when I restart the inverter using the web-interface. Maybe it indicates a crash of the controler of the inverter? But after this error I need to restart the inverter manually (via web-interface) in order to get it back to SEMS. But today I have the problem, that the SoC Curve keeps "0" even the right value is signaled in the Battery Symbol. Hours later the inverter updates SEMS with statistics data and the SoC Line is showing the right results. Very strange |
Yes, it seems that "too frequent" requests to inverter cause it to fail and probably disconnect from network. |
well, "too frequent" updates. But what is too frequent? 1 minute? In the integration documentation I already found this hint, disabled the automatical update and implemented the sugested automation triggering the update of the goodwe entities every 1 minute. It does not last 10 minutes until the com-LED of the inverter starts blinking which indicates that the connection to sems is lost. Network issues are very unlikely, the inverter is located with a distance of less than one meter to the WLAN router, the signal qualitiy is very good. |
I have the same issue with the following goodwe devices:
|
even if I reduce the poll rate to 2 Minutes the connection breaks within about 20 minutes. At the moment I have the impression, that as soon a regular SEMS-Communication sequence is mixed/interrupted by a modbus-udp call the trouble starts. As soon as you stop the modbus-udp calls for 5 minutes the inverter is connecting back to the SEMS portal and is uploading statistic data from the timespan it was not connected to the portal. Looks very much as a firmware issue of the inverter. At the moment I am testing following: trigger the poll interval via an automation - you can vary the time between polls. |
I suspect it is firmware specific but have no proof/explanation. |
I have a GW8K-DT and I am experiencing this problem. I have tried to change the polling interval without success, and if I start poll locally it will not establish a working connection to SEMS until the inverter is restarted even-though I stop the polling. I suspect that this is a quite common problem but that there are users like me that thinks that it is more important to fetch the data locally in HA, and they never use the SEMS app/portal. But I still think that it would be good if both interfaces works in parallel. |
I've got what looks to be the same issue, started only a few days ago. If I reset the W/L interface via the panel on the front then it reconnects and starts providing data for a short period of time before it drops off the network again. I've also tried resetting the WLAN interface via the buttons on the inverter which temporarily fixes it before failing again. I've found that if I block internet access for the inverter then data resumes flowing through to HA but instead of failing within minutes it continues for up to 2 hours. I have a backup from 2 months ago so will restore to it and see if it corrects the problem. |
Same issue here Goodwe GW8K-ET |
@mletenay Unfortunately still having the same issue after changing it to 0 on my side. |
Hello @RalfWinter, I cannot find settings-->integrations-->Goodwe Inverter-->configure. What am I doing wrong? Thank you in advance! Rasmus
|
Got mine working, and the Magic 127second Polling interval suggested on some of the forums is stable for me , Just like @roboco6 screen shots above i'm connected but sadly the import / export values never work, is there a trick to getting them to work ? |
@roboco6 Not sure, but maybe this is only available with the experimental version of the integration. Which one did you install? |
As @garv3 said, you have the official version installed, you need to uninstall and install the custom version from HACS. Then it looks like this: |
@Dwayneohara @5erv3 There are no differences in provided sensors between HA and HACS. |
Thank you @RalfWinter and @garv3 for your help! I managed to intall the experimental version and the magic 127s polling interval seems (not sems...haha) to work for me! |
I'm with a GW29.9K-ET and I have the same issue. I wonder, why this should have something todo with the polling interval. I sniffed the traffic from PVMaster and it's polling every 3 seconds without breaking anything. Would it help If I upload the pcapng files? |
Thanks. Unfortunately i can't find any tutorial how to install via HACS. |
You need to uninstall the official version first and then go into HACS and add the experimental version. |
Another data point here: |
Another Inverter here: |
Have found with the GW5000-SDT-20 and GW8KAU-DT that an update frequency of 151 seconds works for both. It does reduce the update frequency of SEMS to between 3 - 6 minutes Unfortunately for all the sensors this integration produces (46 for each inverter) I don't get any consumption data from either the grid nor the PV, and can't t connect directly to the (3 phase) Homekit HK3000 |
Will try this today and report |
can confirm this works on my inverter |
I've got an even better solution for you that I've been testing today: If you're also running the SEMS Cloud integration, turn off automatic polling on this API Integration, and manually trigger it via an automation every time the SEMS sensors update. By polling straight after SEMS has updated, you necessarily avoid a clash, and thus can get the maximum update rate possible. Here's the most basic version of the automation:
|
Can you please clarify this (- sensor.[inverter sensor provided by the local API integration]) I'm confused. |
How often does the SEMS Cloud integration typically update its values? |
The update points on the SEMS portal graphs is every 5 minutes. |
Ah OK, I'm dealing with 2 inverters, and they both update SEMS every 2 minutes, but 1 minute apart. |
Ah that's reason you can use the previous script to update once SEMS API does, unfortunately for me it will be every five minutes which is bad. |
Same here, I am spoiled now with only 15-20s between updates ;-) (I also have a SolarEdge inverter which works fine with both local and cloud integration at the same time. The local integration updates about every 25s.) |
You could still use a variation of it - get the automation to update when SEMS does, and then get it to wait and loop to update say 3 times over 4 minutes, and then let the automation get triggered again by SEMS to restart. That way you can still poll more often than every 5 minutes, but still have it wait to start the sequence by the SEMS triggering, rather than just hoping that your frequency of updates doesn't clash. |
Oh I think you'll find that it actually is updating more frequently than that - they just have the graph in the UI limited to 5 minute increments. Set up the SEMS integration in HA and you'll see exactly how frequently the sensors update. |
Ahh will try that asap, since I'm new to home assistant that script goes in automations.yaml right. |
The problem
hi, once i add the goodwe inverter do the homeassistant it breaks the SEMS portal, it stops updating SEMS portal, i tried to update interval in only 2 minutes but even like this it breaks, as soon as i add the homeassistant integration SEMS stop working.
any workaround or im the only one facing this problem?
What version of Home Assistant Core has the issue?
2023.10.1
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Goodwe
Link to integration documentation on our website
No response
Diagnostics information
if i remove Goodwe integration, SEMS start working.
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: