I’m completely new to the setup. I would like to have both FusionSolar and HomeAssistant connected to the inverter via LAN. Is that possible? Which versions of the firmware make that possible?
I currently have V100R001C00SPC119 for my dongles and V200R001C00SPC109 for the inverters. I don’t know about the battery, it’s currently offline for some reason.
(Also, did anyone compile a guide for this somewhere? This topic has a lot of history of which some parts are probably deprecated now, others not, different firmware versions have been used, … Difficult to understand what the current go-to situation should be, but that may just be me of course!)
it’s possible, I have it that way.
Just setup normally for the fusion solar, then setup the hacs plugin. Use slave option when configuring for hacs.
I have these firmwares:
V100R001C00SPC123 for dongle and V100R001C00SPC139 for inverter.
Thanks for getting me those versions! Now I can tell my installer to upgrade to those specific ones.
Did you have to enable the port through the android app for this setup, or is the port open by default with these versions?
it is open by default on these versions. On the latest one for the dongle it didn’t worked for me, probably because of the port ( I didn’t know you can open it manually), so I downgraded to …spc123 and worked again. (previously I was on spc 122)
Here you have a guide: https://forum.huawei.com/enterprise/en/modbus-tcp-guide/thread/789585-100027
(it was also in this thread)
It’s possible to enable this feature (as this is inverter setting) even with inverter ver SPC139 and dongle SPC123 and then upgrade to 124 and it will just work.
Remember to have newest FusionSolar Android APP.
Today my inverter was plugged to grid, but so far without panels connected (icy roof, waiting for better weather). Meanwhile I am trying to set it up with HA already. So far no success.
My HA IP is 192.168.10.10, inverter via dongle is 192.168.10.60, same wireless network, dongle is pingable from HA terminal:
021-12-22 13:10:37 ERROR (MainThread) [huawei_solar.huawei_solar] failed to connect to device, is the host correct?
NoneType: None
2021-12-22 13:10:37 ERROR (MainThread) [custom_components.huawei_solar.sensor] could not connect to Huawei inverter: failed to connect to device, is the host correct?
My inverter firmware ends with SPC135 according to FusionSolar mobile app. No idea how to check dongle firmware. In fusion solar app on devices tab I have two devices - inverter as first and below something called hardware key, but this one doesn’t have any details after clicking.
What am I doing wrong?
EDIT:
I logged via https://eu5.fusionsolar.huawei.com/ and I see dongle firmware ends with SPC119 which from my information is too old. Starting to search how to update it.
Edit:
Just a side note I’d like to share with you guys for your information…
Today I’ve discovered new modbus command which can be used for obtaining SUN2000 inverter software version using dongle
Hi Guys,
Huawei is currently doing maintenance and the FusionSolar cloud is not accessible (in EU).
The side effect of this is that the dongle cannot connect and it’s thinking that a restart would help. As the result it is constantly restarting (ethernet link down/link up) about every 5 minutes which is leading to interruption with our Modbus/TCP readings…
It would be great if the dongle could ignore this and still work without rebooting itself…
So it’s correct. You will not have this values, they are only available when smart meter is connected to inverter.
In binary, 2147483647 is 01111111111111111111111111111111 and it’s the biggest positive number that will fit in 32 bits when using the “two’s complement” notation – the way of representing numbers that allows for negative values.