[APP][Pro] SolarEdge + Growatt TCP modbus

Hi, I sent you the link yesterday, I found something here:

Ok here’s an update:
I just got confirmation from another Danish Homey user with the same SPH3600 inverter that it’s pin 4(a) + 5(b) that’s being used on the inverter. He’s on a different setup (using a esp8266+other stuff using MQTT) but I have now concluded the hardware setup is solid and should be working.

The problem is I still don’t get any data into Homey? I can access the modbus interface so that’s not the problem either?

So I’m kinda stuck with the conclusion that it’s the connection from modbus to Homey that’s causing the missing data. Or maybe the app just doesn’t support the inverter or something?

Any guesses as to why it’s not working?

1 Like

At least the second confirmation that 4 and 5 is used, same as I discovered.

EDIT:

2 things to check:
I’m not convinced that the inverter is giving DATA to the 485 port. Please check again the settings, if possible upload some images. You might want to reboot the inverter using the shinelink web interface, but this shouldn’t be necessary.

UNinstall the homey app, install again and;
use another port on the KM, try 502 and use the same in the homey APP.

EDIT2:
In the homey APP the inverter ID is set to 1. I have no idea what happens if you try #2.

Only thing I can think of is the fact that I use a powerline adaptor to get lan to modbus instead of connecting modbus directly to access point.
But since I can access the interface - via IP 192.168.1.199 that shouldn’t be a problem right?

No problem at all for this moment. The MOD protocol is so simple, the PL will not have any disadvantage to that (I assume) The data connection is confirmed since you’re able to access the KM web interface.

Settings:
image

Not sure how to do that. I don’t see the option in the web interface?

After changing I cannot access the web interface anymore? I’ll have to reset KM and use port 80 again.
EDIT: Found out I just have to type :502 in the end of the IP :wink:

Please change the port to 502 first at KM and at APP side and try

The reboot: Shinelink web interface, set inverter on/off BOOT (you know the password, its YearMonthDate)

@Phil_Bro you know what…

Thats correct, you survived that one

no I dont :pray:

IT’S F…ING WORKING!!!
Switching to port 502 must have done the trick!!!

Dancing GIFs | Tenor

YOU’RE AWESOME!!!
Come to Denmark and I’ll give you a handfull of beers :smiley: :smiley:

1 Like

GOTCHA!

To be honest, I thought about this port 80 as default port for all f.cKuPz in the early start of the chat. I thought there would be no trouble leaving it to 80, but damn!

Patience was the key to this again…

Good luck!

So resume, to have all the things in one final message:

Wiring SPH3600 is equal to the SPH3000, using the 485 port (only 1 on the inverter) with pin 4 (A) and 5 (B), A and B are the connectors on the KM switch. Put the port to VPP in the inverter using the inverter settings.

Using fixed IP on the KM, setting port 502 to communicate to the Homey App.

Install the APP, enter the IP of the KM switch and the corresponding port 502 (recommended)

Hasta Pronto!

Phil

1 Like

Thank you and thank you so much again for helping out a noob like me :smiley:
Now I’ll write a guide on the Danish Facebook community on how to set this up, so others don’t have to go through the hazzle :smiley:

I’d still like @Edwin_Biemond to create the aforementiond cards to make it easy for a noob like me to control the inverter, but we’ll see how that goes :smiley:

With this in mind I would highly recommend to study the advanced flows, this allows you to finetune everything without telling China what you’re doing via the shinelink.

:laughing:

Right you are :wink:

Can I ask you another question regarding a desired flow:

How would you create a flow to stop using house battery as power source when my Tesla starts charging?
I can add a trigger card when Tesla starts charging, but no action card to set discharging rate of house battery to 0%?

Is there any way to do this?

if you can do this from shinelink then I can also do this. maybe we can put the minimal batt to 80 or 90%. or some grid 1st param. check the forums, don’t think you are alone with this problem. after that I can implement this.

First I need to know if you want this to create in advanced flow, this is what I (for sure) see as 1st option.

Second I need time to sleep, so allow me some delay to respond. If you could show me (meanwhile) the flow you made to show or detect the tesla starting to charge,which should be very simple, I check this later the day.

EDIT:

It would be something like:

If tesla app start to charge
AND there is enough solar input (or not)
AND the house battery is full (or not)
THEN stop discharge level (1) at current level (need to compare the current battery%)

(1) This is my pending question to @Edwin_Biemond, In load first modes, I need the same, it is top most important to set the discharge level of the batteries depending on someone needs.