Ciao @manio Thanks for your response. My question is which is the specific one which is used in emilv2’s component to provide the sensor.sun2000_6ktl_l1 value.
KR
Do you have newest fusion solar app and newest software version in the inverter?
Look at this post:
For the monophase L1:
|### eu_inverter_support|vie, 24 dic, 14:31 (hace 2 días)||
Hi, Gonzalo.
We have confirmed with the R&D team that the latest SPC117 version supports Modbus TCP login only through Wi-Fi connected to the SUN2000 inverter and also currently, other methods are not supported.
Thank you for understanding!
Merry Christmas & Happy Holidays!
Sorry I think I’m not explaining myself. The component provides in HA one sensor with one value and multiple attributes. What I’m trying to get is the registry of the value of that specific sensor.
Thanks
modbus:
- name: Solar
type: tcp
host: 192.168.200.1
port: 502
sensors:
- name: Solar SunPower
address: 32080
unit_of_measurement: W
data_type: int
count: 2
scale: 1
precision: 1
scan_interval: 30
src/huawei_solar/huawei_solar.py · master · Emil Vanherp / HuaweiSolar · GitLab Here you can see all the possible values and their register addresses. The state of the main sensor is the active_power
value with register value 32080
. Is that what you want to know?
Hi all,
I’m trying to connected to the Sun2000-4.6KTL-L1 inverter with the Huawei-Solar integration and with the modbus example.
Not one is working for me. The Huawei-Solar Integration only gives me: "Setup of sensor platform
huawei_solar is taking over 10 seconds."
The modbus example stated by ligeza gives me:
Solar SunPower with int is not valid, trying to convert
Pymodbus: Solar: Modbus Error: [Connection] ModbusTcpClient(192.168.200.1:502): Connection unexpectedly closed 0.000124 seconds into read of 8 bytes without response from unit before it closed connection
I’m connecting my HA to the SUN2000 AP. The host is reachable from the HA docker image.
Any idea what I’m missing?
I notice that there are some updates available for my SUN2000:
Inverter: V200R001C00SPC107
MBUS-upgrade: V100R001C00B021
Thanks!
EDIT:
I got it working! The problem was the build in wifi in my rpi4 was not strong enough! So for all the others: I got it working by installing an aditional usb wifi adapter and connecting it to the sun2000 internal wifi AP (hotspot) using the network-manager package. Next I configured the Huawei solar integration. The sensor name you need to look for is: sensor. sensor.sun2000_4_6ktl_l1_<private_ID>. This will give you the current pv output in W. Next up tryng to figure out how to get the state atributes in lovelace.
I am wondering as well if anyone updated that second position which is MBUS.
sorry if what I’m about to ask has already been answered before, but: is there any way to visualize instantaneous solar PRODUCTION? I mean the solar power that is being produced, not the power that is being consumed. I would like to know if, for example, I could connect a device whose consumption is 2kw and know in advance if the solar panels would be able to absorb said consumption before plugging it in …
thank you!
Soon (next week) it should be possible to enable the MODBUS TCP from the cloud, I was told today by the helpdesk.
Hi Marchel, Do you happen to know if that MODBUS TCP also will be available over ethernet?
Problem is that last night the connection to the AP of the inverter dropped and could not be restored automatically. If Ethernet is supported in the latest firmware version that would be great.
Ethernet is supported in the latest version.
Is there anyone that gets this message suddenly ?
I needed to restart Home assistant yesterday and today when tried to reboot again i got this message
Logger: pymodbus.client.asynchronous.async_io
Source: /usr/local/lib/python3.9/site-packages/pymodbus/client/asynchronous/async_io/__init__.py:307
First occurred: 11:07:26 (29 occurrences)
Last logged: 13:35:04
Failed to connect: [Errno 110] Connect call failed ('192.168.200.1', 502)
I’m new to HA and with the help of this topic i succed to install huawei custom component! Thx a lot! Now i need help from someone to help with the syntax in yaml for a automation by the entity sensor.sun2000l_3ktl and state value
which gives me production power from solar panels and entity sensor.sun2000l_3ktl
with attribute power_meter_active_power
which value is consumption power.
The idea when difference from the production power and consumption power is more or egual to 2000 then to trigger something, in my case will be a water heater relee (sonoff powr3)… i need only the if syntax
in yaml with those variables.
I think this should work:
{% if state_attr('sensor.sun2000l_3ktl', 'power_meter_active_power') | float(0) > 2000 %}
In my opinion You don’t need current production. If power_meter_active_power
is bigger then 2000 that mean you are exporting 2000W to grid which you can use for water heater.
Hello,
I have updated the inverter yesterday to V200R001C00SPC117 and now Modbus TCP isn’t working anymore. Port 502 is closed. I contacted eu.inverter.support and they told me this :
I’m unable to ‘Upgrade’ to the old version as I don’t know how to manually select a upgrade package in the new APP.
Anyone knows how ?
Download the firmware package in your mail via a browser on your phone or transfer it to your phone.
Via the fusionsolar app upgrade menu you can select the upgrade (or downgrade in this case) package and flash it. It will give you a warning that it can fail. I did the same downgrade a few days ago without any issues. I also have a 4.6KTL.
Thank you Frederic, but I don’t have an option to select a package in the app:
Only the current one is showing.
How do I select the zip file ?