wlcrs / huawei_solar

Home Assistant integration for Huawei Solar inverters via Modbus
GNU Affero General Public License v3.0
559 stars 89 forks source link

[Bug]: #27

Closed barto64 closed 2 years ago

barto64 commented 2 years ago

System Health details

System Health

version core-2022.2.5
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.7
os_name Linux
os_version 5.10.98
arch aarch64
timezone Europe/Madrid
Home Assistant Community Store GitHub API | ok -- | -- Github API Calls Remaining | 5000 Installed Version | 1.22.0 Stage | running Available Repositories | 986 Downloaded Repositories | 34
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 7.4 -- | -- update_channel | stable supervisor_version | supervisor-2022.01.1 docker_version | 20.10.9 disk_total | 113.9 GB disk_used | 13.2 GB healthy | true supported | true board | odroid-n2 supervisor_api | ok version_api | ok installed_addons | Samba share (9.5.1), Check Home Assistant configuration (3.9.0), File editor (5.3.3), NGINX Home Assistant SSL proxy (3.1.1), Portainer (1.5.0), Duck DNS (1.14.0), Terminal & SSH (9.3.0), Mosquitto broker (6.0.1), BlueRiiot2MQTT (0.14.0), motionEye (0.12.0), Traccar (0.12.0), ESPHome (1.17.1), MariaDB (2.4.0), Z-Wave JS (0.1.53)
Lovelace dashboards | 1 -- | -- resources | 18 views | 12 mode | yaml
Spotify api_endpoint_reachable | ok -- | --

Solar Setup Details

SUN2000-5KTL-L1 + SUN2000-3.68KTL-L1 SDongleA-05 (FE) DDSU666-H single No battery

Describe the issue

Integration failed to connect after entering Ip and the 2 possible ports (502 & 6607)

Reproduction steps

  1. Adding the integration and entering the parameters I receive the "Fail to Connect" message
  2. I have ensure the Dongle has the MODBUS TCP enabled
  3. I have tried two possible ports as per the QA
  4. Have the lastest possible firmware version in dongle and inverters ...

Relevant debug logs

2022-02-11 17:30:20 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting to 192.168.1.91:502.
2022-02-11 17:30:20 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:30:20 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 502)
2022-02-11 17:30:20 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt.
2022-02-11 17:30:20 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:30:20 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 502)
2022-02-11 17:30:20 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 200 ms before next connection attempt.
2022-02-11 17:30:21 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:30:21 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 502)
2022-02-11 17:30:21 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 400 ms before next connection attempt.
2022-02-11 17:30:21 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:30:21 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 502)
2022-02-11 17:30:21 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 800 ms before next connection attempt.
2022-02-11 17:30:21 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 43006
2022-02-11 17:30:21 ERROR (MainThread) [huawei_solar.huawei_solar] Modbus client is not connected to the inverter.
NoneType: None
2022-02-11 17:30:22 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:30:22 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 502)
2022-02-11 17:30:22 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 1600 ms before next connection attempt.
2022-02-11 17:30:23 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:30:23 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 502)
2022-02-11 17:30:23 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 3200 ms before next connection attempt.
2022-02-11 17:30:27 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:30:27 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 502)
2022-02-11 17:30:27 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 6400 ms before next connection attempt.
2022-02-11 17:30:28 WARNING (MainThread) [aioshelly.block_device] device 192.168.1.10 initialize error - TimeoutError()
2022-02-11 17:30:33 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:30:33 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 502)
2022-02-11 17:30:33 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 12800 ms before next connection attempt.
2022-02-11 17:30:43 ERROR (MainThread) [homeassistant.components.netatmo] Error during webhook registration - 400 - Bad request - Allowed ports for webhooks are 80, 88, 443 and 9443. (21) when accessing 'https://api.netatmo.com/api/addwebhook'
2022-02-11 17:30:46 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:30:46 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 502)
2022-02-11 17:30:46 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 25600 ms before next connection attempt.
2022-02-11 17:30:59 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting to 192.168.1.91:6607.
2022-02-11 17:30:59 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:30:59 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 6607)
2022-02-11 17:30:59 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt.
2022-02-11 17:30:59 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:30:59 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 6607)
2022-02-11 17:30:59 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 200 ms before next connection attempt.
2022-02-11 17:30:59 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:30:59 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 6607)
2022-02-11 17:30:59 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 400 ms before next connection attempt.
2022-02-11 17:30:59 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:30:59 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 6607)
2022-02-11 17:30:59 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 800 ms before next connection attempt.
2022-02-11 17:31:00 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 43006
2022-02-11 17:31:00 ERROR (MainThread) [huawei_solar.huawei_solar] Modbus client is not connected to the inverter.
NoneType: None
2022-02-11 17:31:00 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:31:00 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 6607)
2022-02-11 17:31:00 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 1600 ms before next connection attempt.
2022-02-11 17:31:02 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:31:02 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 6607)
2022-02-11 17:31:02 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 3200 ms before next connection attempt.
2022-02-11 17:31:05 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:31:05 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 6607)
2022-02-11 17:31:05 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 6400 ms before next connection attempt.
2022-02-11 17:31:11 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:31:11 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 6607)
2022-02-11 17:31:11 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 12800 ms before next connection attempt.
2022-02-11 17:31:11 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:31:11 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 502)
2022-02-11 17:31:11 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 51200 ms before next connection attempt.
2022-02-11 17:31:19 ERROR (MainThread) [homeassistant.components.shelly] Timeout fetching Shelly Puerta Valla data
2022-02-11 17:31:24 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.
2022-02-11 17:31:24 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.1.91', 6607)
2022-02-11 17:31:24 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 25600 ms before next connection attempt.
wlcrs commented 2 years ago

