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

<div class="post-metadata">

**Author:** ![Satoer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/satoer/32/38113_2.png) [@Satoer](https://community.homey.app/u/Satoer)\
**Post date:** [October 19, 2024, 8:19pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1170 "2024-10-19T20:19:02Z")

</div>

Sorry guys,

I’m still having trouble getting the battery to stop discharging, even after trying the suggested methods in Homey.

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

Additionally, when I check the settings online, the values don’t seem to reflect the changes made through Homey.

 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/4/9458bf3ef6d8f19e4b5624c2bcef404bc7609da3.png)  
However, I’ve found two ways to successfully stop the discharging using the online settings:  
Setting the “On-grid Battery Discharge Stop SOC” to 99% (or the current charge level):  
 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/9/d91da221e3a825660a87e659d4947542c5b1d322.png)  
(setting to 100% seem to be a invalid option)

Setting the “Discharging Power Rate” to 0%:  
 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/0/e08adbd782e7be87185443883381e69cf9a7a906.png)  
Sadly there does not seem to be a way to change the “Discharging Power Rate” in the current version of the Homey app.

I’ve done some digging, and found that it might be a firmware change result, they added the “on-grid level” option.

> Growatt did the firmware upgrade remotely yesterday. I have found the register and created a pull request #1056 to add the on-grid level I’ve also found the register and submitted a pull request (#1056) to add the on-grid level.

