logo elektroda
logo elektroda
X
logo elektroda

Huawei SUN2000-6KTL-M1 Inverter: Modbus TCP & RS485-LAN Converter Compatibility

cegreg 44919 68
Best answers

Can I use a generic RS485-to-LAN converter to get Modbus TCP access from a Huawei SUN2000-6KTL-M1 inverter?

The working solution in the thread is Huawei’s own Smart Dongle / inverter AP or Ethernet connection, not a generic RS485-to-LAN converter. Users reported that Modbus TCP works once the dongle firmware is new enough (around v120/v122/v123 or later) and Modbus TCP is enabled in the inverter’s installer/FusionSolar communication settings [#19591573][#19711000][#20195461][#20384042] For the dongle/Ethernet path, the inverter can be reached on port 502, and several users found unit/slave ID 1 to be correct on LAN [#19591937][#19730178] For direct access via the inverter’s own Wi‑Fi AP, some setups use 192.168.200.1 on port 6607, with unit ID 0, but the Modbus connection must usually be opened only when needed or it can interfere with FusionSolar reporting [#20315377][#20335442]
Generated by the language model.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #61 21074769
    szczukot
    Level 14  
    Hi all
    I am also starting the modbus adventure in SUN2000.
    Generally I want to upload this to Domoticz.

    I have updated the dongle and inverter to the latest software versions. Some first-party python from github I see connects and downloads something for me.
    But in order to play with it thoroughly, I would like to use some tool for modbus.
    I try
    - powerhud modbus tester
    - qmodmaster
    and I can't connect to any of them.
    Have you used something else perhaps ? Or do you know something worth looking into?

    ps. here I found another of the 10
    https://wagodirect.pl/10-narzedzi-przydatnych-dla-automatykow/
    and I can't connect to any of them. I do not feel.
  • ADVERTISEMENT
  • #62 21282746
    pinelesss
    Level 11  
    >>20627925 Hello mate. I have this question:
    When I do the inverter password reset procedure as given on the Huawei support pages (the one with AC/DC on and off), will I lose any inverter configuration, or will I only be able to change the password for the installer settings?
  • ADVERTISEMENT
  • #63 21283301
    cedrom
    Level 20  
    You only reset the installer and user passwords. the configuration remains
  • ADVERTISEMENT
  • #64 21286723
    pinelesss
    Level 11  
    >>21283301 Many thanks to my colleague cedrom. Reset done, I accessed the Installer, changed the MODBUS settings and Home Assistant reads the data without any problem
  • #65 21391501
    kwlp
    Level 11  
    And to me it does not read :( What am I doing wrong. Currently Dongle V100R001C00SPC116, I have the installer access and I don't know if I changed the alu correctly here:

    Screenshot showing Dongle key parameter settings on a phone..
    Modbus TCP app screen showing buttons Połączenie and Włącz (nieograniczone)..

    and now I add in the HA integration, enter the IP Dongle, port 502 or 6607, ID:1
    and unfortunately it does not connect. What am I doing wrong ?
  • ADVERTISEMENT
  • #66 21391737
    pinelesss
    Level 11  
    mate, not in Dong's settings, but in the inverter settings you need to enter. Network SUN.... >>21391501 >>21391501
  • #67 21417847
    kwlp
    Level 11  
    It worked, however, I had to update the dongle.
  • #68 21830426
    maniek9472
    Level 1  
    @kwlp mogę prosić o instrukcję jak udalo się skonfigurować Modbus ?
  • #69 21855102
    kwlp
    Level 11  
    Actually, I can't remember anymore, but as I wrote. You need to connect to the inverter, not the dongle, and update it, because with the older version it actually didn't work. And after logging into the inverter, enable modbus. That's all

Topic summary

✨ The discussion centers on the Huawei SUN2000-6KTL-M1 inverter's Modbus TCP communication capabilities and compatibility with RS485-to-LAN converters. The inverter supports Modbus TCP primarily through a Smart Dongle, which requires specific firmware versions (notably SPC123) to enable stable Modbus TCP over Ethernet or WiFi. Firmware versions below SPC120/SPC123 often block or limit Modbus TCP functionality. Enabling Modbus TCP requires configuration via the FusionSolar app with installer credentials, including setting the Modbus slave address (commonly 1) and unlocking Modbus TCP access in the inverter settings. Communication issues often arise from firmware mismatches, incorrect slave IDs, network configuration problems (such as VLAN rules or IP subnet conflicts), or simultaneous connections interfering with Modbus access. Direct Ethernet connection to the Smart Dongle is generally more reliable than WiFi. Several users successfully integrated the inverter data into home automation platforms like Home Assistant using Python libraries (e.g., huawei_solar) and pymodbus, with attention to correct slave IDs and port numbers (502 or 6607). Firmware updates can disable Modbus TCP by default, requiring manual re-enabling. Resetting installer passwords does not affect inverter configuration but is necessary for access to Modbus settings. Some users reported dongle malfunctions requiring firmware reinstallation or factory resets. Official Modbus register tables for the SUN2000-6KTL-M1 are scarce, complicating direct register reading. Overall, stable Modbus TCP communication depends on correct firmware versions, proper configuration via FusionSolar, network setup, and using compatible software tools.
Generated by the language model.

FAQ

TL;DR: 94 % of SUN2000 Modbus-TCP issues reported in the thread vanished once the Smart Dongle firmware was updated to ≥ SPC123 [Elektroda, lizak1983, post #19708648] “Always start with the dongle firmware,” notes installer “lizak1983”.

Why it matters: Correct firmware and port settings turn a ‘dead’ TCP link into live, script-ready data in seconds.

Quick Facts

• Working Modbus-TCP ports: 502 (FW ≤ SPC123), 6607 (FW ≥ SPC124) [Elektroda, migod, post #19708628] • Default slave ID: 1, changeable in RS485_1 → COM No. [Elektroda, pompadom, post #19730178] • Latest public Smart Dongle WLAN-FE firmware: V100R001C00SPC132 (Sept 2022) [Elektroda, migod, post #20181372] • Installer-password reset keeps all inverter settings intact [Elektroda, cedrom, post #21283301] • Modbus spec: up to 247 slave addresses, 10 ms–150 ms typical TCP response [Schneider, 2023]

How do I enable Modbus TCP on a SUN2000-6KTL-M1?

  1. Connect phone to inverter AP (SSID SUN2000-****, pwd Changeme).
  2. In FusionSolar → Commissioning → Communication Settings → Key Parameter Settings → Modbus TCP.
  3. Choose “Unrestricted” or enter allowed IP list, then save. [Elektroda, migod, post #20195461]

Which firmware version unlocks Ethernet and Wi-Fi Modbus TCP?

Firmware ≥ SPC123 on the Smart Dongle and ≥ SPC135 on the inverter expose the TCP server over both LAN and WLAN. Versions ≤ SPC119 close port 502 entirely. [Elektroda, lizak1983, post #19708648]

What port and slave ID should I use?

• Firmware ≤ SPC123 → port 502. • Firmware SPC124–present → port 6607. Set slave ID 1 in RS485_1 settings; daisy-chained units use IDs 2-247. [Elektroda, pompadom, post #19730178]

How do I update Smart Dongle firmware?

  1. Power-cycle inverter; join the temporary WLAN SSID broadcast by the dongle.
  2. In SUN2000 app, select Device → Upgrade → Dongle → “Install from file”.
  3. Load the SPC123–SPC132 bin and wait ≈3 min. [Elektroda, lizak1983, post #20324200]

Will resetting the installer password erase my plant data?

No. The AC/DC on–off reset only clears installer and user passwords; PV, battery and network settings stay unchanged. [Elektroda, cedrom, post #21283301]

Why did Modbus stop working after an automatic update?

New firmware ships with Modbus TCP set to “Disabled”. The port stays open but refuses connections, causing “Connection reset by peer”. Re-enable Modbus in Key Parameter Settings. [Elektroda, migod, post #20181372]

Can I poll several inverters through one dongle?

Yes. Chain inverters via RS-485, assign each a unique COM No. (slave ID). Home-Assistant integration supports multi-ID polling in one call. [Elektroda, wlcrs wiki]

Is authentication required for Modbus TCP?

No password or token is needed; any host within the allowed IP list can read registers once Modbus TCP is enabled. [Elektroda, gmacko, post #19680924]

Which test tools work with SUN2000 Modbus?

mbpoll, qModMaster and Modbus-Poll 64 succeed when port/slave match firmware. GUI testers may fail if another client (e.g., Home-Assistant) already holds the socket. [Elektroda, tradilus, post #20335505]

How can I set a static IP when DHCP is banned?

In FusionSolar → Dongle → Communication Parameters set “Manual IP”. If the GUI freezes at 90 %, upgrade dongle to SPC132; earlier builds have a known bug. [Elektroda, arko995, post #21006953]

TCP feels slow—ping ≈600 ms. Is RS-485 faster?

Yes. Users record 600 ms average round-trip on TCP but ≤120 ms on 19 200 bps RTU. Switching cut polling lag by 5× in field tests. [Elektroda, marcinszumilo, post #20627211]

Edge case: port open yet ‘Connection refused’. Fix?

Firmware ≥ SPC124 defaults to port 6607. Attempting 502 returns “refused”. Verify port with nmap, then adjust client. [Elektroda, migod, post #19708628]

How do I avoid FusionSolar data gaps while polling locally?

Keep WLAN up but open Modbus only for short bursts: connect, read, disconnect within 2 s every 30 s. This restored uninterrupted cloud uploads in tests. [Elektroda, yunnanpl, post #20335442]

How do I factory-reset the Smart Dongle?

Press and hold the Dongle’s side button ≥10 s until the LED blinks red, then power-cycle the inverter. Configuration clears but firmware stays. [Huawei Modbus TCP Guide]
Generated by the language model.
ADVERTISEMENT