core: Goodwe Integration can not connect

The problem

My Inverter can not connect to my Homeassistant since yesterday.

What version of Home Assistant Core has the issue?

core-2024.11.3

What was the last working version of Home Assistant Core?

core-2024.11.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

GoodWe Inverter

Link to integration documentation on our website

https://www.home-assistant.io/integrations/goodwe/

Diagnostics information

2024-11-26 19:28:46.794 DEBUG (MainThread) [goodwe] Connecting to ET family inverter at 192.168.178.10:8899. 2024-11-26 19:28:46.794 DEBUG (MainThread) [goodwe.protocol] Creating lock instance for current event loop. 2024-11-26 19:28:46.795 DEBUG (MainThread) [goodwe.protocol] Sending: READ 33 registers from 35000 (f70388b800213ac1) 2024-11-26 19:28:47.798 DEBUG (MainThread) [goodwe.protocol] Failed to receive response to READ 33 registers from 35000 (f70388b800213ac1) in time (1s). 2024-11-26 19:28:47.798 DEBUG (MainThread) [goodwe.protocol] Sending: READ 33 registers from 35000 (f70388b800213ac1) - retry #1/10 2024-11-26 19:28:48.799 DEBUG (MainThread) [goodwe.protocol] Failed to receive response to READ 33 registers from 35000 (f70388b800213ac1) in time (1s). 2024-11-26 19:28:48.799 DEBUG (MainThread) [goodwe.protocol] Sending: READ 33 registers from 35000 (f70388b800213ac1) - retry #2/10 2024-11-26 19:28:49.800 DEBUG (MainThread) [goodwe.protocol] Failed to receive response to READ 33 registers from 35000 (f70388b800213ac1) in time (1s). 2024-11-26 19:28:49.800 DEBUG (MainThread) [goodwe.protocol] Sending: READ 33 registers from 35000 (f70388b800213ac1) - retry #3/10 2024-11-26 19:28:50.801 DEBUG (MainThread) [goodwe.protocol] Failed to receive response to READ 33 registers from 35000 (f70388b800213ac1) in time (1s). 2024-11-26 19:28:50.801 DEBUG (MainThread) [goodwe.protocol] Sending: READ 33 registers from 35000 (f70388b800213ac1) - retry #4/10 2024-11-26 19:28:51.802 DEBUG (MainThread) [goodwe.protocol] Failed to receive response to READ 33 registers from 35000 (f70388b800213ac1) in time (1s). 2024-11-26 19:28:51.802 DEBUG (MainThread) [goodwe.protocol] Sending: READ 33 registers from 35000 (f70388b800213ac1) - retry #5/10 2024-11-26 19:28:52.803 DEBUG (MainThread) [goodwe.protocol] Failed to receive response to READ 33 registers from 35000 (f70388b800213ac1) in time (1s). 2024-11-26 19:28:52.804 DEBUG (MainThread) [goodwe.protocol] Sending: READ 33 registers from 35000 (f70388b800213ac1) - retry #6/10 2024-11-26 19:28:53.805 DEBUG (MainThread) [goodwe.protocol] Failed to receive response to READ 33 registers from 35000 (f70388b800213ac1) in time (1s). 2024-11-26 19:28:53.805 DEBUG (MainThread) [goodwe.protocol] Sending: READ 33 registers from 35000 (f70388b800213ac1) - retry #7/10 2024-11-26 19:28:54.806 DEBUG (MainThread) [goodwe.protocol] Failed to receive response to READ 33 registers from 35000 (f70388b800213ac1) in time (1s). 2024-11-26 19:28:54.807 DEBUG (MainThread) [goodwe.protocol] Sending: READ 33 registers from 35000 (f70388b800213ac1) - retry #8/10 2024-11-26 19:28:55.807 DEBUG (MainThread) [goodwe.protocol] Failed to receive response to READ 33 registers from 35000 (f70388b800213ac1) in time (1s). 2024-11-26 19:28:55.807 DEBUG (MainThread) [goodwe.protocol] Sending: READ 33 registers from 35000 (f70388b800213ac1) - retry #9/10 2024-11-26 19:28:56.809 DEBUG (MainThread) [goodwe.protocol] Failed to receive response to READ 33 registers from 35000 (f70388b800213ac1) in time (1s). 2024-11-26 19:28:56.809 DEBUG (MainThread) [goodwe.protocol] Sending: READ 33 registers from 35000 (f70388b800213ac1) - retry #10/10 2024-11-26 19:28:57.809 DEBUG (MainThread) [goodwe.protocol] Max number of retries (10) reached, request READ 33 registers from 35000 (f70388b800213ac1) failed. 2024-11-26 19:28:57.810 DEBUG (MainThread) [goodwe.protocol] Socket closed.

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 3
  • Comments: 18

Most upvoted comments

The experimental HACS version of the Integration still works as intended, so I wonder the difference here is.

Hi, I sniffed the Solar Go packet. It just sends WIFIKIT-214028-READ via UDP Broadcast on Port 48899. It works for me to add this command to the configuration.yaml:

# Re-enables communication with goodwe inverter
shell_command:
  trigger_goodwe: echo "WIFIKIT-214028-READ"|nc -b -u -w1 255.255.255.255 48899

and add an automation, which triggers this command whenever my sensor value goes lost:

- id: '1736001853550'
  alias: Broadcast Goodwe when sensors are unavailable
  description: ''
  triggers:
  - entity_id: sensor.house_consumption
    to: unavailable
    trigger: state
  - entity_id: sensor.house_consumption
    to: unknown
    trigger: state
  conditions: []
  actions:
  - action: shell_command.trigger_goodwe
    metadata: {}
    data: {}
  mode: single

Heya there @xxLexanixx I had the ssame problem with my unit after switching to a new router. I solved it by going into the goodwe integration, then clicking the 3 dots next to the current integration-entry and deleting it, followed by re-registering (New Entry) my inverter with its current ip-adress.

After that, everything works again.

I think the new router assigned a new IP adress without publicizing it to the integration, so it wasn’t able to find the inverter.

I hope, that my solution helps 😃