discussion: [[Bug]: 'IGrowatt' - 'MOD 6KTL3-XH (BP)' On-grid Battery Discharge Stop SOC does not adjust · Issue #1052 · wills106/homeassistant-solax-modbus · GitHub](https://github.com/wills106/homeassistant-solax-modbus/issues/1052).

Here’s a snippet of the potentially useful code?:

```auto
 GrowattModbusNumberEntityDescription(
        name = "EMS Discharging Stop SOC (on grid)",
        key = "ems_discharging_stop_soc_on_grid",
        register = 3067, #requires newer firmware
        unit = REGISTER_U16,
        native_min_value = 10, #default to avoid complete discharge, documentation says 0.
        native_max_value = 100,
        native_step = 1,
        fmt = "i",
        native_unit_of_measurement = PERCENTAGE,
        allowedtypes = GEN3 | GEN4 | HYBRID,
        write_method = WRITE_SINGLE_MODBUS,
        icon = "mdi:battery-10",
        entity_registry_enabled_default = False,
        entity_category = EntityCategory.CONFIG,
    ),

```

(Source: [Fix #1052 For Growatt MOD TL3-XH by TonyMathiesen · Pull Request #1056 · wills106/homeassistant-solax-modbus · GitHub](https://github.com/wills106/homeassistant-solax-modbus/pull/1056/commits/937c5b7c7877f7b5261c56723c31cd99f1f7a1f8))

That said, would adjusting the “Discharging Power Rate” be a more elegant solution to stop the battery from discharging? Because also in the same Github discussion:

> In the mail correspondence with Growatt the supporter mentioned:
> 
> _“Keep in mind that these options are proportional to the Depth of Discharge (DoD) of your battery, set at 90%. Please do not change these values by more than 20%, as it could cause your batteries to over-discharge.”_
> 
> I asked a bit into it, and in general he would not recommend to adjust the stop SOC levels as it also impacts other parameters. One should be cautious to avoid stressing the battery cells, and one should monitor the parameters after every adjustment.

I’m not very familiar with the Modbus commands, but I’ve seen references to a “DisChargePower” option. Could that be worth exploring?

Thanks in advance for any insights!

---

<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:** [October 20, 2024, 7:17am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1171 "2024-10-20T07:17:10Z")

</div>

May be of any use; for sure it is correct what is written and some functions are NOT available when having the prio set th something else.

Prio LOAD:  
The “Battery Discharge Power Rate”, “Discharge Stopped SOC” and “Discharge Period” are available for setting And please set the “Discharge Period” otherwise the operation modes will be adjusted to “Load First” automatically.

Prio BATTERY:  
The “Battery Charge Power Rate”, “Charge Stopped SOC” “AC Charge Function” and “Charge Period” are available for setting.

---

<div class="post-metadata">

**Author:** ![Satoer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/satoer/32/38113_2.png) [@Satoer](https://community.homey.app/u/Satoer)\
**Post date:** [October 21, 2024, 8:27pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1172 "2024-10-21T20:27:53Z")

</div>

I’ve done more testing, and I’m almost certain that setting the “Battery Minimum Capacity” on my Growatt MOD 5000TL3-XH (BP) with the latest firmware has no effect. However, I managed to stop the discharging by using the Homey Modbus app and writing directly to the registers. There are two methods to stop discharging—both have quirks like @Phil_Bro above also experienced, but I’ll need to do more testing to confirm.

**First method:**  
Set register 3067 to adjust the " **On-grid Battery Discharge Stop SOC."**

 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/9/797e3402cd4ed8366317426ec5d04b416d01ac47.png)  
Interestingly, writing directly to this register doesn’t show up in the online settings (Growatt dashboard portal), but reading the register confirms that it’s correctly set. Also, if I change this setting online to a different value, I can read the updated value directly from Modbus.

**Drawback:**  
When it’s set to the current capacity and discharging stops, the BMS/Battery goes into standby. Unfortunately, it doesn’t seem to wake up automatically when I change the setting back to 10%, but this could have been a fluke. I’ll need to test further to confirm.  
I’ve also added a small JavaScript snippet to ensure the value stays between 10% and 99%, since setting it to 100% triggers a warning online

 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/6/765b7ff3993d3cdcae3849e40c90286609fd2029.png)

> “Stop Charging SOC \> Off-grid/On-grid Battery Discharging Stop SOC %”

—I’m not sure what it means, but I’ve decided to respect the warning.

**Second method:**  
Set register 3036 to 0 (%), which adjusts the **“Discharging Power Rate.”**

 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/b/7b60a7dc6c6cef9d32b689a1a7e86f43d9488163.png)

This seems to be the best way to stop discharging. Like the first method, changing this setting doesn’t reflect in the online status, but reading Modbus confirms the value when it’s updated online.

**Drawback:**  
While this stops the discharging, there’s still a small, almost negligible discharge.

 ![afbeelding](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/e/9e3a491b14d15e41590751f7bd6815d592e1c951.png)

The battery doesn’t go into standby and continues making that slight, audible whining noise. Not a big issue, and still a better outcome than not waking up from standby. But I still need to do more testing.

@Edwin_Biemond , do you think you can integrate these settings into the app?

- Register 3067: “On-grid Battery Discharge Stop SOC” (0-99 (=%))
- Register 3036: “Discharging Power Rate” (0-100 (=%)

Also, good news, @Gruijter has incorporated the app into the “Power by the hour” app to create better charge discharge scenes based on dynamic energy contracts 🥳

> [@\[APP\]\[Pro\] Power by the Hour: Insights per hour, day, month and year](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/2598):
>
> v6.6.4 is ready for testing: [Power by the Hour | Homey](https://homey.app/a/com.gruijter.powerhour/test/) DAP: Fix new ENTSO-E API. BAT: Added SolarEdge Growatt This should fix intermittent DAP prices not updating due to new ENTSOE API (please test @Aivis_Balodis) Also I tried adding Growatt batteries, but I had to guess the capabilities, so chances are it is not working properly. Please test @Satoer

Still have to investigate the possibilities though.

Cheers

---

<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:** [October 21, 2024, 9:48pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1173 "2024-10-21T21:48:51Z")

</div>

Since my setting for the ‘Battery Minimum Capacity’ works perfectly (now using it daily during the 4 hours of low pricing), I’ll be happy to contribute with some logs. @Edwin_Biemond, if you need anything, just ring a bell. VPN dail-in available as you know.

---

<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:** [October 21, 2024, 9:58pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1174 "2024-10-21T21:58:38Z")

</div>

so did everyone got this new firmware? with these on grid and off grid new registers.

---

<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:** [October 21, 2024, 10:35pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1175 "2024-10-21T22:35:27Z")

</div>

No I did not, I do not see anything like it in the Shine web UI.

---

<div class="post-metadata">

**Author:** ![Satoer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/satoer/32/38113_2.png) [@Satoer](https://community.homey.app/u/Satoer)\
**Post date:** [October 22, 2024, 8:27am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1176 "2024-10-22T08:27:44Z")

</div>

I don’t believe that firmware updates for Growatt inverters are available to regular users. In my case, I upgraded the firmware by working with a Growatt service team member, who was able to perform the update remotely. The update was necessary due to a firmware bug that was causing an error on my system. Unfortunately, the remote update failed in my case, and Growatt ended up sending me a replacement unit with the latest firmware installed.

Another method to update the firmware is by using a USB-to-RS232 adapter, but I suspect most users don’t go that route. Too complicated. Firmware updates typically require proactive steps, so most inverters probably won’t receive them unless the user takes action. If the system is running smoothly, most people likely won’t bother with an update. Of course, all new inverters come with the latest firmware pre-installed.

The firmware version displayed on my inverter’s OLED screen is **DN1.0**. According to my email exchange with the support team, the DSP chipset firmware is version **DNAA06** , and the M3 chip firmware is version **ZBDB08** (I have no idea how I can retrieve this information myself). It seems the inverter contains multiple microcontrollers, each of which can be updated with different firmware versions.

---

<div class="post-metadata">

**Author:** ![peav](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peav/32/34205_2.png) [@peav](https://community.homey.app/u/peav)\
**Post date:** [October 31, 2024, 10:49am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1177 "2024-10-31T10:49:15Z")

</div>

> [@Phil\_Bro](#):
>
> tiles

I just had the problem again and created a Diag. report, if this can help you in any way.  
ed950b0e-e142-4590-aa3f-23096f8b9c17  
/Poul-Erik

---

<div class="post-metadata">

**Author:** ![Wojtek\_Sawoniewicz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wojtek_sawoniewicz/32/64547_2.png) [@Wojtek\_Sawoniewicz](https://community.homey.app/u/Wojtek_Sawoniewicz)\
**Post date:** [October 31, 2024, 4:25pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1178 "2024-10-31T16:25:39Z")

</div>

have a Huawei device and wanted to connect it to the monitoring app. I don’t have an energy bank, and when setting up the connection, I only entered the IP address and left the rest of the settings as default. In theory, the device was added, but unfortunately, it doesn’t display any data regarding its operation since installation.

Does anyone know where I might have made a mistake or what else I should try to access the data

 ![IMG_6196](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/4/e487ea57f84d4df1b6f7315e1638980ddb0040ac.png)  
 ![IMG_6197](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/1/d19ef1bdeb9b4595f186986ba8f3f1000066008b.jpeg)  
 ![IMG_6198](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/c/2cdd9be2e5963593841fb4f0199d1bafe5827979.png)

---

<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:** [November 1, 2024, 6:52pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1179 "2024-11-01T18:52:18Z")

</div>

hey,

does it support modbus ? , is it a s-dongle or emma? does port 502 respond?

---

<div class="post-metadata">

**Author:** ![David\_Zaratin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/david_zaratin/32/115584_2.png) [@David\_Zaratin](https://community.homey.app/u/David_Zaratin)\
**Post date:** [November 3, 2024, 8:40pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1180 "2024-11-03T20:40:03Z")

</div>

Hello,

I recently bought a Homey Pro with the intention to use it to balance my power from solar panels, using this app.  
I installed and and (I think) I configured it fine, I can see production data.  
I have a SolarEdge SE10K inverter with a modbus meter (on the SolarEdge App, I can see production and balance between export and import). I can’t see this balance in the Homey App.  
I set it up by clicking on the SolarEdge inverter logo, was it the wrong one?  
Where and how can I activate the meter connection?

Thanks,  
David

---

<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:** [November 4, 2024, 11:48pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1182 "2024-11-04T23:48:56Z")

</div>

hey, select solaredge with storedge . I will detect your meters and pickup batt if you have or not.

---

<div class="post-metadata">

**Author:** ![pesken](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pesken/32/13135_2.png) [@pesken](https://community.homey.app/u/pesken)\
**Post date:** [November 5, 2024, 8:52pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1183 "2024-11-05T20:52:23Z")

</div>

Hi,

Searched the thread but havent found any answers yet. I have sungrow inverter and battery. Succesfully added them to homey but find it hard to build any useful flows with the available cards. I want to set discharge etc depending on price. Anyone knows if this is not possible at the moment?

---

<div class="post-metadata">

**Author:** ![Xander\_Hoose](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/xander_hoose/32/131829_2.png) [@Xander\_Hoose](https://community.homey.app/u/Xander_Hoose)\
**Post date:** [November 5, 2024, 11:29pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1184 "2024-11-05T23:29:22Z")

</div>

I actually have a similar question to @pesken above;

Sungrow inverter and battery. I want to charge the battery from the grid during cheap hours at night, prioritize using the battery over the grid on expensive hours during the day, and avoid battery discharge during all other cheap hours of the day (prioritizing the grid).

In the device flow cards, I can find:

- Hybrid Inverter Working Mode / Self-consumption mode \> I assume this prioritizes energy from the PV, then battery, then grid

- Hybrid Inverter Working Mode / Forced mode & Charge/discharge / Charge, discharge, stop \> I assumed this combo is needed to force the battery to ‘charge’ from the grid, or ‘discharge’ to the grid, correct? What does ‘stop’ do, and why does it need a kWh value? Is that the setting that avoids battery discharge and lets my inverter prioritize grid power instead?

- Set export limit / Enabled, disabled \> no idea what this does… any pointers?

Thanks in advance!!!

---

<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:** [November 6, 2024, 12:12am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1185 "2024-11-06T00:12:53Z")

</div>

Hey, you can check these holding registers but this is it.

> **[1608064349708-communication-protocol-of-residential-hybrid-inverterv1.0.20-1.pdf](https://github.com/mvandersteen/SungrowInverter/blob/794cb9e52fb07b062c75e58112823d6d1a211c75/docs/1608064349708-communication-protocol-of-residential-hybrid-inverterv1.0.20-1.pdf)**

let me know what you are missing and is in this doc, plus it writeable. Or find some impl

---

<div class="post-metadata">

**Author:** ![Aeromacke](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aeromacke/32/56590_2.png) [@Aeromacke](https://community.homey.app/u/Aeromacke)\
**Post date:** [November 7, 2024, 7:31pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1186 "2024-11-07T19:31:41Z")

</div>

Hi @Edwin_Biemond,  
Is there any plan to incorporate the Sigenergy hybrid inverter?

It is available on HA but no support on Homey.

/Markus

---

<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:** [November 7, 2024, 11:17pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1187 "2024-11-07T23:17:16Z")

</div>

I see this indeed [Sigenergy-Home-Assistant-Integration/modbus\_sigenergy.yaml at main · TypQxQ/Sigenergy-Home-Assistant-Integration · GitHub](https://github.com/TypQxQ/Sigenergy-Home-Assistant-Integration/blob/main/modbus_sigenergy.yaml)

what is your setup? and do you have some vpn where I can test against?

---

<div class="post-metadata">

**Author:** ![David\_Zaratin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/david_zaratin/32/115584_2.png) [@David\_Zaratin](https://community.homey.app/u/David_Zaratin)\
**Post date:** [November 8, 2024, 10:00am UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1188 "2024-11-08T10:00:40Z")

</div>

Hello - Thanks.  
I did work for a day or so, but not it is not refreshing anymore.  
Latest value was from 2 days ago.

Is there something that change? Not sure if I have to reset something. Looks like it started when I configured flow to charge the car, but I doubt this would be related.

Thanks

(Ref : using SE10K with Solar Edge / Store Edge app)

---

<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:** [November 8, 2024, 1:11pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1189 "2024-11-08T13:11:31Z")

</div>

can you send me a report, but if it worked before than I expect some dhcp refresh ip issue or some data issue. or you changed your firewall rules.

---

<div class="post-metadata">

**Author:** ![David\_Zaratin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/david_zaratin/32/115584_2.png) [@David\_Zaratin](https://community.homey.app/u/David_Zaratin)\
**Post date:** [November 8, 2024, 5:50pm UTC](https://community.homey.app/t/app-pro-solaredge-growatt-tcp-modbus/45487/1190 "2024-11-08T17:50:11Z")

</div>

Sorry, but how can I do that? I am a newbie here 🙂  
I don’t think anything changed actually.

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

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