Modbus client is not connected to the inverter #334
Replies: 13 comments 5 replies
-
I had the same problem a few days ago and it worked again reinstaling this pakage. |
Beta Was this translation helpful? Give feedback.
-
Hi @tremebundo, which package you installed? The package is intend for Home Assistant or for the inverter? |
Beta Was this translation helpful? Give feedback.
-
This is a common issue for me as well after HA updating or HA restarting. |
Beta Was this translation helpful? Give feedback.
-
Hi @johanvh83 , I mean this custom component. |
Beta Was this translation helpful? Give feedback.
-
I also have a problem with connecting to inverter last days |
Beta Was this translation helpful? Give feedback.
-
Same issue here! |
Beta Was this translation helpful? Give feedback.
-
@tarmor1 & @tremebundo, how guys do you connect to the inverter, by Wifi? Do you have the Dongle? |
Beta Was this translation helpful? Give feedback.
-
@johanvh83 even with new inverter firmware is still be possible to connect by using a WiFi USB stick on your Home Assistant server. In my case when I restarted Home Assistant works fine for some minutes and then disconnected from the inverter |
Beta Was this translation helpful? Give feedback.
-
So you believe the inverter still sends Modbus data over TCP (Wifi). Hopefully someone can clarify, maybe @wlcrs |
Beta Was this translation helpful? Give feedback.
-
Yes, I am connected right now to the wifi for the installer in the inverter. The one with fixed IP 192.168.1.200 and I get the data. I do not have any dongle or serial connection. And it has the latest firmware revision. |
Beta Was this translation helpful? Give feedback.
-
@wlcrs, so you are connnected to the Access Point from the inverter with SSID SUN2000-etc. |
Beta Was this translation helpful? Give feedback.
-
Had the same issue, updated to the newest dongle firmware and the newest HA version (Core and Supervisor), removed the Huawai Solar integration, reinstalled it, connected to the dongle thru FE on Port 502 Slave 1 and bingo. My recommendation is you contact your installer and make them change your user from "Owner" to "Installer" on your PV. From the webinterface (with the installer role) you can easily pull and upgrade your devices with the newest firmware thru the "Update Managment" menu: |
Beta Was this translation helpful? Give feedback.
-
Hey, does anyone can support with this issue? I'm currently setting up a new HA OS as my current one is more like a sandbox and running in a docker container. On my "old" HA running in docker the integration is working fine, I'm getting all data and had no such error within the last 7 months (since I configured the integration the first time). Now on my "new" HA I started adding all integration I'd need, but when trying to configure this integration with IP, port (502 or 6607 tried both) and slave ID's "1" as the dongle is connected, I'm always getting this warnings and error: This error originated from a custom integration. Logger: huawei_solar.huawei_solar Could not read register value, has another device interrupted the connection?Logger: huawei_solar.huawei_solar Modbus client is not connected to the inverter.
|
Beta Was this translation helpful? Give feedback.
-
Describe the issue
I checked the discussion but nothing could help me and it seems nobody is very responsive on the discussions.
The integrations worked for months, almost 2 years, without problem.
Since 2 days, I don't have any data anymore. Tried the almost I could but can't succeed.
When I ping the inverter, I get a reply and on FusionSolar all data is available.
I was a bit desperate and finally removed and re-installed the integration but after the popup with the IP address/port/ID it gives: 'Failed to connect' so I'm not able to check logs.
The inverter gets Wifi access from my router. In the past I connected by the local IP 192.168.100.117 to the inverter.
This option is not available from the drop-down 'how do you connect'. Is the setup changed?
The HA logs:
Logger: huawei_solar.huawei_solar
Source: /usr/local/lib/python3.10/site-packages/huawei_solar/huawei_solar.py:293
First occurred: 7:57:50 PM (12 occurrences)
Last logged: 8:11:00 PM
Modbus client is not connected to the inverter.
NoneType: None
and
This error originated from a custom integration.
Logger: backoff
Source: custom_components/huawei_solar/config_flow.py:114
Integration: Huawei Solar
First occurred: 7:58:21 PM (2 occurrences)
Last logged: 8:11:00 PM
Giving up _do_read(...) after 6 tries (huawei_solar.exceptions.ConnectionInterruptedException: Modbus client is not connected to the inverter.)
Bescribe your Huawei Solar Setup
Inverter Type: SUN2000-4.6KTL-L1
Inverter Firmware version: V200R001C00SPC130
SDongle present: no
Power meter present: single phase
Battery: LUNA2000 10kWh
Battery Firmware version: V100R002C00SPC106
How do you connect to the inverter?
Via the
SUN2000-<serial_no>
WiFiUpload your Diagnostics File
Drag & Drop your Diagnostics File here.
Upload your relevant debug logs
Please confirm the following:
Beta Was this translation helpful? Give feedback.
All reactions