Skip to content
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

GW10K-ET does not return any value #6

Open
MilanBacaCz opened this issue Jul 1, 2024 · 15 comments
Open

GW10K-ET does not return any value #6

MilanBacaCz opened this issue Jul 1, 2024 · 15 comments
Labels
question Further information is requested

Comments

@MilanBacaCz
Copy link

I have this inverter GW10K-ET
All values return -1

Logs:
[01/07/2024, 07:55:10] [homebridge-goodwe-inverter] New value Generation Watt -1
[01/07/2024, 07:55:10] [homebridge-goodwe-inverter] New value Day Generation Wh -1
[01/07/2024, 07:55:10] [homebridge-goodwe-inverter] New value Internal Temperature -1
[01/07/2024, 07:55:10] [homebridge-goodwe-inverter] New value Total Generation MWh -1
[01/07/2024, 07:55:11] [homebridge-goodwe-inverter] New value Generation Watt -1
[01/07/2024, 07:55:11] [homebridge-goodwe-inverter] New value Day Generation Wh -1
[01/07/2024, 07:55:11] [homebridge-goodwe-inverter] New value Internal Temperature -1
[01/07/2024, 07:55:11] [homebridge-goodwe-inverter] New value Total Generation MWh -1
[01/07/2024, 07:55:13] [homebridge-goodwe-inverter] New value Generation Watt -1
[01/07/2024, 07:55:13] [homebridge-goodwe-inverter] New value Day Generation Wh -1
[01/07/2024, 07:55:13] [homebridge-goodwe-inverter] New value Internal Temperature -1
[01/07/2024, 07:55:13] [homebridge-goodwe-inverter] New value Total Generation MWh -1
[01/07/2024, 07:55:14] [homebridge-goodwe-inverter] New value Generation Watt -1
[01/07/2024, 07:55:14] [homebridge-goodwe-inverter] New value Day Generation Wh -1
[01/07/2024, 07:55:14] [homebridge-goodwe-inverter] New value Internal Temperature -1
[01/07/2024, 07:55:14] [homebridge-goodwe-inverter] New value Total Generation MWh -1
[01/07/2024, 07:55:16] [homebridge-goodwe-inverter] New value Generation Watt -1
[01/07/2024, 07:55:16] [homebridge-goodwe-inverter] New value Day Generation Wh -1
[01/07/2024, 07:55:16] [homebridge-goodwe-inverter] New value Internal Temperature -1
[01/07/2024, 07:55:16] [homebridge-goodwe-inverter] New value Total Generation MWh -1
[01/07/2024, 07:55:17] [homebridge-goodwe-inverter] New value Generation Watt -1
[01/07/2024, 07:55:17] [homebridge-goodwe-inverter] New value Day Generation Wh -1
[01/07/2024, 07:55:17] [homebridge-goodwe-inverter] New value Internal Temperature -1
[01/07/2024, 07:55:17] [homebridge-goodwe-inverter] New value Total Generation MWh -1
[01/07/2024, 07:55:19] [homebridge-goodwe-inverter] New value Generation Watt -1
[01/07/2024, 07:55:19] [homebridge-goodwe-inverter] New value Day Generation Wh -1
[01/07/2024, 07:55:19] [homebridge-goodwe-inverter] New value Internal Temperature -1
[01/07/2024, 07:55:19] [homebridge-goodwe-inverter] New value Total Generation MWh -1

Plugin Config:

{
"localIps": [
{
"localIp": "192.168.0.175",
"port": "8899",
"timeout": 1000,
"options": "0x7f0375940049d5c2"
}
],
"SFKLocation": "/usr/local/bin/sfk",
"showCurrentPowerLevel": true,
"showDayTotal": true,
"showTotal": true,
"showInternalTemperature": true,
"_bridge": {
"username": "0E:4E:E8:6F:F7:C4",
"port": 40781
},
"platform": "HomebridgeGoodWeInverter"
}

Environment:

  • Operating System: OS | Raspbian GNU/Linux Bullseye (11)
  • Node.js Version: 20.14.0
  • Plugin Version: 0.0.5
  • Homebridge Version: 1.8.3
  • NPM Version: 10.7.0
@MilanBacaCz MilanBacaCz added the question Further information is requested label Jul 1, 2024
@dblommesteijn
Copy link
Owner

Can you confirm your output for: /usr/local/bin/sfk 192.168.0.175 8899 -listen -noerror -timeout=1000 0x7f0375940049d5c2 -pure +xed "/[eol]//"

The error you are getting is either misconfig or an offline device.

@MilanBacaCz
Copy link
Author

