Replies: 16 comments 22 replies
-
The "Connect call failed" error is from pymodbus, not this integration. You can try rebooting your inverter or the server Home Assistant is running on. |
Beta Was this translation helpful? Give feedback.
-
same issue here. reboot of Inverter and HA did not change anything. No other instance is connecting to the Converter Modbus. [pymodbus.logging] Failed to connect [Errno 111] Connect call failed. If I read a register manually through the modbus integration I receive a value immediately. Home Assistant 2023.8.1 |
Beta Was this translation helpful? Give feedback.
-
I have not seen this problem in my HAOS test environments. |
Beta Was this translation helpful? Give feedback.
-
Also everyone needs to upload their diagnostic files and debug logs. |
Beta Was this translation helpful? Give feedback.
-
I am new to Home Assistant. What files do you need and where do I find them? |
Beta Was this translation helpful? Give feedback.
-
Go to any inverter or meter or battery device info screen and there is a button that says "download diagnostics", it will download a file that can be uploaded here. |
Beta Was this translation helpful? Give feedback.
-
Thanks... I will set up a fresh installation and set up the SolardEdge again. In case I run into the same issues I will post the log files. |
Beta Was this translation helpful? Give feedback.
-
I have made a fresh installation and get the same error. If I read the modbus with the same settings in iobroker I do not fail. |
Beta Was this translation helpful? Give feedback.
-
Those logs are from a different integration, not this one. |
Beta Was this translation helpful? Give feedback.
-
Sorry... my mistake. Looks like I tried the wrong one. Here is the log for your solution. home-assistant_solaredge_modbus_multi_2023-08-10T15-46-08.541Z.log |
Beta Was this translation helpful? Give feedback.
-
I don't know what iobroker is, show debug logs from that and your inverter modbus config. |
Beta Was this translation helpful? Give feedback.
-
Also you do know the inverter can only take one connection at a time, if whatever iobroker is connected nothing else can connect. |
Beta Was this translation helpful? Give feedback.
-
Converting to discussion because no evidence this is an integration issue. |
Beta Was this translation helpful? Give feedback.
-
Iobroker is simular to Homeassistant. This instance is offline, so no other program tries to reach the inverter. |
Beta Was this translation helpful? Give feedback.
-
Hi all, Sorry for the delayed info, but had no time to respond this week earlier. I encountered the error again today as I restarted the Home assistant. In my system there is no other device connecting to the modbus - just a single connection from home assistant. To resolve the error I had to delete it again and reintegrate it. home-assistant_solaredge_modbus_multi_2023-08-08T08-06-37.746Z.log There is one more issue that is happening sometime. Some individual information (B1 Energy Export and Import, or Solar Production) are unavailable. But just some of them, all other ones are stable. So I don't know why. If I reload the integration it is working properly - strange. |
Beta Was this translation helpful? Give feedback.
-
I'm having the same problem. The inverter becomes unreachable after restarting HASS. The only way to fix it is restarting the inverter. I presume it thinks there's an open connection and refuses any new one, remaining stuck in this state. Perhaps the integration is not closing the modbus connection properly on shutdown? Here's the diags. Thanks for the component btw. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
After a restart of HA the communication to modbus fails.
Expected behavior
Communication established also after restart
Screenshots

Debug Logs
2023-08-08 10:02:05.166 DEBUG (MainThread) [custom_components.solaredge_modbus_multi.hub] solaredge_modbus_multi configuration: number_of_inverters=1, start_device_id=1, detect_meters=True, detect_batteries=True, keep_modbus_open=True, adv_storage_control=False, adv_site_limit_control=False, allow_battery_energy_reset=False, battery_rating_adjust=0,
2023-08-08 10:02:05.166 DEBUG (MainThread) [custom_components.solaredge_modbus_multi.hub] coordinator timeout is 21.6
2023-08-08 10:02:05.174 WARNING (MainThread) [pymodbus.logging] Failed to connect [Errno 111] Connect call failed ('192.168.2.113', 1502)
2023-08-08 10:02:05.176 DEBUG (MainThread) [custom_components.solaredge_modbus_multi] Finished fetching SolarEdge Coordinator data in 0.010 seconds (success: False)
2023-08-08 10:02:05.419 WARNING (MainThread) [pymodbus.logging] Failed to connect [Errno 111] Connect call failed ('192.168.2.113', 1502)
Home Assistant (please complete the following information):
Additional context
After deleting the inegration, restarting HA and reintegrating of solaredge modbus multi, the integration is working properly
My configuration is the following:




Beta Was this translation helpful? Give feedback.
All reactions