# \[APP\]\[Pro\] Marstek Energy Storage

**URL:** <https://community.homey.app/t/app-pro-marstek-energy-storage/142928>\
**Category:** Apps\
**Tags:** app, homey-pro\
**Created:** [September 13, 2025, 10:20pm UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928 "2025-09-13T22:20:09Z")\
**Posts on this page:** 20\
**Page:** 17

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [May 31, 2026, 6:51pm UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/328 "2026-05-31T18:51:19Z")

</div>

Unfortunately still the same behavior:

54b17a16-b8f9-47ff-b6de-177785d7413a

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [May 31, 2026, 10:44pm UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/329 "2026-05-31T22:44:34Z")

</div>

New one incomming.  
The problem is that in force mode (any) the marstek has a timer that start to count down and safeguards itself by shutting the force mode down. In case the modbus controller (homey) became disconnected. I had a ‘bug’ before that I kept spamming the marstek with our state, but it kept the control mode alive. I fixed that bug but now this timer is cause this bevaior by design. SO I need to figure out ho to kick the timer back without spamming the device again.  
But new attemot, I build in a keep alive monitoring service that should recover a wrong state from code, similar to your flow but hopefully faster.

---

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [June 1, 2026, 7:06pm UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/330 "2026-06-01T19:06:18Z")

</div>

Thanks again! First observations (will try again tomorrow)

I have a part where the charging was interrupted again, but also a part where it continued as it should. Will test again tomorrow afternoon.

