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

<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:** [April 10, 2021, 9:06pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/63 "2021-04-10T21:06:09Z")

</div>

Everything is connected and I receive data in homey now. But the consumption value is too low if I compare to the iOS app, any ideas?  
Almost half it looks like…

---

<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 11, 2021, 4:56am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/64 "2021-04-11T04:56:30Z")

</div>

Consumption is a calculated value.  
Do you have a 3 or 1 phase inverter?

The values ar realtime, the iOS app has a +/- 1 minute delay

---

<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:** [April 11, 2021, 6:55am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/65 "2021-04-11T06:55:22Z")

</div>

3 phase I think, googled it 😊?

SE10K is the model name

---

<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:** [April 11, 2021, 7:15am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/66 "2021-04-11T07:15:27Z")

</div>

The solar power value seems ok, but consumption value is now too high. It was too low when not producing…

---

<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 11, 2021, 7:28am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/67 "2021-04-11T07:28:53Z")

</div>

Can you check if your export or import value is correct?

The calculation is:  
Consumption = solar-export

(If importing, export is negative)

Solar and export are raw values

---

<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:** [April 11, 2021, 7:33am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/68 "2021-04-11T07:33:11Z")

</div>

Import value is not correct, too small, export is now zero

---

<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 11, 2021, 7:45am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/69 "2021-04-11T07:45:16Z")

</div>

Hmm I will have to check.  
If you multiply the import/export value by 10, is it then correct? If this is the case, I have to look again into the Scale Factors

---

<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:** [April 11, 2021, 8:24am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/70 "2021-04-11T08:24:15Z")

</div>

The numbers looks totally wrong, can’t find any relation. Your calculation is ok like you described above. Can it be that only one phase is used? I have a 3 phase inverter. The solar energy looks ok but import and export values is wrong.

---

<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 11, 2021, 9:50am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/71 "2021-04-11T09:50:01Z")

</div>

I found the bug, it was indeed only measuring 1 phase.  
I will update the app later today.

---

<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:** [April 11, 2021, 10:19am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/72 "2021-04-11T10:19:10Z")

</div>

Perfect, very good support and quick response. How do you think about polling time? If I put it to like 5 sec, will this affect the workload on the homey a lot or what do you suggest?  
Again, Thank you! Very good 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:** [April 11, 2021, 10:42am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/73 "2021-04-11T10:42:20Z")

</div>

No it doesn’t matter for Homey.  
Only if there is a delay in data transmission or timeout, the app wil become confused and will eventually crash.

Just try and error, the minimum is now set at 2 seconds.

---

<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:** [April 11, 2021, 10:58am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/74 "2021-04-11T10:58:39Z")

</div>

Hi Pieter,

I didn’t notice any issues with retrieving data anymore as mentioned in the post of April 8th.

I think it was an issue because I had also done some modbus readings using a Python script on my computer.

So for now the app is working correct for the last 2 days.  
Thanks 🙏

---

<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:** [April 11, 2021, 11:48am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/75 "2021-04-11T11:48:50Z")

</div>

Now it seems ok! Thanks for a very good app!

---

<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:** [April 19, 2021, 10:09am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/76 "2021-04-19T10:09:08Z")

</div>

It looks like the app is not stable.  
At certain moments the app is’t showing the right values. The solution is then to restart the app. On the inverter it says connected.  
This happened for me several times the last days.

 ![DAF0C72F-9F97-456F-936C-0600D38058CC](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/3/13b3c2c44a12e9afc5c5ed4c430f135d8a0e5fd9.jpeg)

In the next graph you see the flat lines where the app isn’t working:

 ![Schermafbeelding 2021-04-19 om 12.05.14](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/5/b518b6cf18a752920f4e7ed0d699b439616224ab.png)

Homey Insights shows this performance of the app:

 ![Schermafbeelding 2021-04-19 om 11.59.10](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/4/c42213fe1a2bae1b5bba42e26573d1cecfdbd05f.jpeg)

---

<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 19, 2021, 10:23am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/77 "2021-04-19T10:23:03Z")

</div>

I guess this happens when there is a network issue and the data is not in sync anymore

What is your polling interval.

I have to investigate how to fix this

---

<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:** [April 19, 2021, 10:55am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/78 "2021-04-19T10:55:51Z")

</div>

The polling interval was 10. I have set it to 20 now.

---

<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:** [April 20, 2021, 12:09pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/79 "2021-04-20T12:09:11Z")

</div>

Also an interval of 20 gives problems.  
On the inverter **Modbus TCP: Connected** but the app on Homey has received data 2 hours ago.  
You have received an diagnostic report with ID: d398a096-1842-4f2a-8ef3-7efcb19d4128

---

<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 20, 2021, 12:39pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/80 "2021-04-20T12:39:11Z")

</div>

I can see in your log a _“ECONNRESET”_  
This means the other side of the TCP conversation abruptly closed its end of the connection. (loss of internet or wifi)

Currently the app stays connected to the inverter all the time (connected)  
Even if an error appears or no data is received, it will stay connected and just try again after 5 seconds  
Only when the connection is really ended (loss of network), it will disconnect.  
I will implement some advanced settings, that you can change this 5 seconds and that you can disable to auto retry. (so the app will disconnect from the inverter, and automatically try to reconnect after +/- 60 seconds)

---

<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 20, 2021, 12:54pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/81 "2021-04-20T12:54:51Z")

</div>

You can try the test version

[https://homey.app/a/solaredge.modbus/test/](https://homey.app/a/solaredge.modbus/test/)

---

<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:** [April 20, 2021, 1:45pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/82 "2021-04-20T13:45:55Z")

</div>

Okay I will do.  
Thanks

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

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