Unexpected Error when trying to set up RS485 connection #100
Replies: 7 comments 12 replies
-
After frenetically just pushing Submit to create the integration I got a message "Created configuration for SUN2000-8KTL-M101074300-002". However nothing seems to work Error setting up entry SUN2000-8KTL-M101074300-002 for huawei_solar |
Beta Was this translation helpful? Give feedback.
-
Can you increase logging by adding the following to your
Restart HA and please post extracts from the full logs, not from the summary that you're quoting now. I hope to get some more detailed error messages, including line numbers that will help me diagnose the issue. Also, please remove any configuration that you have for the Do you have a battery attached to your inverter? |
Beta Was this translation helpful? Give feedback.
-
Full logs
|
Beta Was this translation helpful? Give feedback.
-
I forgot to also mention that I do not have a battery and the TCP integration didn't work, but I assumed that's because I was running the dongle on SPC119 which wasn't supposed to work and I decided to opt for the RS485 connection for being more stable and recommended also by you. Possibly if I upgrade the firmware of the dongle the Modbus TCP might work. |
Beta Was this translation helpful? Give feedback.
-
Just one question about pins used. Have you confirmed that you should use 1 and 3 in your inverter? I do not have an M1 so it may be different but my L1 requires to use pins 1 and 2 for the modbus client and 3 - 4 for meter and batteries |
Beta Was this translation helpful? Give feedback.
-
You have identical functionality using the serial or network connection
option.
…On Wed, Aug 17, 2022, 06:45 ctepelea ***@***.***> wrote:
Hello, sorry I was on holidays.
I did go out and buy another RS485 to usb device but it is still not
working, the behaviour is the same. It is a twisted pair that I’m using but
anyway the cable is like 5m long so I do not expect that this would be a
big issue. Tried different pairs as well. Just won’t work. I’ve run out of
ideas on what to try!
The good news is that I managed to get it to work via TCP after finding an
Android phone and updating the Sdongle Firmware.
The question is now whether I am losing any functionality via Modbus TCP
as opposed to RS485. My interest is to be able to remotely set the maximum
power of the inverter.
Thanks!
—
Reply to this email directly, view it on GitHub
<#100 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQM5LFVZDCVH7H4MVAICRTVZRU7BANCNFSM5475QLMQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
And derating the inverter is not possible, right?
Sent from my iPhone
On 17 Aug 2022, at 08:12, Thijs W. ***@***.***> wrote:
You have identical functionality using the serial or network connection
option.
On Wed, Aug 17, 2022, 06:45 ctepelea ***@***.***> wrote:
Hello, sorry I was on holidays.
I did go out and buy another RS485 to usb device but it is still not
working, the behaviour is the same. It is a twisted pair that I’m using but
anyway the cable is like 5m long so I do not expect that this would be a
big issue. Tried different pairs as well. Just won’t work. I’ve run out of
ideas on what to try!
The good news is that I managed to get it to work via TCP after finding an
Android phone and updating the Sdongle Firmware.
The question is now whether I am losing any functionality via Modbus TCP
as opposed to RS485. My interest is to be able to remotely set the maximum
power of the inverter.
Thanks!
—
Reply to this email directly, view it on GitHub
<#100 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQM5LFVZDCVH7H4MVAICRTVZRU7BANCNFSM5475QLMQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
—
Reply to this email directly, view it on GitHub<#100 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ASYJXCOQ2BENG2Q7GROR3NLVZRYFNANCNFSM5475QLMQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hello. I've fiddled for quite a while to setup this integration via RS485.
I have a SUN2000-8KTL-M1. Connected the RS data to 1 and 3 on the serial connector. The RS485 dongle is a OKY3406-6.
I keep getting the Unexpected Error when trying to set up.
I've checked 20 times and I don't seem to be doing anything wrong. I tried also swapping the cable terminals and then I get after about 20 seconds of trying the setup: "Reading from the inverter failed.".
I suppose the correct polarity for the wiring is the one where I get "Unexpected Error" immediately.
Beta Was this translation helpful? Give feedback.
All reactions