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

<div class="post-metadata">

**Author:** ![Sjaak](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sjaak/32/79000_2.png) [@Sjaak](https://community.homey.app/u/Sjaak)\
**Post date:** [July 11, 2023, 6:42pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/585 "2023-07-11T18:42:14Z")

</div>

Hi, first post here. This is exactly what I am looking for although I’m trying to do this in Loxone/Home assistant. Does anyone have an address map of which modbus addresses need to be set to enable power control on the Solar Edge inverter?  
When I try to read register F000 (61440) for example as an input register, my modbus reader comes back that this register does not exist.  
What kind of registers are these that are noted in [https://www.photovoltaikforum.com/core/attachment/88445-power-control-open-protocol-for-solaredge-inverters-pdf/](https://www.photovoltaikforum.com/core/attachment/88445-power-control-open-protocol-for-solaredge-inverters-pdf/)?

---

<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:** [July 13, 2023, 8:01am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/586 "2023-07-13T08:01:38Z")

</div>

Hey, you can check this and I am using this 0xf001 [https://github.com/biemond/solaredge.modbus/blob/main/drivers/invertor/device.ts#L122](https://github.com/biemond/solaredge.modbus/blob/main/drivers/invertor/device.ts#L122)

> <https://github.com/biemond/solaredge.modbus/blob/main/drivers/solaredge.ts#L80>

---

<div class="post-metadata">

**Author:** ![Sjaak](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sjaak/32/79000_2.png) [@Sjaak](https://community.homey.app/u/Sjaak)\
**Post date:** [July 13, 2023, 8:18am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/587 "2023-07-13T08:18:11Z")

</div>

Hi Edwin,  
I found this out late yesterday evening and your code has really helped to define the addresses. Thanks a lot! I was able to use your addresses and create the corrects tags and datatypes in Loxone.

---

<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:** [July 16, 2023, 11:37am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/588 "2023-07-16T11:37:11Z")

</div>

@Yestond @Phil_Bro new growatt inverter/battery test version [SolarEdge + Growatt TCP modbus | Homey](https://homey.app/a/solaredge.modbus/test/)

tested flows on Luc inverter. only found out loadfirst time 1 does not do anything because that is the default when grid or batt is done or reached its limit.

hope you can test this all.

 ![Screen Shot 2023-07-16 at 13.28.10](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/8/08970871d9f2dddce136d570bd193d36d8d306bb.jpeg)  
 ![Screen Shot 2023-07-16 at 13.26.47](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/d/bdb56094a3c8c25dfeebded81c753fcd595a62e6.jpeg)

---

<div class="post-metadata">

**Author:** ![Glenn\_Seegers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/glenn_seegers/32/8353_2.png) [@Glenn\_Seegers](https://community.homey.app/u/Glenn_Seegers)\
**Post date:** [July 16, 2023, 3:49pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/589 "2023-07-16T15:49:34Z")

</div>

@Edwin_Biemond maybe a stupid question but is it true that there can only be one modbus client connected at the same time? i had homey working for a year or so but now i want to add the solaredge to my victron system (via modbus ofcourse) and that succeeded, but now homey can’t find the inverter anymore.

---

<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:** [July 16, 2023, 4:09pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/590 "2023-07-16T16:09:26Z")

</div>

Tried mod bus port 502?

---

<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:** [July 16, 2023, 4:10pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/591 "2023-07-16T16:10:40Z")

</div>

I’m not able to test anything before 2nd week of September. The system is off grid, no grid power at all. Looking for clues but it is 2000km away…

---

<div class="post-metadata">

**Author:** ![Glenn\_Seegers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/glenn_seegers/32/8353_2.png) [@Glenn\_Seegers](https://community.homey.app/u/Glenn_Seegers)\
**Post date:** [July 16, 2023, 4:13pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/592 "2023-07-16T16:13:09Z")

</div>

it is en always was on modbus port 502, thats not the problem. the problem looks like i can only connect one device via modbus to the inverter, i changed nothing to settings i only added the device to my victron GX and that one recieves updates but homey not anymore. 🥲

---

<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:** [July 16, 2023, 5:23pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/593 "2023-07-16T17:23:35Z")

</div>

yes , the solaredge app is not blocking but others do. you can do 2 of the same on solaredge/growatt. sometimes 1 is blocked by the other device and then other is again the lead. but other apps or inverters don’t do any disconnect and port will be busy/occupied

---

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [July 16, 2023, 7:52pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/594 "2023-07-16T19:52:03Z")

</div>

I installed this app and it is asing me to enter the IP, port and device ID…

How do i get these details?  
My invertor is conntected wired (utp) and i cannot find any IP address in the mysolor app. (it is connected, i can read live data).

When i log into my router it also does ot give any hints which IP it has assigned to the invertor.

When i start communications option in the app it ask me to flip the switch, what i do, then it tries to connect and reports it is connected wied via DHCP and nothing happens.  
Ni indication whatsoeer what IP the device is using.

I tried to do a portscan in my network, but here also no result, no results what could hint to the invertor.

Anyone any tips?

Maybe there is a cloud option to connect to, so i can read invertor data?

---

<div class="post-metadata">

**Author:** ![Glenn\_Seegers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/glenn_seegers/32/8353_2.png) [@Glenn\_Seegers](https://community.homey.app/u/Glenn_Seegers)\
**Post date:** [July 16, 2023, 8:18pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/595 "2023-07-16T20:18:40Z")

</div>

Did you read the first post? Because you also have to activate modbus in your inverter or else it won’t work. And for the ip adres, it should just show up in your router.

 ![IMG_3440](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/9/1943a24000fa16e375d24efc0513f4eb50de5923.jpeg)

---

<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:** [July 16, 2023, 10:21pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/596 "2023-07-16T22:21:16Z")

</div>

Hi Glenn,

As far as I know by MOD protocol, you can daisy chain the mod bus devices. I’ve been told earlier by KM switch support that there is only 1 master possible. This might clear things at your end?

---

<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:** [July 17, 2023, 5:42am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/597 "2023-07-17T05:42:53Z")

</div>

I’ll test it tomorrow 😉  
Thanks for the work

---

<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:** [July 17, 2023, 10:13am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/598 "2023-07-17T10:13:04Z")

</div>

if you enable it on your inverter then I also see this as mdns entry on my network with ip, port and modbus id.

> [@\[APP\]\[Pro\] SolarEdge + Growatt TCP modbus](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/413):
>
> question, do you see this mdns / bonjour entry on your network? if so I think I will implement this on the app (device discovery). probably it will save some time in finding the root cause, off course it cannot fix dynamic address changes (DHCP).

---

<div class="post-metadata">

**Author:** ![Glenn\_Seegers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/glenn_seegers/32/8353_2.png) [@Glenn\_Seegers](https://community.homey.app/u/Glenn_Seegers)\
**Post date:** [July 17, 2023, 7:20pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/599 "2023-07-17T19:20:28Z")

</div>

Thats probably correct but the problem is that they i think (homey and the victron gx) both want to be master and both are not configurable to be a slave (if i did it correctly the solar edge is already a slave). And because its over tcp/ip i don’t know if it is possible to “daisy chain” them. But if i have my victron inverter some were this week i wil have a look again, maybe i can add the solaredge via the victron app to homey 😂

---

<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:** [July 17, 2023, 8:43pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/600 "2023-07-17T20:43:29Z")

</div>

what you mostly see , you connect them together and use different modbus id. mostly on the master you can also see the other modbus devices or they will run on a different ports with a modbus id. I know some are doing this.

> **[sunspec-implementation-technical-note.pdf](https://www.dropbox.com/scl/fi/qxtwplsm8kcu4w1yodn9f/sunspec-implementation-technical-note.pdf?rlkey=bksjaq8l4p48irwx1kubyulvm&dl=0)**

---

<div class="post-metadata">

**Author:** ![Glenn\_Seegers](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/glenn_seegers/32/8353_2.png) [@Glenn\_Seegers](https://community.homey.app/u/Glenn_Seegers)\
**Post date:** [July 17, 2023, 8:59pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/601 "2023-07-17T20:59:37Z")

</div>

I’m not at home now but wil have a look this weekend, thanks for the documentation👍🏻

---

<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:** [July 22, 2023, 9:37am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/602 "2023-07-22T09:37:49Z")

</div>

Hi Bas,

Nice example that I also wanna try.  
Can you tell me what the -10 do in this example?  
{{# Solar Power + # Huidig vermogen **- 10** }}

 ![Scherm­afbeelding 2023-07-22 om 11.35.21](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/b/2bc2740923996c052f987aa0e6b5984404a83137.png)

---

<div class="post-metadata">

**Author:** ![BasB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/basb/32/72855_2.png) [@BasB](https://community.homey.app/u/BasB)\
**Post date:** [July 22, 2023, 6:19pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/603 "2023-07-22T18:19:31Z")

</div>

Hi Arnold,

I added the -10 to the calculation to try to get the power usage more accurate. This was just to try, so feel free to experiment what works in your case.

Hope that helps.

Bas

---

<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:** [July 22, 2023, 6:39pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/604 "2023-07-22T18:39:44Z")

</div>

Hi Arnold,

If I follow the Solar Power value in Watts and the Huidig vermogen also in Watts, there is no way to calculatie STROOM usage in Amps. If you wanna know the actual Amps you must divide the Watts with the Current, use 230v or the exact Amps as this is also available as variable.

That being said, I suppose you want to calculate something different, or?

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

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