Your dongle is not allowing connections.

Please check in the 'Device Comissioning' app in Settings --> Communication Settings if everything is properly configured. The modbus communication must be set to "Unrestricted". You can post screenshots if you are doubting your settings.

Please let me know what (combination of) settings fixed it for you. Then I can add it to the documentation: screenshots are easy and helpful!

barto64 commented 2 years ago

These are my settings, the dongel has enabled de modbus tcp without restrictions. I cannot understand why it does not allows connections.

IMG-0398 IMG-0399 IMG-0400

barto64 commented 2 years ago

As a side note, my installation is made of two inverters which are connected Installation

wlcrs commented 2 years ago

You've checked the settings on both inverters?

I don't have much more advice to give. I have an installation without SDongle (I connect to the SUNxxxxx wifi), and have only one inverter. So no practical experience in getting setups like these working properly.

You could ask on https://community.home-assistant.io/t/integration-solar-inverter-huawei-2000l/132350/last for some more advice.

On Sat, Feb 12, 2022, 07:52 barto64 @.***> wrote:

As a side note, my installation is made of two inverters which are connected [image: Installation] https://user-images.githubusercontent.com/47034221/153700658-42f1892f-34fd-407d-b3c0-6ef4ef8042a3.jpg

— Reply to this email directly, view it on GitHub https://github.com/wlcrs/huawei_solar/issues/27#issuecomment-1037024133, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQM5LEUG7Q6MUY226RUX3LU2X7UFANCNFSM5OE4MPFQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

barto64 commented 2 years ago

Yes, I checked. Great thanks anyway. Will go to the community.

gieljnssns commented 2 years ago

@barto64 Can you try to add your dongle to your WiFi. I had also problems with modbus over Ethernet.

gieljnssns commented 2 years ago

@barto64 Can you try to add your dongle to your WiFi. I had also problems with modbus over Ethernet.

barto64 commented 2 years ago

I did it and I managed to connect apparently although the integration still saying "Failed to connect". New log below:

2022-02-12 13:50:28 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting to 192.168.1.92:502. 2022-02-12 13:50:28 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:28 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:28 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:28 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:28 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:28 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:28 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:29 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 43006 2022-02-12 13:50:29 ERROR (MainThread) [huawei_solar.huawei_solar] Modbus client is not connected to the inverter. NoneType: None 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:32 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:32 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:32 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:32 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:32 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:32 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.

wlcrs commented 2 years ago

You are almost there!

That behavior occurs when you have multiple clients competing for access. Make sure to use 1.0.0a3 as it fixes some scenarios where old attempts become zombies that keep on retrying in the background. It's best to do a full power cycle of your HA machine to kill those zombies.

On Sat, Feb 12, 2022, 13:59 barto64 @.***> wrote:

I did it and I managed to connect apparently although the integration still saying "Failed to connect". New log below:

2022-02-12 13:50:28 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting to 192.168.1.92:502. 2022-02-12 13:50:28 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:28 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:28 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:28 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:28 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:28 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:28 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:29 DEBUG (MainThread) [huawei_solar.huawei_solar] Reading register 43006 2022-02-12 13:50:29 ERROR (MainThread) [huawei_solar.huawei_solar] Modbus client is not connected to the inverter. NoneType: None 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:29 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:29 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:30 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:30 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:31 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:31 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:32 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:32 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:32 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client connected to modbus server 2022-02-12 13:50:32 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol made connection. 2022-02-12 13:50:32 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Connected to 192.168.1.92:502. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Client disconnected from modbus server: None 2022-02-12 13:50:32 INFO (MainThread) [pymodbus.client.asynchronous.async_io] Protocol lost connection. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Waiting 100 ms before next connection attempt. 2022-02-12 13:50:32 DEBUG (MainThread) [pymodbus.client.asynchronous.async_io] Connecting.

— Reply to this email directly, view it on GitHub https://github.com/wlcrs/huawei_solar/issues/27#issuecomment-1037218964, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQM5LCBEUB5QGVR6XPRS2DU2ZKT3ANCNFSM5OE4MPFQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you modified the open/close state.Message ID: @.***>

barto64 commented 2 years ago

Thanks for the support. Silly me, i have just found my dongle firmware version is not the V100R001C00SPC124, it is V100R001C00SPC110, but I am not able to see where to download it. I have emailed to [eu_inverter_support@huawei.com] in trying to get it. On the other hand I am not quite sure what you mean with 1.0.0a3 . At least as you well say thanks to all contributions my dongle is now in my network and i have access to the port 502. Will make more attempts when i get the right firmware version.

Great thanks again.

wlcrs commented 2 years ago

https://community.home-assistant.io/t/integration-solar-inverter-huawei-2000l/132350/1235#how-to-test-3