dblommesteijn / homebridge-goodwe-inverter

GoodWe Inverter LAN readout for Homebridge.io
Apache License 2.0
2 stars 0 forks source link

GW10K-ET does not return any value #6

Open MilanBacaCz opened 2 days ago

MilanBacaCz commented 2 days ago

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:

dblommesteijn commented 2 days ago

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 commented 1 day ago

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 commented 1 day ago

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 commented 1 day ago

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 commented 1 day ago

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 commented 1 day ago

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 commented 1 day ago

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 commented 1 day ago

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 commented 1 day ago

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 commented 1 day ago

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

dblommesteijn commented 1 day ago

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 commented 1 day ago

SEMS is working OK.

dblommesteijn commented 1 day ago

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 commented 1 day ago

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