---

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [June 2, 2026, 6:57pm UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/331 "2026-06-02T18:57:27Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/8/f8e80f0582f1097b3adfc393dfb9deed82579a53.png)

Still the same ☹ I only use the “set power”-card when the target has changed, which it didn’t in this timeframe.

In your app settings, I tried to check the “device state dump”, but I get this result:

Error: connect ECONNREFUSED 10.0.0.110:502

Work mode event buffer:

[  
{  
“seq”: 1,  
“ts”: “2026-06-01T18:01:53.238Z”,  
“type”: “force\_revert\_detected”,  
“expected”: 2,  
“observed”: 0,  
“age\_ms”: 3686325  
},  
{  
“seq”: 2,  
“ts”: “2026-06-01T18:01:53.538Z”,  
“type”: “force\_recovered”,  
“reasserted”: 2,  
“mode”: “target\_power”,  
“register”: 42010  
},  
{  
“seq”: 3,  
“ts”: “2026-06-02T04:57:07.097Z”,  
“type”: “force\_revert\_detected”,  
“expected”: 0,  
“observed”: 0,  
“age\_ms”: 151  
},  
{  
“seq”: 4,  
“ts”: “2026-06-02T10:29:52.175Z”,  
“type”: “force\_revert\_detected”,  
“expected”: 1,  
“observed”: 0,  
“age\_ms”: 889909  
},  
{  
“seq”: 5,  
“ts”: “2026-06-02T10:29:52.476Z”,  
“type”: “force\_recovered”,  
“reasserted”: 1,  
“mode”: “target\_power”,  
“register”: 42010  
}  
]

Diagnostics: 57cb6ba5-d620-4acf-906e-b4c2c98000d2

Is there anything else I can do to help? And you still won’t accept a beer 😉 ?

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [June 2, 2026, 9:09pm UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/332 "2026-06-02T21:09:05Z")

</div>

New test version ready for tomorrow, the recovery process now monitors more values.

I dont want to accept gifts because they can stack to the level it becomes a taxable income.

---

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [June 3, 2026, 5:12am UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/333 "2026-06-03T05:12:46Z")

</div>

Version .10 is not stable. It often fails to fetch the data, and it also fails to set target power. Restoring the last stable app version worked, and after trying .10 again it resulted in the same errors.

3e12a8a3-c906-4ae5-a718-b057e95f1d05

 ![IMG_0736](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/0/20d3c75611255c239aef9a20b68b2bb52098e243.jpeg)

Immediately after restoring version 1.3.6 the device becomes unavailable again:

9207f052-2a1c-4df6-8992-dd3e8cbc6b24

It also started charging at 1.5 kW, which was not instructed. After resetting some stuff it went back to normal.

---

<div class="post-metadata">

**Author:** ![John\_van\_der\_Ster](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_van_der_ster/32/170867_2.png) [@John\_van\_der\_Ster](https://community.homey.app/u/John_van_der_Ster)\
**Post date:** [June 3, 2026, 3:26pm UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/334 "2026-06-03T15:26:20Z")

</div>

Here also connection problems with latest test version. No data from Venus e3.

Installing version 1.3.6 didn’t help. I restarted Homey pro, no luck. Data in app isn’t refreshing, is from yesterday I think.

Update: after a while data is refreshed.

---

<div class="post-metadata">

**Author:** ![John\_van\_der\_Ster](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_van_der_ster/32/170867_2.png) [@John\_van\_der\_Ster](https://community.homey.app/u/John_van_der_Ster)\
**Post date:** [June 4, 2026, 7:02am UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/335 "2026-06-04T07:02:16Z")

</div>

Installed version 1.3.11, app doesn’t get data from and to the battery. When changing charge status a time out received.  
Diag: a51617f5-c28a-482c-8b27-1f6a318bac69  
Sorry if not nescessary.

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [June 4, 2026, 7:43am UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/336 "2026-06-04T07:43:29Z")

</div>

OK it seems the protection for reverting to 0 by the demon in the battery is overloading the modbus on some devices. How did you both connect? V3 with modbus over utp? Or using a gateway on the modbus port? Like the v2 I have only supports?

---

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [June 4, 2026, 8:36am UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/337 "2026-06-04T08:36:12Z")

</div>

I also see the problems now in 1.3.6. Modbus over UTP on Venus D. Just connected solar panels directly to the Venus D. Might be a coincidence, but 1.3.6 has been stable before.

bffca38b-badf-482c-9550-2bc3f43323b4

If you can’t see anything in the diagnostics, I can try to unplug the PV to check if that caused the issue.

Edit: it took a while, but now it works again. I didn’t do anything.  
But I don’t see anything PV-related in the modbus capabilities. The charging power is exactly the same as the grid output. Is there a way to get the PV-measurements?

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

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/5/c56cb5e5dc965f06950c28d5819af16ba07efaad.jpeg)

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [June 4, 2026, 6:22pm UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/338 "2026-06-04T18:22:42Z")

</div>

I have a new version on the test, if this doesnt work stable we revert back to .6 altogether.

@TKroon I dot have de registers for those values, so I dont know 😉

---

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [June 4, 2026, 7:01pm UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/339 "2026-06-04T19:01:49Z")

</div>

How can I retrieve those registers?

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [June 4, 2026, 7:13pm UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/340 "2026-06-04T19:13:55Z")

</div>

Find documentation that lists them, Marstek isnt that open so far. People have been polling registers (can be done in my test page) to see if they match their vales to confirm. But some are multi register etc. so… reverse engineering or good online searches 😉

---

<div class="post-metadata">

**Author:** ![John\_van\_der\_Ster](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_van_der_ster/32/170867_2.png) [@John\_van\_der\_Ster](https://community.homey.app/u/John_van_der_Ster)\
**Post date:** [June 5, 2026, 7:36am UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/341 "2026-06-05T07:36:47Z")

</div>

I use V3 over modbus over utp. I will try the new version

---

<div class="post-metadata">

**Author:** ![John\_van\_der\_Ster](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_van_der_ster/32/170867_2.png) [@John\_van\_der\_Ster](https://community.homey.app/u/John_van_der_Ster)\
**Post date:** [June 5, 2026, 8:07am UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/342 "2026-06-05T08:07:25Z")

</div>

After installation I waited a while. Tried to change charge modus: time out.  
I made a diag: 9aac84fb-31e7-4103-83cf-1fe5af227284

Update 10:32: reverted back to 1.3.6, communication works again, data updated from battery.

---

<div class="post-metadata">

**Author:** ![Sander\_Storm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sander_storm/32/120883_2.png) [@Sander\_Storm](https://community.homey.app/u/Sander_Storm)\
**Post date:** [June 5, 2026, 11:54am UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/343 "2026-06-05T11:54:25Z")

</div>

Started using this integration yesterday to optimize battery activity by writing strategy code myself. So far works great!

Today I also noticed some unexpected power dips as seen in previous posts. I am running 1.3.6 of the app. I also noticed in the message window of the batteries there are a lot of battery idle, battery active messages while I am just setting tragetPower of the batteries. Is this the same issue with the keepalive / watchdog function? Or am I doing something wrong?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/3/9377e5fcdaa1f39b66fe1fd5f88c88dfab97116b.jpeg)

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [June 5, 2026, 1:49pm UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/344 "2026-06-05T13:49:33Z")

</div>

Same issue, you can try the test version. I am still trying to figure out why this happens with some models

---

<div class="post-metadata">

**Author:** ![Sander\_Storm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sander_storm/32/120883_2.png) [@Sander\_Storm](https://community.homey.app/u/Sander_Storm)\
**Post date:** [June 5, 2026, 2:10pm UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/345 "2026-06-05T14:10:24Z")

</div>

Understood. If there is anything I can do to provide additional information or testing please let me know 🙂

---

<div class="post-metadata">

**Author:** ![Kaoh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kaoh/32/9283_2.png) [@Kaoh](https://community.homey.app/u/Kaoh)\
**Post date:** [June 5, 2026, 5:22pm UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/346 "2026-06-05T17:22:14Z")

</div>

I put a new test version up, it has device settings to disable to guard alltogether if it keeps cause timeouts, and you cna reduce the guard check speed, turn it down until your connection is stabel, will increase the time your device might hang on 0.  
Lets see if that solves your problems

---

<div class="post-metadata">

**Author:** ![Sander\_Storm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sander_storm/32/120883_2.png) [@Sander\_Storm](https://community.homey.app/u/Sander_Storm)\
**Post date:** [June 6, 2026, 9:04am UTC](https://community.homey.app/t/app-pro-marstek-energy-storage/142928/347 "2026-06-06T09:04:51Z")

</div>

Yesterday I ran into a issue where a accidentally pulled the power to the switch where te batteries were connected to. This is where everything went worng for some reason. The batteries worked fine on a dynamic EMS control for 36 hours but after this power cut of the switch I had massive issues getting everything back online.

Looked like I the app is able to connect to the Modbus server of the battery as it did not show any connection errors but all values remained old ones. So Modbus polling did not appear to be active. Eventually I got it back working after restarting everything multiple times.

This mornign when instelling the new test version of the app the same seemed to be going on. Batteries seem to be online but no new values en no control. When I tried to use a tool like Modbus poll the batteries appear to be funtional and responsive.

If you need any more information I am happy to provide 🙂

[Previous page](https://community.homey.app/t/app-pro-marstek-energy-storage/142928.md?page=16)

[Next page](https://community.homey.app/t/app-pro-marstek-energy-storage/142928.md?page=18)
