# \[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:** 5

<div class="post-metadata">

**Author:** ![Pieterv123](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pieterv123/32/13353_2.png) [@Pieterv123](https://community.homey.app/u/Pieterv123)\
**Post date:** [April 26, 2021, 7:27am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/83 "2021-04-26T07:27:09Z")

</div>

For those with batteries, v.1.2.0 is now available for testing with StorEdge implementation.

[SolarEdge test v1.2.0](https://homey.app/nl-be/app/solaredge.modbus/SolarEdge/test/)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/c/ac60842718150b7f403422159ccd7c8d317bc607.jpeg) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/c/bc1fdfb7599f15bf944e40636fbc05beb2592b0d.jpeg)

---

<div class="post-metadata">

**Author:** ![RogerGodefroy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rogergodefroy/32/40278_2.png) [@RogerGodefroy](https://community.homey.app/u/RogerGodefroy)\
**Post date:** [May 5, 2021, 2:53pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/84 "2021-05-05T14:53:15Z")

</div>

I tried several times to connect my SolarEdge SE5000HD Wave, but without any luck:

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/a/0a6c99c944a75dba292fc82f96c04713c893afd5.png)

I have enabled ModBus TCP through the interface and is (or was) readable using [Hass.io](http://Hass.io) on port 1502.

Any idea why I can’t connect to my inverter?

---

<div class="post-metadata">

**Author:** ![Pieterv123](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pieterv123/32/13353_2.png) [@Pieterv123](https://community.homey.app/u/Pieterv123)\
**Post date:** [May 5, 2021, 5:57pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/85 "2021-05-05T17:57:51Z")

</div>

You can have only one connection. So switch off [hass.io](http://hass.io).  
Otherwise, see the troubleshooting post

---

<div class="post-metadata">

**Author:** ![RogerGodefroy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rogergodefroy/32/40278_2.png) [@RogerGodefroy](https://community.homey.app/u/RogerGodefroy)\
**Post date:** [May 5, 2021, 6:39pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/86 "2021-05-05T18:39:29Z")

</div>

I already switched off the raspberry pi first, and did the reset without display by changing the configs. I don’t have power meter or battery connected, only the inverter data would be sufficient.

---

<div class="post-metadata">

**Author:** ![Pieterv123](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pieterv123/32/13353_2.png) [@Pieterv123](https://community.homey.app/u/Pieterv123)\
**Post date:** [May 5, 2021, 6:56pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/87 "2021-05-05T18:56:12Z")

</div>

You can send me the logs, but most probably it will be not connected

---

<div class="post-metadata">

**Author:** ![RogerGodefroy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rogergodefroy/32/40278_2.png) [@RogerGodefroy](https://community.homey.app/u/RogerGodefroy)\
**Post date:** [May 5, 2021, 7:44pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/88 "2021-05-05T19:44:21Z")

</div>

Got it working… Fully disconnected Raspberry Pi (although plugin for SolarEdge was already disabled), did a reset of the inverter and logged into the inverter and just changed the port back to 502 and added SolarEdge on homey parallel, as you only have 2 minutes to connect the first time, otherwise connection will be refused.

 ![Screenshot_2021-05-05-21-34-45-04_4bbfc4a7dd885a2bb189f300112a7ed4](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/4/54a23d8d93975e8df7a974b51ba50ba3fdcf457a.jpeg)

---

<div class="post-metadata">

**Author:** ![Arnold\_vd\_Linden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnold_vd_linden/32/19336_2.png) [@Arnold\_vd\_Linden](https://community.homey.app/u/Arnold_vd_Linden)\
**Post date:** [May 7, 2021, 6:25pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/89 "2021-05-07T18:25:22Z")

</div>

Have tested v1.2.2 now for more then 2 weeks and my conclusion is that the connection to the inverter randomly drops.  
I don’t why this is happening because there is nothing strange happening in my home or the network.

Sometimes the connection is stable for a couple of days in a row. And then suddenly it is dropping the connection several times a day or hour.  
Also sometimes I get a red exclamation mark on the device in Homey.

I have send a new diagnostic report with ID 25f83eab-46bb-4900-aac3-343fd1269322 to you.

Hopefully you can find something why this is happening because I don’t have a clue.

Thanks.

---

<div class="post-metadata">

**Author:** ![Pieterv123](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pieterv123/32/13353_2.png) [@Pieterv123](https://community.homey.app/u/Pieterv123)\
**Post date:** [May 9, 2021, 6:48am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/90 "2021-05-09T06:48:20Z")

</div>

I have no idea. I checked your report, but cannot find anything wrong.

I still think it is a tcp problem, I didn’t write the tcp driver myself.  
Mine is also running for a few weeks without problems.

Try assigning a fixed ip address to your inverter, and connect it with a lan cable instead of wifi (if possible)

---

<div class="post-metadata">

**Author:** ![Arnold\_vd\_Linden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnold_vd_linden/32/19336_2.png) [@Arnold\_vd\_Linden](https://community.homey.app/u/Arnold_vd_Linden)\
**Post date:** [May 9, 2021, 10:47am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/91 "2021-05-09T10:47:36Z")

</div>

My inverter is connected by LAN and had already a fixed IP.

So if no one else having the same problem it must be something in my setup.  
I wil try to find the root cause and otherwise it was a nice try.

---

<div class="post-metadata">

**Author:** ![Tobias\_Antonsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tobias_antonsson/32/31018_2.png) [@Tobias\_Antonsson](https://community.homey.app/u/Tobias_Antonsson)\
**Post date:** [May 15, 2021, 2:57pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/92 "2021-05-15T14:57:36Z")

</div>

Sorry to be “off topic”, but I think someone here can answer the questions below. PBTH=Power by the hour app. The background is I asked if it was possible to see my consumption in that app. Today I see only my solar production summarized.

- I see you have Solar Power in watts. I assume this is reported by your solar edge inverter. Can you confirm?
- I see you also have a Power import and export. I assume this is coming from your main meter. But where is solaredge getting this from?
- How is the total yield calculated? Is that from the Solar power, or is that from the Power export - Power import?

---

<div class="post-metadata">

**Author:** ![Pieterv123](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pieterv123/32/13353_2.png) [@Pieterv123](https://community.homey.app/u/Pieterv123)\
**Post date:** [May 15, 2021, 3:12pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/93 "2021-05-15T15:12:33Z")

</div>

Hi,

Total yield, import and export are received from the inverter, so not calculated.  
These values are ‘meters’ so PBTH could see them if it supports ‘sub’meters. Total yield is the main meter.

Consumption is a ‘measure\_power’, this cannot be used in PBTH as it is a value at time measured.

---

<div class="post-metadata">

**Author:** ![Arnold\_vd\_Linden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnold_vd_linden/32/19336_2.png) [@Arnold\_vd\_Linden](https://community.homey.app/u/Arnold_vd_Linden)\
**Post date:** [May 17, 2021, 1:29pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/94 "2021-05-17T13:29:31Z")

</div>

The problem of randomly not retrieving date from the inverter still exists and I have done some testing to find the problem.  
Everything in my home setup seems to be OK.  
So the conclusion is that the problem is regarding the SolarEdge app or Homey it self.  
But as I have no other issues with Homey it has to be the app.

What have I tested so far:  
Wifi and LAN connectivity.  
New UTP connectors on the inverter LAN cable  
Playing with the app settings  
Installed a SolarEdge modbus plugin on my Domoticz RaspberryPi.

Removed the SolarEdge from Homey and now using Domoticz to read the modbus data. And this one is working perfectly without any disruption.

So I really hope that the app is going to be stable in the future because it is a welcome feature.  
For now thank you for the support and work, en I will give it a try when there is another major release.

---

<div class="post-metadata">

**Author:** ![Pieterv123](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pieterv123/32/13353_2.png) [@Pieterv123](https://community.homey.app/u/Pieterv123)\
**Post date:** [May 17, 2021, 2:28pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/95 "2021-05-17T14:28:11Z")

</div>

Hi,

Honestly I have no idea where to start, and I am also a very beginner developer 😉  
You are the only one who had this issue, but it could be also a homey thing. (As Homey is connected with wifi)

You could try as a ‘solution’ to make a flow to check the performance of the app, and restart the app if needed.

---

<div class="post-metadata">

**Author:** ![Arnold\_vd\_Linden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnold_vd_linden/32/19336_2.png) [@Arnold\_vd\_Linden](https://community.homey.app/u/Arnold_vd_Linden)\
**Post date:** [May 17, 2021, 2:50pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/96 "2021-05-17T14:50:30Z")

</div>

Hi Pieter,  
I did that already and in the some cases it was restarting the app every 2 minutes or less.  
So that did not look very promising for the overall performance of Homey.

---

<div class="post-metadata">

**Author:** ![Pieterv123](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pieterv123/32/13353_2.png) [@Pieterv123](https://community.homey.app/u/Pieterv123)\
**Post date:** [May 17, 2021, 3:12pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/97 "2021-05-17T15:12:00Z")

</div>

You could check with homeassistant or anything else how stable your homey wifi is.

---

<div class="post-metadata">

**Author:** ![Bas\_Kamst](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bas_kamst/32/34615_2.png) [@Bas\_Kamst](https://community.homey.app/u/Bas_Kamst)\
**Post date:** [June 13, 2021, 6:32am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/98 "2021-06-13T06:32:56Z")

</div>

Hello Pieter,

I have been using your app for 2 weeks now and I think it’s great.  
In the first few days it stopped working (aka Inverter could not be found in the app), last time it stopped I restarted the app and now it has been working non stop for a week, hope it stays that way.

Would it be possible to add today’s power (Opbrengst vandaag) to the app?  
That would make it even greater 🙂

---

<div class="post-metadata">

**Author:** ![Superbuis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/superbuis/32/3564_2.png) [@Superbuis](https://community.homey.app/u/Superbuis)\
**Post date:** [June 13, 2021, 8:18am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/99 "2021-06-13T08:18:32Z")

</div>

I had it working for several weeks, but since last week the communication between my SolarEdge and Homey failed: device unavailable (with an red exclamation mark in my devices). I discovered today that the IP address of my SolarEdge is for some kind of strange reason changed. So I changed the ip address at my device in Homey as well. But still the same issue. I also added a second SolarEdge device in my Homey, but also the same issue. According to the display of my SolarEdge the TCP port 502 is still working (Modbus TCP: Ready). Any idea how to fix this issue? I also reboot my Homey and de SolarEdge app…

---

<div class="post-metadata">

**Author:** ![Pieterv123](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pieterv123/32/13353_2.png) [@Pieterv123](https://community.homey.app/u/Pieterv123)\
**Post date:** [June 13, 2021, 8:45am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/100 "2021-06-13T08:45:41Z")

</div>

Can you send me a diagnostics report?

---

<div class="post-metadata">

**Author:** ![Pieterv123](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pieterv123/32/13353_2.png) [@Pieterv123](https://community.homey.app/u/Pieterv123)\
**Post date:** [June 13, 2021, 9:25am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/101 "2021-06-13T09:25:40Z")

</div>

You could use the power by the hour, to make a ‘daily’ sum

---

<div class="post-metadata">

**Author:** ![Superbuis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/superbuis/32/3564_2.png) [@Superbuis](https://community.homey.app/u/Superbuis)\
**Post date:** [June 13, 2021, 9:33am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/102 "2021-06-13T09:33:04Z")

</div>

Pieter is refering to this app: [Power by the Hour App voor Homey | Homey](https://homey.app/nl-nl/app/com.gruijter.powerhour/Power-by-the-Hour/)

I use it as well. Works good. Just daily information in variables.

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

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