# \[APP\]\[Pro\] SolarEdge + Growatt TCP modbus

**URL:** <https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487>\
**Category:** Apps\
**Tags:** app, pv-solar\
**Created:** [March 30, 2021, 10:17am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487 "2021-03-30T10:17:23Z")\
**Posts on this page:** 20\
**Page:** 26

<div class="post-metadata">

**Author:** ![Phil\_Bro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phil_bro/32/78156_2.png) [@Phil\_Bro](https://community.homey.app/u/Phil_Bro)\
**Post date:** [June 29, 2023, 7:09am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/505 "2023-06-29T07:09:12Z")

</div>

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

> **[Growatt 3.6kW, 1 Ph, 2 MPPTs, LV, Hybrid Inverter](https://www.alternergy.co.uk/growatt-3-6kw-hybrid-inverter)**
>
> Growatt SPH3600,Single Phase, 2 MPPTs, Low Voltage Battery, Hybrid Inverter

---

<div class="post-metadata">

**Author:** ![Yestond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yestond/32/9807_2.png) [@Yestond](https://community.homey.app/u/Yestond)\
**Post date:** [June 29, 2023, 6:47pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/506 "2023-06-29T18:47:51Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Phil\_Bro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phil_bro/32/78156_2.png) [@Phil\_Bro](https://community.homey.app/u/Phil_Bro)\
**Post date:** [June 29, 2023, 8:34pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/507 "2023-06-29T20:34:41Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Yestond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yestond/32/9807_2.png) [@Yestond](https://community.homey.app/u/Yestond)\
**Post date:** [June 29, 2023, 8:47pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/508 "2023-06-29T20:47:21Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Phil\_Bro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phil_bro/32/78156_2.png) [@Phil\_Bro](https://community.homey.app/u/Phil_Bro)\
**Post date:** [June 29, 2023, 8:49pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/509 "2023-06-29T20:49:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Yestond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yestond/32/9807_2.png) [@Yestond](https://community.homey.app/u/Yestond)\
**Post date:** [June 29, 2023, 8:54pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/510 "2023-06-29T20:54:00Z")

</div>

> [@Phil\_Bro](#):
>
> Please check again the settings

Settings:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/6/e6b6f5a9fa16aad0e4160454e8456e01f581df61.png)

---

<div class="post-metadata">

**Author:** ![Yestond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yestond/32/9807_2.png) [@Yestond](https://community.homey.app/u/Yestond)\
**Post date:** [June 29, 2023, 8:54pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/511 "2023-06-29T20:54:39Z")

</div>

> [@Phil\_Bro](#):
>
> You might want to reboot the inverter using the shinelink web interface

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

---

<div class="post-metadata">

**Author:** ![Yestond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yestond/32/9807_2.png) [@Yestond](https://community.homey.app/u/Yestond)\
**Post date:** [June 29, 2023, 8:58pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/512 "2023-06-29T20:58:52Z")

</div>

> [@Phil\_Bro](#):
>
> use another port on the KM, try 502 and use the same in the homey APP.

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 😉

---

<div class="post-metadata">

**Author:** ![Phil\_Bro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phil_bro/32/78156_2.png) [@Phil\_Bro](https://community.homey.app/u/Phil_Bro)\
**Post date:** [June 29, 2023, 9:00pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/513 "2023-06-29T21:00:26Z")

</div>

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)

 ![Screenshot 2023-06-29 at 22.58.27](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/3/63359a2f5ade1e8b53f791b65e3047e84c402b0e.jpeg)

---

<div class="post-metadata">

**Author:** ![Yestond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yestond/32/9807_2.png) [@Yestond](https://community.homey.app/u/Yestond)\
**Post date:** [June 29, 2023, 9:00pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/514 "2023-06-29T21:00:56Z")

</div>

@Phil_Bro you know what…

---

<div class="post-metadata">

**Author:** ![Phil\_Bro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phil_bro/32/78156_2.png) [@Phil\_Bro](https://community.homey.app/u/Phil_Bro)\
**Post date:** [June 29, 2023, 9:00pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/515 "2023-06-29T21:00:59Z")

</div>

Thats correct, you survived that one

---

<div class="post-metadata">

**Author:** ![Phil\_Bro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phil_bro/32/78156_2.png) [@Phil\_Bro](https://community.homey.app/u/Phil_Bro)\
**Post date:** [June 29, 2023, 9:01pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/516 "2023-06-29T21:01:30Z")

</div>

no I dont 🙏

---

<div class="post-metadata">

**Author:** ![Yestond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yestond/32/9807_2.png) [@Yestond](https://community.homey.app/u/Yestond)\
**Post date:** [June 29, 2023, 9:03pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/517 "2023-06-29T21:03:19Z")

</div>

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

![Dancing GIFs | Tenor](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/0/20c13e26d4901b7e2d1d8e43345aafb31a8e15fc.gif)

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

---

<div class="post-metadata">

**Author:** ![Phil\_Bro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phil_bro/32/78156_2.png) [@Phil\_Bro](https://community.homey.app/u/Phil_Bro)\
**Post date:** [June 29, 2023, 9:05pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/518 "2023-06-29T21:05:32Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Phil\_Bro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phil_bro/32/78156_2.png) [@Phil\_Bro](https://community.homey.app/u/Phil_Bro)\
**Post date:** [June 29, 2023, 9:10pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/519 "2023-06-29T21:10:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Yestond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yestond/32/9807_2.png) [@Yestond](https://community.homey.app/u/Yestond)\
**Post date:** [June 29, 2023, 9:12pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/520 "2023-06-29T21:12:10Z")

</div>

Thank you and thank you so much again for helping out a noob like me 😃  
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 😃

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 😃

---

<div class="post-metadata">

**Author:** ![Phil\_Bro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phil_bro/32/78156_2.png) [@Phil\_Bro](https://community.homey.app/u/Phil_Bro)\
**Post date:** [June 29, 2023, 9:14pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/521 "2023-06-29T21:14:18Z")

</div>

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.

😆

---

<div class="post-metadata">

**Author:** ![Yestond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/yestond/32/9807_2.png) [@Yestond](https://community.homey.app/u/Yestond)\
**Post date:** [June 29, 2023, 9:20pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/522 "2023-06-29T21:20:36Z")

</div>

Right you are 😉

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?

---

<div class="post-metadata">

**Author:** ![Edwin\_Biemond](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_biemond/32/72686_2.png) [@Edwin\_Biemond](https://community.homey.app/u/Edwin_Biemond)\
**Post date:** [June 29, 2023, 9:40pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/523 "2023-06-29T21:40:39Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Phil\_Bro](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phil_bro/32/78156_2.png) [@Phil\_Bro](https://community.homey.app/u/Phil_Bro)\
**Post date:** [June 29, 2023, 10:39pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/524 "2023-06-29T22:39:23Z")

</div>

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.

[Previous page](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487.md?page=25)

[Next page](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487.md?page=27)
