[APP][Pro] SolarEdge + Growatt TCP modbus

Yeah there was my misunderstanding and fault. Sorry.
Now I understand active power limit is only available by using flows.

Thank you! :+1:t2:

1 Like

@Phil_Bro finally got my Modbus :smiley: :smiley:
2 questions:
The Lan cable is not orange/white + blue/white wires but only solid colors. Which ones should I use then?
Also, would a 12v 1000mah adapter be too powerful for the modbus?

Looking forward to your response :slight_smile:

Hi,

The voltage is important, the Amperage is only important if its sufficient enough. The theory is, Amperage will only flow if it’s asked. So if the KM is asking 500mA and you have a huge power converter which gives 200A it does not matter.

EDIT: Take care of the polarity, The 12V DC has a plus and minus. Connect correctly!

The UTP cable without decent colors is not what I’ve seen anywhere, it should not matter as long as the pins are ordered correctly. You might want to take a look at this:

I any case, the KM switch needs to be connected to the inverter. You need only 2 pins for the KM switch to connect. I cannot help you which port of the inverter you need to connect and which pins of that port are used. For sure it’s the best way forward to simply plugin the UTP connector with ALL pins correctly color-assigned in the correct inverter port and at the other end use the wires only (so no UTP connector) to the KM.

All right I think I have everything connected correctly now but I still get no data.
The IP and port when adding the inverter to homey is the same as the ones in the modbus config right?
image
image

DHCP must be set to off OR BIND the MAC address as I do on the router.

@Edwin_Biemond, Still looking for the MOD code for this setting: Discharge Stopped Soc (load first modus)

I Found the setting for battery first and load first, but for sure this will not function on the load first modus. Found another guy looking for this, no result.

This is in fact the only option remaining to say goodbye to shinelink, the setting allows you to SET the max % of discharging the batteries, very very usefull to combine this with all other parm’s.

Any idea?

DHCP is set to off as seen on the screenshot :wink:
But should http port be 501 instead of 80?

I left the port to 502 but you are free to choose, as long as the APP matches the setting of the KM

EDIT: The thing with the MOD bus is you need to find the right pins (2x) on the inverter. Are you able to specify (again) the brand and type inverter you have, I have a spare moment to see if I can help you.
If not, you need to contact KM support, they will (they did with me) reply reasonably fast.

I think I saw this max % of discharging the batteries and battery first and load first for sure.
did you change default value or be able to change it , then it will be easy to capture your values.

We are able to test, but not at this moment. I keep this level to 20% since I want to preserve the batteries this way. But the LOAD first is the one I need, the other (battery first and grid first) are not used by me.

EDIT: The value is variable between 0 and 100, meaning 0% so no discharge and 100% Full discharge. If we find the correct MOD code, we should consider to delimit this 10-100 (making it impossible to deep discharge the batteries. And even then the 10% for NON Li-Ions is to deep. But we first need to find the code. Howto?

1 Like

How do I go about looking for the incorrect setup?`

  1. Modbus is working and set up correctly according to app
  2. Inverter settings has been set according to the instructions
  3. Wires are connected correctly

Still no data in Homey app?

There are 2 possibe causes. A) The invertor setting itself is not in shape, meaning and as example on a Growatt, you need to activate the port you use for this purpose. Or B) You assume that you have found the 2 pins but they are very wrong. For this to work; Report back the brand and type of inverter.

First of all thanks for helping out @Phil_Bro <3

a) I’m not sure I understand
b) Which pins? (It’s a Growatt SPH3600 Hybrid Inverter with a Growatt GBLI6532 lithium batteri)

Ok, lets start at the beginning here:

The utp cable has a 8 pin connector which has to be connected to the inverter. This the de MOD port, but since I do not know which port you need to use AND the fact that the inverter needs to know you are using this port, you have to figure that out. Second, of the 8 pins within this UTP, only 2 are connected to the KM switch. If you know which pins are used by the inverter and the port you are using, you have the pins to connect to the KM.

EDIT : It seems that your inverter has 2 ports named 485-1 and 485-2. This is different from my SPH3000 with only 1 port and i needed 4 hours to figure that out. This goes beyond my expertise, you need to contact KM support and/or ask @Edwin_Biemond about the pdf directive regarding this subject.

The install manual for your inverter:

Everything is connected exactly according the instructions here: Dropbox - Setup Growatt.pdf - Simplify your life

The inverter only has one RS485 port so I’m pretty sure that’s the right one.

So what I hear you’re saying is that the pins from the above mentioned instructions may differ on my inverter?

If that’s the case how do I figure out which pins to use?

Ok, now we are getting somewhere. I had similar problem. The manual said I had 2 ports, the KM support guy said the same, I downloaded 5 versions of manuals, are stating something different. I have 1 port. So similar to yours. Let us hope and pray you need to use the same pins.

EDIT:
See image, in my case pin 4 and 5 did the trick.

So generally, if you have the UTP connector wired according to T-568B specs and connected to the inverter MOD port, you check which colors pin 4 and 5 have and use these in the KM switch. Note that in my case it was 4 and 5. No guarantee it will be the same on any other machine.

You might want to strip all 8 and just test. On the homey (browser) click the tile of the inverter and see on the right the data. If you test with wires, wait for at least 10 sec. for the MOD data to pass.

EDIT2: The PDF instructions showed the activation of the MOD port on the inverter, I do not recall this was the case in my situation, but follow that to make sure. The thing is that in my case I have Pylontec batteries, and each battery setup use different port on the growatt. Chinese Unlogic …

EDIT3: The PDF instructions show Pins 3 and 5, oranje/white and blue/white. So 5 seems to be a constant. Use 5 to start, then add 3 (you already did) and add 4 (test), if not ok, still use 3/4 and 5 but switch both on the KM connector.

Edit on the PDF instructions:

2 Likes

Thanks again for all the effort @Phil_Bro - much appreciated.
I’ve tried:

Using pin 4 and 5 (blue + blue/white) and tried switching RS485 setting to both VPP and Battery on the inverter - NO LUCK

Using Pin 3 and 6 (green + green/white) and tried switching RS485 setting to both VPP and Battery on the inverter - NO LUCK

I feel like I’m running out of options here :frowning:

EDIT: And obviously using pin 3 and 5 (orange/white + blue/white) as well

Yestond, for sure we’re gonna succeed here, its just a matter of patience. Normally I have close to zero of that stuff but being onsite with the best support ever from @Edwin_Biemond I just keep on testing and testing. So hold-on to this.

I did found a lot of people searching for the right pins, in most cases pin 5 was coming back. So I used that one constantly as reference with each time another pin AND switching them on KM A ↔ B.

I did not know if the MOD port of the inverter gave any non chinese data, I just assumed it did.

Pretty sure if you have the MOD settings of the inverter correctly, you will find the correct wire combination…

I would start and take time to do this:

Use 4 and 5 as A and B and switch them as B and A, do the same for 3 and 5.

Thanks for the motivation :slight_smile:
I’ll just have to soldier on…
I feel like this now:
image

I’ll have to continue my quest tomorrow.
Tried af few constellations w/o luck.

Anywhere I can find documentation for my inverter?