Closed barto64 closed 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!
These are my settings, the dongel has enabled de modbus tcp without restrictions. I cannot understand why it does not allows connections.
As a side note, my installation is made of two inverters which are connected
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: @.***>
Yes, I checked. Great thanks anyway. Will go to the community.
@barto64 Can you try to add your dongle to your WiFi. I had also problems with modbus over Ethernet.
@barto64 Can you try to add your dongle to your WiFi. I had also problems with modbus over Ethernet.
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.
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: @.***>
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.
System Health details
System Health
Home Assistant Community Store
GitHub API | ok -- | -- Github API Calls Remaining | 5000 Installed Version | 1.22.0 Stage | running Available Repositories | 986 Downloaded Repositories | 34Home Assistant Cloud
logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okHome 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 | yamlSpotify
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
Relevant debug logs