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 get your component to work #6
Comments
How do you connect to the inverter? Some of them (SUN2000 series I think) will only accept modbus connections when you are connected through the inverter WiFi access point. |
I'm connected through lan. (On the WiFi stick) |
You will need to set up a separate WiFi connection with the inverter WiFi access point to be able to connect with the modbus server. |
Now I have this error
|
|
Ok, seems like you are able to connect now, but reading the register fails. Do you happen to have anything else connected with the modbus server? It only supports one connection at the same time. Do any other register addresses work? (Your device is listed as supported in the Interface.Definitions.V3.0.pdf so |
I have the FusionSolar app |
|
Is that the app that uses cloud connection, or the one that needs a connection with the inverter WiFi access point? The cloud one shouldn't be an issue, but the other one might interfere. |
I think the cloud connection
|
Are you sure you are connected correctly? I see the subnet has not changed. You're still on |
I'm sorry, I've found it... - platform: huawei_solar
host: '192.168.200.1'
optimizers: false
battery: false |
Sometimes I'm seeing this issues
Should I open another issue for this? |
This will be fixed once we can use async pymodbus, for now the component is just slow. For the other issues, does it happen very often? I would just ignore it if it doesn't happen too often, I don't think I can do anything about it anyway... |
It happens +/- 2 times an hour... |
Since the new HA this component never starts again
|
I'll look into it |
Me too. Thanks Emilv2 for your work!!! |
Exactly, I have the same problem. The biggest problem is that going back to the previous verse doesn't help. Any idea? |
Ok, give me some time. I just found out it's possible to install requirements from git, so I think I will just make it async first and see if that solves the issue. |
Hi! could you check it out? Thanks!!! |
CORE Log:
nmcli Log:
ping to Huawei Solar20005KTL
sensors.yaml:
Hassio |
Don't know if it was casual or not, but after some tests downloading (not using as they do not work with huawey) other modbus integration (SAJ Inverter Modbus) this integration started working again. |
I currently monitor the inverter using another app via modbus-tcp. However If I try to connect HA also to the same modbus IP/port, everything collapses and it stops responding. Is this a firmware version related issue on the side of the inverter or a limitation in modbus-tcp specifications (no more than a single client expected). Thanks! |
@javierin As far as I know this is a limitation in the modbus-tcp implementation on the inverter, only one client at a time can connect. Apparently there is a firmware update for a dongle that solves some issues with modbus: https://community.openhab.org/t/reading-data-from-huawei-inverter-sun-2000-3ktl-10ktl-via-modbus-tcp-and-rtu/87670/83?u=emilv2, but I don't know anything about firmware updates for the inverter. You could always try to contact Huawei to see if there are firmware updates for your inverter at: eu_inverter_support@huawei.com. |
Yes, I recently upgraded the dongle to a newer version, but that was a couple of months ago, I have sent support an email asking for any updates. Thanks |
Hi, this application is exactly what I was looking for. Unfortunately I can't get it to run. I have a Sun2000 6 KTL M1 whose IP in the network I know. I installed the repository via HACS as a custom repository and it is now also available as an integration under HACS. Additionally I added the part for the sensor in configuration.yaml. sensor: But now I can't find any sensor or anything from the inverter, did I forget something? |
I have an Huawei SUN2000-4KTL-M1
Home Assistant errors:
Errors in command line
The text was updated successfully, but these errors were encountered: