Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After update HA to 2022.02 connection error #79

Open
kazek127 opened this issue Feb 13, 2022 · 5 comments
Open

After update HA to 2022.02 connection error #79

kazek127 opened this issue Feb 13, 2022 · 5 comments

Comments

@kazek127
Copy link

Error reading modbus data
Traceback (most recent call last):
File "/config/custom_components/solaredge_modbus/init.py", line 187, in async_refresh_modbus_data
update_result = self.read_modbus_data()
File "/config/custom_components/solaredge_modbus/init.py", line 228, in read_modbus_data
self.read_modbus_data_inverter()
File "/config/custom_components/solaredge_modbus/init.py", line 552, in read_modbus_data_inverter
inverter_data = self.read_holding_registers(unit=1, address=40071, count=38)
File "/config/custom_components/solaredge_modbus/init.py", line 215, in read_holding_registers
return self._client.read_holding_registers(address, count, **kwargs)
File "/usr/local/lib/python3.9/site-packages/pymodbus/client/common.py", line 114, in read_holding_registers
return self.execute(request)
File "/usr/local/lib/python3.9/site-packages/pymodbus/client/sync.py", line 106, in execute
raise ConnectionException("Failed to connect[%s]" % (self.str()))
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.30.8:1502)]

From the machine where is installed HA I can get access to 192.168.30.8

@Pablo1
Copy link

Pablo1 commented Feb 13, 2022

Same here. I'm using port 502 but the error log shows 1502.

@purcell-lab
Copy link

purcell-lab commented Mar 15, 2022

Are you connecting to your SolarEdge inverter over the Wi-Fi interface?

ModbusTCP over wifi appears to be no longer supported with new firmware versions.

Have a look at #67

@kazek127
Copy link
Author

yes, that is correct. I call to SE support and they after update inverter block that option via wifi :/

@pepsonEL
Copy link

Yes in new FW modbus over WIFI was blocked.

@stuarts0011
Copy link

stuarts0011 commented May 10, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants