-
Notifications
You must be signed in to change notification settings - Fork 41
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
Can't connect to inverter (port 502) #89
Comments
It more probably because of blocked port for Modbus on newest frimware. See info here https://github.com/wlcrs/huawei_solar/wiki/Connecting-to-the-inverter but I do not understand yet if this is another integration or only separate repo. |
You need to enable modbus tcp in the inverter with admin (installer) permissions |
And update firmware on both the Inverter and Dongle. The latest were working: #91 (comment) |
Any chance you could share the firmware files? I can't really find a way to download them from Huawei. |
Hello again. No clue why.... it was working and doesn't not work any more.
Also same fail for port 502 number. |
I'm having trouble getting this to work. I use this as my config:
sensor:
host: '192.168.123.133'
battery: true
And I see this in my loggings:
2022-06-10 14:57:31 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.123.133', 502)
2022-06-10 14:57:32 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.123.133', 502)
2022-06-10 14:57:34 ERROR (MainThread) [huawei_solar.huawei_solar] failed to connect to device, is the host correct?
NoneType: None
2022-06-10 14:57:34 ERROR (MainThread) [custom_components.huawei_solar.sensor] could not connect to Huawei inverter: failed to connect to device, is the host correct?
2022-06-10 14:57:34 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.123.133', 502)
2022-06-10 14:57:36 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.123.133', 502)
2022-06-10 14:57:37 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.123.133', 502)
2022-06-10 14:57:39 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.123.133', 502)
2022-06-10 14:57:40 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform huawei_solar is taking over 10 seconds.
2022-06-10 14:57:42 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.123.133', 502)
2022-06-10 14:57:48 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.123.133', 502)
2022-06-10 14:58:01 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.123.133', 502)
2022-06-10 14:58:04 WARNING (MainThread) [homeassistant.components.netatmo] Webhook not registered - https and port 443 is required to register the webhook
2022-06-10 14:58:27 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.123.133', 502)
2022-06-10 14:59:18 WARNING (MainThread) [pymodbus.client.asynchronous.async_io] Failed to connect: [Errno 111] Connect call failed ('192.168.123.133', 502)
I know they changed the installer password of the inverter upon installation. Could that be an issue?
The text was updated successfully, but these errors were encountered: