-
Notifications
You must be signed in to change notification settings - Fork 48
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
Received invalid response #12
Comments
I've got the same problem here but fixed it. Turns out the USB LAN stick is not answering to every UDP packet it receives. Not sure why but the flashed firmware of the E-port chip is really old and also significantly older than the firmware on the Wifi stick. You can verify if you receive a response by sending the raw udp packet with this command. It should return immediately: The Goodwe implementation only sends one UDP packet and waits for a response with a 1 second timeout and tries again if it fails. Since its UDP we can just sent out multiple UDP packets simultaneously and return on the first received response. This enables me to get a reply under a second with 100% success rate. Im using the code below to request the UDP packet and use the Goodwe Processor to parse the received data. Works like a charm.
This prints the following line which i use to import the data in telegraf: Ideally this should be implemented into the goodwe code so we can set a flag somewere to sent more UDP packets if one is using the USB LAN stick... |
I'm having big problems when reading info from my inverter (GW8K-DT).
It seams that I receive incomplete packages from the inverter. My guess is that it only sends data until the changed value is represented. Part of my Home assistant log is attached here: inverter_log.txt
I've also made my own software in .net (I am a .net developer) and discovered the same thing there. I've discussed it more here: mletenay/home-assistant-goodwe-inverter#88 (comment)
I hope we can work this out together, I am a professional developer (.net) as of almost 15 years. I think I could be of good help fixing this issue (I've seen more people having issues with this).
This is not a network issue. Both inverter and client (both HA and a client computer) is on the same switch, same VLAN and all is cabled, I have even tried changing cables just to be sure.
The text was updated successfully, but these errors were encountered: