zenSDK icon indicating copy to clipboard operation
zenSDK copied to clipboard

min_soc reverts to app value after ~seconds — cannot hold a custom minimum SoC (SolarFlow 2400 AC)

Open Bagu opened this issue 4 months ago • 2 comments

Summary

On a SolarFlow 2400 AC with HEMS enabled, the minimum battery SoC (min_soc) cannot be held at a custom value. Between 10 and 25 seconds after setting it, the device silently reverts to the value configured in the Zendure mobile app.

Update: as reported in the comments, min_soc is stable when HEMS is disabled. Disabling HEMS is not an option here, since smart mode only appears to work while HEMS is enabled. This report therefore concerns the HEMS-enabled case.

Environment

  • Device: SolarFlow 2400 AC
  • Device firmware: V2.0.1
  • Smart Meter: 3CT, firmware V1.0.5
  • HEMS: enabled (required, smart mode only appears to work with HEMS enabled)
  • Zendure app version: 6.5.0
  • Control paths tested: Zendure mobile app (direct) AND Home Assistant
  • Home Assistant version: 2026.7.2
  • HA integration: zendure_ha (custom component), version 1.4.3

Expected behavior

After writing a new minimum SoC, the device keeps that value until it is explicitly changed again.

Actual behavior

The new minimum SoC is accepted momentarily, then the device reverts on its own to the value currently set in the Zendure app, between 10 and 25 seconds after the write. The written value does not persist.

Steps to reproduce

  1. Set a minimum SoC value X in the Zendure app.
  2. Change the minimum SoC to a different value Y (either from the app or from an external controller).
  3. Wait 10 to 25 seconds.
  4. Observe: the minimum SoC returns to X on its own.

Isolation already performed

To rule out my home automation as the cause, I fully disabled all Home Assistant control of the device (no external process writing min_soc) and set the value directly in the Zendure app.

Result: the revert still happens with Home Assistant completely out of the loop. This points to device/cloud-side behavior rather than the HA integration.

Impact / current workaround

Because the value will not hold, I currently run an automation that re-writes the desired min_soc every 30 seconds to force it to stay. This is a workaround, not a fix: it hammers the device and masks the underlying issue.

Questions

  1. With HEMS enabled, is this reassertion by design, i.e. does HEMS treat the app min_soc as the authoritative value and overwrite anything else?
  2. If so, is there a supported way to change the min_soc that HEMS itself uses, so the new value is kept rather than reverted?
  3. Do smartMode 0 / smartMode 1 apply only when HEMS is disabled, or is there an equivalent behaviour with HEMS enabled?
  4. Can anyone confirm whether a SolarFlow 2400 AC with HEMS enabled is able to hold a custom min_soc at all?

Notes

Zendure support asked me to first test outside Home Assistant to confirm the source of the problem, then to report here if it persisted without HA. It does persist without HA, hence this report.

Bagu avatar Aug 06 '26 16:08 Bagu

I am using a SolarFlow 1600AC+. It is controlled by a script, without HEMS and without an internet connection. The firmware version is the same. minSoc works perfect.

Regarding Question 1: minSoc is writable and is not modified externally. HEMS must not be enabled. Regarding 2: The firmware accepts values > 5% and <= 100% in my case.

Regarding 3: You must disable HEMS. smartMode 0 -> Parameter is saved persistently (not recommended) smartMode 1 -> Parameter is retained until the battery firmware is rebooted

Regards, planetfive

planetfive avatar Aug 12 '26 14:08 planetfive

Thanks @planetfive, that is a very useful data point.

The difference in our setups is HEMS. In my case disabling it is not an option: I use a Smart Meter 3CT for automatic grid balancing, and smart mode only seems to work while HEMS is enabled.

So the picture looks like this: with HEMS enabled, HEMS reasserts the minSoc value configured in the Zendure app roughly 10 to 25 seconds after any external write. That matches your finding that minSoc is only stable when HEMS is off.

To be precise about my measurements: the revert happens within 10 to 25 seconds, not minutes (I will correct the reproduction steps above accordingly).

Follow-up questions, for anyone with HEMS enabled:

  1. Is this reassertion by design, i.e. does HEMS treat the app minSoc as the authoritative value and overwrite anything else?
  2. If so, is there a supported way to change the minSoc that HEMS itself uses, so the new value is kept rather than reverted?
  3. Do smartMode 0 / smartMode 1 apply only when HEMS is disabled, or is there an equivalent behaviour with HEMS enabled?
  4. Can anyone confirm whether a SolarFlow 2400 AC with HEMS enabled is able to hold a custom minSoc at all?

For reference, my current workaround is an automation that re-writes minSoc every 30 seconds so it never has time to drift back. It works, but it constantly fights HEMS and is clearly not the right solution.

Bagu avatar Aug 12 '26 23:08 Bagu