sfk 192.168.0.175 8899 -listen -noerror -timeout=1000 0x7f0375940049d5c2 -pure +xed "/[eol]//"
error: sfk 192.168.0.175: unknown command: 192.168.0.175
1 errors occurred.

@dblommesteijn
Copy link
Owner

sfk 192.168.0.175 8899 -listen -noerror -timeout=1000 0x7f0375940049d5c2 -pure +xed "/[eol]//" error: sfk 192.168.0.175: unknown command: 192.168.0.175 1 errors occurred.

Sorry, I meant: sfk cupd 192.168.0.175 8899 -listen -noerror -timeout=1000 0x7f0375940049d5c2 -pure +xed "/[eol]//"

@MilanBacaCz
Copy link
Author

sfk cupd 192.168.0.175 8899 -listen -noerror -timeout=1000 0x7f0375940049d5c2 -pure +xed "/[eol]//"
error: sfk cupd: unknown command: cupd
1 errors occurred.

@dblommesteijn
Copy link
Owner

sfk cupd 192.168.0.175 8899 -listen -noerror -timeout=1000 0x7f0375940049d5c2 -pure +xed "/[eol]//" error: sfk cupd: unknown command: cupd 1 errors occurred.

I am afraid there was another typo, it's sfk cudp

@MilanBacaCz
Copy link
Author

sfk cudp 192.168.0.175 8899 -listen -noerror -timeout=1000 0x7f0375940049d5c2 -pure +xed "/[eol]//"
[timeout]hb-rpi4-admin@HB-RPI4:/var/lib/homebridge $

@dblommesteijn
Copy link
Owner

sfk cudp 192.168.0.175 8899 -listen -noerror -timeout=1000 0x7f0375940049d5c2 -pure +xed "/[eol]//" [timeout]hb-rpi4-admin@HB-RPI4:/var/lib/homebridge $

It looks like your inverter is not active on that IP or UDP packets are filtered somehow.

Can you let me know what this responds?
sfk cudp -broad 255.255.255.255 48899 -listen -noerror -timeout=1000 0x574946494b49542d3231343032382d52454144 -flat

@MilanBacaCz
Copy link
Author

sfk cudp -broad 255.255.255.255 48899 -listen -noerror -timeout=1000 0x574946494b49542d3231343032382d52454144 -flat
192.168.0.175,34EAE7723132,Solar-WiFi205W0324hb-rpi4-admin@HB-RPI4:/var/lib/homebridge $

@dblommesteijn
Copy link
Owner

dblommesteijn commented Jul 1, 2024

Is your Inverter's LED burning solid or flashing orange? It seems like there is some connectivity issue with UDP packets from and to the inverter. Perhaps any switch, in your LAN, that does UDP filtering or outgoing traffic to the internet blocked?

@MilanBacaCz
Copy link
Author

MilanBacaCz commented Jul 1, 2024

wifi led is orange solid. I have Linksys Mx5300 router. I can not see there any blocking udp settings.

@dblommesteijn
Copy link
Owner

wifi led is orange solid. I have Linksys Mx5600 router. I can not see there any blocking udp settings.

Are you blocking anything going out from your router to the internet for the inverter? SEMS portal receiving info from the Inverter?

@MilanBacaCz
Copy link
Author

SEMS is working OK.

@dblommesteijn
Copy link
Owner

It's a pity this does not work for you out of the box. Unfortunately this UDP method is undocumented by GoodWE, and I think they do not really like the fact someone could potentially circumvent their SEMSportal.

You could try to increase timeout to 10000ms, let the inverter go off by itself later tonight, and check again tomorrow. Or force this by going into the inverter's web-interface via: http://192.168.0.175 (admin:admin) and reload the network module (this sometimes works), but usually a system off/ on is better (you could also force reload on the inverter itself, by clicking the button).

The fact SEMS is working can actually mean two things: or it's connected to SEMS and the UDP setting is not activated (went to sleepmode) somehow. Or there is some other issue why the UDP packages are not being received by your homebridge.

PS. while you're in there, it's best to change the default password of the build-in WiFi.

@MilanBacaCz
Copy link
Author

I can't receive these udp packages also on other computer.

@MilanBacaCz
Copy link
Author

I tried install python library "goodwe" pip install good we

And below script show me many information from inverter.

Maybe it could help you with my problem :-)

import asyncio
import goodwe

async def get_runtime_data():
ip_address = '192.168.0.175'

inverter = await goodwe.connect(ip_address)
runtime_data = await inverter.read_runtime_data()

for sensor in inverter.sensors():
    if sensor.id_ in runtime_data:
        print(f"{sensor.id_}: \t\t {sensor.name} = {runtime_data[sensor.id_]} {sensor.unit}")

asyncio.run(get_runtime_data())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants