-
Notifications
You must be signed in to change notification settings - Fork 43
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
Issue after configuration #10
Comments
Which inverter model ? |
My inverter model is: GW5048-EM |
You need to checkout/download whole directory structure (resp. the custom_components/goodwe folder) to be able to run the inverter_test.py. |
Ok, I think I got it. Here's the output.
|
Something very odd is happening on your network and it is truncating the response packets. |
Yes, this inverter is connected by an Ethernet module, not the WiFi one.
Before the change of the module we have problems with the connection, but
now is all perfect and correct. Could the Ethernet module be the problem?
If I tried to use one of the examples to request to 48899 port as the omnik
inverter from a python script I have a response without problems, with the
name of the Ethernet module; and the app of the inverter works fine too.
Tell me what I can do to get more information to solve the problems.
Thanks
El lun., 5 oct. 2020 17:30, mletenay <notifications@github.com> escribió:
… Something very odd is happening on your network and it is truncating the
response packets.
You should have received response for the "version" request with length of
86 bytes, but in 3 attempts you got (same content) various lengths - 84, 19
and 86.
Same problems for the "info" request - never got the full-size response.
UDP is unreliable, but this is way too much.
Can you check your network ? Do you have sufficient wifi signal strength ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJKE7WYJOXFR5S63IPPDAULSJHRCRANCNFSM4SEUWUWQ>
.
|
I'm not sure what is the source of the problems, if it is IP stack of the HA machine, or some docker network issue or some actual network problem. Under normal circumstances, you should not get incomplete udp packets. I suggest to use the inverter_test.py to somehow trace the source of the network problems. In normal situations, you should get the packets with right size and only very seldom some re-try attempts. |
I've tried again the inverter_test.py and I have this output Well, as you can see there is all the data of the inverter. I think, the problem could be the time that the script is waiting the response, or de number of the attemps, as you said before. P.S. Sorry about my english, it isn't very good. |
I have improved the exception handling, so you should get data in HA, at least from time to time. Download the updated sources (mostly goodwe_inverter.py) and try to execute that several times to see how often you get correct results. |
Thanks @mletenay, it's seems to work without problems. Finally, I didn't modify the timeout, maybe, It can have lost packets, but in the front I see all the sensors well. |
Hi!
I'm trying to configure that component but I get an error (I'll pass it at the end). I also have the sems portal component, but Il prefer this one, to get the data from the inverter directly.
What am i doing bad?
Thanks for you help!
Error:
The text was updated successfully, but these errors were encountered: