Support for SolarFlow 800 Pro 2
Will the SolarFlow 800 Pro 2 be supported? Ordered an 800 Pro and received the new model, which currently does not work with HA.
Can your post your http://
Due to new EN Cybersecurity Directive device access via WLAN/http is disabled as default. https://www.cyber-regulierung.de/normen-standards/en-18031/
This was implemented in the last FW update, and probably all new products to be CE compliant. https://github.com/Zendure/zenSDK
Check this:
-- Under EN 18031, HTTP requests are not supported by default.
-
To enable the local API, add HEMS and then exit to apply.
Can your post your http:///properties/report since it should have zenSDK i think
{"code":400,"success":false,"data":{},"msg":"An unexpected error occurred"}
To enable the local API, add HEMS and then exit to apply.
Okay work now
The device works with zenSDK. I could not get it to work with Zendure-HA originally and assumed it was due to some lack of support in zenSDK for the new model, but it was probably caused by the Zendure cloud. Zendure-HA queries the Zendure cloud during setup and the device list came back empty from the API - although the SolarFlow 800 Pro 2 was registered and visible in the app. I hacked together a manual configuration fallback in Zendure-HA so I could bypass the discovery via cloud (manually specifying the IP address, serial number etc) and it has been working since.
The device works with zenSDK. I could not get it to work with Zendure-HA originally and assumed it was due to some lack of support in zenSDK for the new model, but it was probably caused by the Zendure cloud. Zendure-HA queries the Zendure cloud during setup and the device list came back empty from the API - although the SolarFlow 800 Pro 2 was registered and visible in the app. I hacked together a manual configuration fallback in Zendure-HA so I could bypass the discovery via cloud (manually specifying the IP address, serial number etc) and it has been working since.
Ik have several users with a 800 pro 2 so you could also try; https://github.com/Gielz1986/Zendure-HA-zenSDK
With ioBroker, the SolarFlow 800 Plus 2 — as well as all new Zendure devices featuring a web server — can be controlled very easily and effectively using my script.
To activate the web server, you simply need to perform the following one-time step: To enable the local API, switch on "HEMS" for the device. Wait a few seconds, then switch HEMS off again. The device's web server will then be operational.
This script for ioBroker serves as a replacement for the ioBroker adapter; it has been thoroughly tested and works excellently.
You can find my script in the German-speaking section of the ioBroker forum: Zendure zenSDK Lokal API, SmartMode, SolarFlow AC 800 Pro 2
URL directly to the current German description and the current script: here
@maxclaudi-tech; thanks for the link to your project. Was not able to download the script. Does it need a login ?
Your remarks about the Flash write cycles are very interesting. I use a Tasmota script for local control. My control loop cycle is between 2..6sec, depending on the load changes. I use a PI control loop to get as near as possible to 0-power consumption, of course within the limits of the SF800Pro´s 800W. As all control loops needs a permanent adaption to achieve the target value, this needs regular changes of the smartmode between input/output. Lifting the offset e.g. to e.g. 10W consumption will already cause cost of >10€/year. Where can I find the request to Zendure about the parameters written to flash in smartmode (1) ? If this is output/inputlimit only, the flashcycles could become an issue. See this screenshot. Around 12:12 several consumers had been switched on/off. Excess energy will be feed into a heater with it´s own PI control loop.
Still trying to find the best control loop to minimise consumption & losses and high heater efficiency.
The SF800Pro is used as ACBattery - currently no panels. It store the excess energy from another Solar Power System, and I have to switch permanently between the acmodes storing/providing energy
Therefore, and as I don´t want to use additional HW & SW beside by ESP32, I have to implement my own application with Tasmota.
@Spessartwald
You can access this without being logged in.
The post contains the description.
The next post contains the actual script.
It is not a downloadable file. The script is included in the post as copyable code. It can simply be copied to your clipboard. You can then paste it into ioBroker as a JavaScript - or into a text editor for analysis (if desired).
Regarding the technical aspects:
A PV system is designed for active regulation, not for artificial standby operation.
Operating a control loop every x to 10 (or more) seconds means the system must remain permanently in active regulation via smartMode:1.
In this mode, the high-frequency parameters are processed directly in RAM, avoiding Flash wear.
Toggling back to smartMode:0 should never be done casually or during brief load changes.
It must be treated strictly as a last resort - only when it is absolutely unavoidable and the system needs to go into a long-term standby
(e.g., due to winter or extended periods without any activity).
Frequent, unnecessary switching to standby is what damages the Flash memory.
In this context, my previous posts might also be of interest; for example:
- Technischer Hinweis zur Kaskadierung von Speichersystemen
- Reply to: "Hast du eigentlich in deinem Script sowas wie eine Pulsladerregelung drin?"
My clear recommendation:
Keep the System always in active regulation and the batteries balanced within their optimal state of charge and leave the system in smartMode:1.
Avoid standby phases entirely unless they are technically unpreventable.
Many technical arguments have already been discussed, also in the linked threads or can be found in other sources; therefore, I will leave it at that and will not delve further into this topic.
Ultimately, everyone must decide for themselves whether saving a few watts of standby energy is worth risking the hardware's lifespan.
That is my opinion; nothing more, nothing less.
Hope this helps with your Tasmota implementation.
pretty clear. My system is always in smartmode 1, and this is checked after each reboot of tasmota. This made me wondering: "Nach aktuellem Stand ist sicher: Wenn smartMode: 1 gesetzt ist, werden zumindest die Werte für outputLimit und inputLimit lediglich in den RAM geschrieben. Ein Modewechsel (z. B. acMode, Energiepläne, Automodi, MQTT-Konfiguration) wird hingegen fast immer in den Flash-Speicher geschrieben. "
Issue:
- Roof PV: 800W available: -> use it to charge the SF800Pro battery (AC input)
- Switch on coffee machine 1300W: 800W provided by the roof PV + 500W from the SF800Pro Battery (AC output)
Coffee machine switches on /off every 60s to keep the temperature (as almost all heaters do like cooking stoves). ->AC Mode must change every min, sometimes even faster.
@Spessartwald
Coffee machine switches on /off every 60s to keep the temperature (as almost all heaters do like cooking stoves). ->AC Mode must change every min, sometimes even faster.
you don't have to.
This made me wondering:
I verified for me what is written to the flash memory. This does not constitute a defect on Zendure's part. Many (all?) manufacturers operate in this manner. Provided without warranty and not necessarily applicable to all devices or firmware versions: Enable to set chargeMaxLimit
Danke , dann habe ich (oder Zendure) möglicherweise ein Problem. Wenn der SF800Pro als reiner AC Speicher für eine Nulleinspeisung verwendet werden soll, und die Energie dafür aus einer anderen Solaranlage vom Dach kommt, ist eine permanente und schnelle Umschaltung Laden/Einspeisen unumgänglich. Sonst ist das Gerät nicht für diesen Zweck zu verwenden. Ich habe den SF800Pro aber genau dafür gekauft - aufgrund der Angaben zum Smartmode "1" in der ZenSDK. Der Grund ist ganz einfach: Bestehende Solaranlage auf dem Dach - 20m vom Speicher weg. Viel zu hohe Verluste mit einer DC Leitung. Nur mit dieser Lösung lassen sich mehr als 800W erzeugen, um die Kaffeemachine, taktende Herdplatten und weitere Großverbraucher zu versorgen. Grundlast interessiert mich nicht, die ist bei mir <20W.
D.h. ich werde das bei ZenSDK auch nochmal anfragen. oder das Gerät in den nächsten Monaten defekt zurücksenden...
.... Wenn der SF800Pro als reiner AC Speicher für eine Nulleinspeisung verwendet werden soll, und die Energie dafür aus einer anderen Solaranlage vom Dach kommt, ist eine permanente und schnelle Umschaltung Laden/Einspeisen unumgänglich.
Continuous and rapid switching between grid charging and grid feed-in is generally not ideal in PV systems, since it can place unnecessary stress on the hardware.
Nur mit dieser Lösung lassen sich mehr als 800W erzeugen, um die Kaffeemachine, taktende Herdplatten und weitere Großverbraucher zu versorgen. Grundlast interessiert mich nicht, die ist bei mir <20W.
I had already linked the thread in which I describe how to handle highly dynamic loads (fluctuating loads, load spikes) without constant switching back and forth. A better way is to detect peak loads, add an additional buffer, and keep the adjusted limit active for a minimum duration.
To quote myself:
maxclaudi sagte: setze das konservativer um und reagiere auf häufige Lastwechsel durch eine Anpassung meiner Regelstrategie.
Meine Vorgehensweise (KISS): priorisiere die Lebensdauer der Hardware und die Systemruhe vor einer theoretischen 100%igen Nulleinspeisung.
Wenn bei mir hohe pulsierende Last festgestellt wird, wird dabei der vorübergehende Maximalwert ermittelt. Zum Maximalwert inkrementiere ich einen Puffer von x W. Es wird ein neues Limit gesetzt (Maximalwert+Puffer) für eine Mindestzeit.
Bei mir Mindestzeit: hardwarebedingt 2 min. Puffer (Lastspitzen): 200W Puffer (normaler Zyklus): 50~60W bei kurzen, kleineren Impulsen.
Erst dann wird neu reagiert. Schneller regele ich nicht und das hat seine Gründe - u. a. Hardware-Schonung, realistisches Schaltvermögen etc.
Angenommen 1 kWh kostet 0,30 Euro. Wenn man kocht, dann dauert das wie lang? Eine Mikrowelle ist wie lange an? Eine Waschmaschine läuft wie lange? Ein Wasserkocher? etc.
Angenommen Herd ca. 30 min - 1h. Für 0,30 Euro muss nicht die teure Hardware gestresst werden und sinnfrei im Sekundentakt jedem einzelnen Watt hinterher gejagt werden. Auch ein stetiges nachregeln in kürzester Zeit kann die Hardware nicht wirklich real umsetzen. Jedenfalls nicht ohne, dass es auf die Lebensdauer des Geräts geht und ohne merklichen Unterschied am Zählerstand.
Dann lieber höhere Hysterese mit längerem Zeitintervall. Eher etwas mehr einspeisen und wenig/kein Bezug oder eher etwas Bezug nahe 0.
Wenn ein Limit gesetzt wird, sollte es meiner Meinung nach großzügiger sein und lieber länger gehalten werden, statt zu häufig nach zu regeln.
Bei 200 W zu viel Einspeisung für z.B. 15 Minuten werden gerade einmal 0,05 kWh (ca. 1,5 Cent) verschenkt. Das ist ein sehr geringer Preis für die gewonnene Hardware-Schonung.
Schnelle Regelschleifen neigen bei Latenzen zum Aufschwingen. Mein Intervall beruhigt das System und sorgt für eine saubere Lastkurve.
Das ist nur meine Einschätzung aus elektrotechnischer Sicht und Vorgehensweise, nicht mehr.
The flash memory will typically not fail immediately. Write operations to flash memory are usually handled using wear leveling, a technique designed to distribute write cycles as evenly as possible across memory cells in order to maximize service life.
If Zendure uses dynamic wear leveling together with suitable flash components, the expected lifespan under normal operating conditions should be sufficiently long.
A common issue with aging flash memory is not necessarily a complete failure, but rather gradual wear affecting individual memory areas. In such cases, the device may continue to operate while exhibiting intermittent or difficult-to-diagnose behavior.
These kinds of problems are often difficult to clearly attribute to flash memory degradation, since they may not occur consistently or be easily reproducible.
This is simply my personal engineering approach and prioritization.
Danke für diese Details. Dann werde ich die Regelstrategie anpassen müssen. Wäre schön, wenn Zendure solche Details hier offenlegen würde.
Ich vermute mal, daß dieser alle 2..6 sek. gesendete Befehl dann auch den Flash beschreiben würde, auch wenn der acmode sich nicht ändert ?
=>WebQuery http://[SolarflowSeriennummer]/properties/write POST {"sn":"EOA1NHN3N256981","properties":{"acmode":2,"outputLimit":%0newLimit%}}
Ich habe mir meine Verbraucher nochmal genauer angesehen. Wenn ich den Regler soweit runternehme, daß z.B. eine Umschaltung einspeisen/laden nur noch alle 2min erfolgt, wird der SF800Pro unwirtschaftlich. Meine Annahmen beim Kauf waren klar: Strombezug von 1.100KWh auf 600KWh reduzieren, oder 160€/Jahr. In 2025 habe ich 670KWh ungenutzt eingespeist, das sollte zu 80% (Wirkungsgrad des Speichers) verwendet werden. D.h. es geht tatsächlich in den 250 Sonnentagen um 0,6€/Tag, die zu 80% von Großverbrauchern verursacht werden. Z.B. Werkstattsauger 1,5KW an der Kreissäge an/aus,, Druckluftkompressor, Klimagerät, Kochplatten.. und da war noch ein Gaming PC der je nach Kampfaktivität im Spiel dynamisch zwischen 50..400Watt verbraucht. Das ergab eine Amortisationszeit von ca 5 Jahren. Länger hätte ich nicht akzeptiert.
Da frage ich mich, wie die von Zendure selbst angepriesenen Kostenreduktionen z.B. in Verbindung mit einem D0 Zähler und ´Nulleinspeisung´ überhaupt erreicht werden können. Geht ja nur bei weitgehend konstantem Verbrauch. So einen Haushalt kenne ich nicht. https://www.zendure.de/blogs/news/nulleinspeisung-balkonkraftwerk
Danke für diese Details. Dann werde ich die Regelstrategie anpassen müssen. Wäre schön, wenn Zendure solche Details hier offenlegen würde.
Ich vermute mal, daß dieser alle 2..6 sek. gesendete Befehl dann auch den Flash beschreiben würde, auch wenn der acmode sich nicht ändert ?
=>WebQuery http://[SolarflowSeriennummer]/properties/write POST {"sn":"EOA1NHN3N256981","properties":{"acmode":2,"outputLimit":%0newLimit%}}
I cannot know how Zendure implemented this internally, since we do not have access to the firmware source code.
However, from an embedded/software engineering perspective, I would normally expect such a system to:
- parse the incoming JSON,
- compare the requested values with the current runtime state,
- and only apply/write values that actually changed.
Example:
Current internal state:
{
"smartMode": 1,
"acmode": 2,
"outputLimit": 100
}
Incoming request:
{
"acmode": 2,
"outputLimit": 150
}
In such a design, acmode would likely be ignored internally because the device is already operating in acmode:2.
Only outputLimit would actually change.
Therefore, I would currently assume that repeatedly sending:
{"acmode":2,"outputLimit":%0newLimit%}
does not necessarily mean that acmode is continuously rewritten or persisted each time.
outputLimit itself is most likely handled as a runtime/RAM parameter rather than something that is persistently written on every update while operating in smartMode:1.
A real mode transition (for example acmode:1 -> acmode:2) would be more likely to trigger additional internal state handling and possibly persistent storage.
But again: this is only an assumption based on how such systems are commonly implemented.
Personally, I would additionally monitor smartMode periodically and only resend it if the current state differs.
For example:
{"smartMode":1,"acmode":2,"outputLimit":%0newLimit%}
But ideally only after checking:
smartMode != 1
before sending the command, to avoid unnecessary state changes or internal processing.
That said, this discussion is probably no longer directly related to the original topic:
Support for SolarFlow 800 Pro 2
It is becoming more of a general firmware/runtime behavior and implementation discussion.
It may therefore be better suited for a separate discussion thread
and/or as a dedicated issue/request directed to Zendure itself.
Also just for clarification: I am not a Zendure employee and not a firmware developer for this device.
I can only answer based on:
- practical testing,
- observations from testing and reverse engineering,
- professional experience with control/automation systems,
- and general embedded/software engineering principles.
So my statements should be understood as technically reasoned assumptions, not guaranteed facts about Zendure's internal firmware implementation.
From my side, I do not have much more to add without actual firmware details from Zendure.
Hopefully this helps a bit.
Thanks for your input and all this remarkable work. Whoever came across this thread should consider your input. I will open an new discusion asking Zendure to provide technical specs about this.
The current ZenSDK documentation needs to be improved, because this is the baseline for a buy decision for a Zendure or competitor product, if you want to implement your own local control methods without the cloud, and for economic reasons.
Even if Zendure already answered to me that 90% of their customers are happy with the official solutions, the remaining 10% are hidden influencers for others. I recommended the Zendure Products to 3 friends & to implement a similar solution by just extending their existing Balcony PV with a SF800Pro used as AC Battery and ESP32 for local control to get more than the 800W. For now, I have to stop this until I know what the consequences are.