[APP][Pro] Modbus

Adress, i can only choose #0 or #1 in the Flow
I can only manually adjust size and Register.

I don’t know where i find information about “size”

Also. That document i had linked earlyer might be wrong!
I don’t have the Smart logger. so i guess this document is the one i should study: https://www-file.huawei.com/~/media/CORPORATE/PDF/FusionSolar/HUAWEI_SUN2000_245KTL28KTL_MODBUS_Interface_Definitions_20150715_JP.pdf

image
Still the same settings as previous (page 12)

is it OK to have modbuss adress 100 in the Intverters Dongle? ( i have set 100 in “Homey’s Device” too)

I meant changing the register.

Size is set internally based on the type. You can only set individual size for string type. For INT32, 2 registers are used.

Yes, it’s similar to other devices. In Homey you have to use the same ID which ist set in your inverter.

Based on the docs I think:

  • Address: REGISTER #1
  • Read Holding register (control 0x03)
  • type INT32
  • register 40525
    is right.

But I have no further ideas if that doesn’t work. You can only ask in Huawei forums.

Thank you for now.,


This is as far as i get…

For sh*t and giggles i installed another Modbus app to see if something happend.
And with that other app i get connected with the same settings as far as IP, Port and ID goes. (thats the red square in attached picture)

So. It feels like my inverter is correctly communicating?..
(I don’t want to use that app because its not as good. :slight_smile: )

“No connection” is perhaps caused by another connection done to your inverter. As default, Modbus allows multi connection tothe server while some devices don’t answer is another connection is active.
But this should only ocour from time to time.
The Modbsu error (wrong address) is another one.

What app is working for your? Which device did you add (the name from add device view)? Perhaps I can find something in the code.


on the left, what i tested for fun.

On the right, the one i don’t seem to get connected properly with

Current error

You can check the Modbus registers used by the app:
solaredge.modbus/drivers/huawei.ts at main · biemond/solaredge.modbus · GitHub

It seems this are addresses (I haven’t found a -1 subtraction) I , so try the option “address #0” first.


Will this flow set 0 export when price is below 0? i dont know if i should start with 0 or 1?


Or This?

You can not set export to 0.
You can only set charge/discharge limit for the battery. That means: If your panels are producing, and your battery is already full, then all energy goes into the grid.
Only way to prevent this is to activate “zero feed-in” in Fronius settings (via local access).

I only know changangeable registers for battery charge/discharge and not for production. But perhaps there is a register I haven’t seen.

Yesterday i read a forum for Home Assistant and i think the last flow may be correct. The first card is turn on/off soft limit, im not sure if thats the real name. The second card sets the % of installed kWp to 1%. So 100 is 1%.

But as i Said, im not sure at all.

Oh, I checked the battery power registers not output. You are right. Register 40233 (address 40232) seems to be right.
I would suggest to use register 40233 with option "Register starting at #1 to use same numbers as in Fronius docs).

grafik

Register 40237 (address 40236) seems to be the switch to turn on/off the limit.
grafik

I think you can try. You can always revert to default values (R40233=10000 for 100% and R40237=0 for off).
If it’s working, you can write a comment with your flows. I think that’s a good example for other users. Thanks.

1 Like

Thanks. I would not be able to test this today but as son as i have time i Will. And i Will write here.

Tested it today but there is 2 two problems. 1. When the load is bigger than the production my battery does not discharge.

  1. I have two inverters. One Gen24 and one Symo. Its just the Gen24 that ramps down. My symo runs att usual.

Hello everyone, I use an inverter from SMA. A STP10.0-3SE-40 0 22. The connection via Modbus can be established. But I can’t manage to read the registers correctly.

Can someone help me?