This is my first post …Hello everyone
I have a Sun2000-8KTL-M1 inverter. I asked tech support for a new dongle firmware and got this answer:
Hello,
My recommendation for you is to wait until the improved version SPC123 for the SDongle will be launched by the end of this week as expected.
I also recommend you to upgrade your inverter to the latest SPC135 (currently, your inverter is running SPC133).
Please let me know, do you want me to perform the upgrade for you remotely? or do you prefer to provide you the SPC135 software package?
So it looks like it. that Version SPC122 seems to have some problems.
okey but it wont connect so i cant ping it sadly … and the versions you talk about i cant upgrade to they dont show up and i cant upload any file either
You’ll need the SPC122 firmware to access modbus over the dongle locally, but that firmware version won’t show up in the web portal as yet, you have to manually upgrade it using the Fusion Home app in commission/installer mode.
I just went through this with Huawei support, though for me specifically it was due to being on SPC109 which doesn’t support the upgrade path in their documentation, need at least SPC115 or higher to use the app to upgrade it locally. Otherwise you need installer access on the cloud portal to get to at least SPC115/116 then you can go to the SPC122.
In terms of the upgrade, since you are on SPC118 you should be able to upgrade locally following the upgrade guide in the release documents zip below (section 3.4.2). Basically open the fusion solar app, go into device commission mode, select the dongle as the device type you want to upgrade. Then you need to connect to the dongle over the local wifi (that the dongle creates on power up), or over your local network directly. Assuming the installer password has not been changed the password will be 00000a, then go to the maintenance section, and then select the packge.zip file with SPC122 and upload that.
Got my inverter installed today and thought: Install the github in HACS, start it and you’re set. Well. Total fail. This is by far the most complex piece of software to install, and very little documentation compared to the complex situation - please don’t take that as sounding ungrateful - i just thought it would be easier ). I flew over those 600 posts, and THINK that I got a little more knowledge now.
With my dongle being on version 100 (or is it 1.00?) it’s not possible to connect modbus over tcp on ethernet. I wish I could do it over wifi, but adding wifi to the RPI4 and then having other problems (wifi connection being not stable) was a no-go.
So I dl’d the 1.22 firmware and wanted to flash it. But I haven’t got the installer password. Seems this is “owned” by the company that installed it. Any way to reset it? This hardware belongs to me, so I expect to have full control over it?!
Is it possible to upgrade the dongle w/o installer rights? There is NO device management tab in my fusionwebportal.
And if I can’t reset the installer pwd: What is the wifi-pwd of the inverter’s AP? How would I connect the RPI to it w/o knowing the AP-password?
LOL! No, I never assumed they left it unchanged I’m connected. Thanks!
Well now to the next problem:
curl -v 192.168.200.1:502 works. I can connect and am welcome
Then I add this to configuration.yaml
modbus:
name: solar
type: tcp
host: 192.168.200.1
port: 502
and this to sensors.yaml
- platform: modbus
registers:
- name: Solar Max active power
unit_of_measurement: W
count: 2
register: 30075
data_type: uint
- name: Solar total production
unit_of_measurement: kWh
count: 2
register: 32114
data_type: uint
scale: 0.01
precision: 2
log says, that modbus is setup, but I don’t see any sensors being added.
Thanks. Works now. I was hoping to have the sensors in sensors.yaml. Added them now to configuration.yaml and it works.
Btw: slave: 1 needs to be uncommented for Wifi as well!
This is the output (it’s night ). Tomorrow we’ll see more …
My inverter was just now turned on. I am using 10KTL-M1 inverter with wifi dongle. Below is the screenshot of the fusion app.
this is the code I have in configuration.yaml file.
sensor:
As I see in screenshot you are connected to wifi from smart dongle. So integration will not work. To read data directly from inverter you have two options:
connect to internal inverter WiFi (not smart dongle)
connect with LAN cable to smart dongle (smart dongle must have firmware ending with 120 or newer)
z poziomu RSP pinguję bez problemu inwerter
i cały czas otrzymuję poniższe:
Logger: huawei_solar.huawei_solar
Source: /usr/local/lib/python3.9/site-packages/huawei_solar/huawei_solar.py:297
First occurred: 13:21:55 (1 occurrences)
Last logged: 13:21:55
failed to connect to device, is the host correct?
Traceback (most recent call last):
File “/usr/local/lib/python3.9/site-packages/huawei_solar/huawei_solar.py”, line 293, in read_register
response = self.client.read_holding_registers(
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 108, in execute
raise ConnectionException(“Failed to connect[%s]” % (self.str()))
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.69.102:502)]
Jaka wersja softu w donglu, bo spc134 to wersja firmware w falowniku. W donglu musi być spc120 lub 122 i podobno miała wyjść jeszcze nowsza, ale nie sprawdzałem czy już jest.
oczywiście u mnie nie może nic zadziałać od tak… pobralem wersję SPC122 i aktualizacja dochodzi do 80%, po czym apka (SUN2000) wyświetla komunikat: “Brak urządzenia do uaktualnienia” klikam Potwierdź i pozostaje przy starej wersji…
U mnie też chyba tak było przy aktualizacji, ale wypiąłem dongla z falownika i podpiąłem ponownie i okazało się że jest aktualizowane firmware. Falownika nie wyłączałem przy wyciąganiu i wkładaniu dongla.
Since I am in Pakistan, so I had to use this link to check my interver and dongles’s software version by logging on https://intl.fusionsolar.huawei.com/. My firmware version is PC119 it seems I have to go with router connected to Inverter’s wifi which SSID is something like SUN2000XXXXX
Go to Plants> devices