zenSDK icon indicating copy to clipboard operation
zenSDK copied to clipboard

SolarFlow 800Pro - ´pass´ property value ´2´ not specified

Open Spessartwald opened this issue 10 months ago • 3 comments

SolarFlow Pro800 baught in Nov. 2025. Reason: your open API, which should give total local control without any smartphone, and without internet.

Solution: use Tasmota on ESP32 as command center. No shelly, no cloud, no HA, Raspberry, MQTT and other complex, slow and power consuming stuff. So far I´m happy, and I gave recommendations for this product to friends and other engineers in my company.

Current issue: the ´pass´ value given back through a GET request has the value ´2´ (and of course in the report). For my understanding that should be the parameter showing ´Bypass´ state in the app. ´pass´ should have values 0 or 1 only. Can you please check if your definition is wrong for the SolarFlowPro 800, or maybe a change was introduced during the last FW update I did 2 weeks ago. What does ´2´ mean ?

Control Loop cycle time: AC Inputpower from another solarsystem and AC output is currently updated by Tasmota every 3 seconds. Unfortunately this is almost the switching cycle of a electric heater in my house, resulting in 180° phase shift and therefore discharging the battery into the grid for few seconds, while in the next loop the heater will take the power from the grid. What is the shortest update cycle for input & outputlimit parameters accepted by the SolarFlow 800 Pro API & internal control loop ? Any technical timing spec available ? This should be published on the web - it´s a decision criteria to buy a Zendure Product.

Spessartwald avatar Jan 23 '26 16:01 Spessartwald

SolarFlow800Pro Firmware V1.0.23

Spessartwald avatar Jan 24 '26 09:01 Spessartwald

SolarFlow Pro800 baught in Nov. 2025. Reason: your open API, which should give total local control without any smartphone, and without internet.

Solution: use Tasmota on ESP32 as command center. No shelly, no cloud, no HA, Raspberry, MQTT and other complex, slow and power consuming stuff. So far I´m happy, and I gave recommendations for this product to friends and other engineers in my company.

Current issue: the ´pass´ value given back through a GET request has the value ´2´ (and of course in the report). For my understanding that should be the parameter showing ´Bypass´ state in the app. ´pass´ should have values 0 or 1 only. Can you please check if your definition is wrong for the SolarFlowPro 800, or maybe a change was introduced during the last FW update I did 2 weeks ago. What does ´2´ mean ?

Control Loop cycle time: AC Inputpower from another solarsystem and AC output is currently updated by Tasmota every 3 seconds. Unfortunately this is almost the switching cycle of a electric heater in my house, resulting in 180° phase shift and therefore discharging the battery into the grid for few seconds, while in the next loop the heater will take the power from the grid. What is the shortest update cycle for input & outputlimit parameters accepted by the SolarFlow 800 Pro API & internal control loop ? Any technical timing spec available ? This should be published on the web - it´s a decision criteria to buy a Zendure Product.

Hi ! Thanks for the detailed description of your setup — from your explanation of the CT-like self-implemented control logic, it’s clear you are approaching this as an engineer, not just a user.

About the pass parameter The pass field represents the PV passthrough (bypass) state of the device: • 0 → Normal operating mode • 2 → Bypass / PV passthrough mode (PV direct feed-through)

So 2 is a valid and intentional state, indicating that the system has switched into PV bypass operation. We agree that this should be documented more explicitly, and we’ll improve the API definition to make this clearer. About the oscillation between charge and discharge What you are observing — the alternating charge/discharge behavior — is a classic control-loop oscillation problem, not a malfunction of the device. The root cause is not the API itself, but the control frequency: • Your current external control loop runs every ~3 seconds • This is too fast relative to: • the physical response time of the grid, • power propagation into the household network, • and the internal control and smoothing logic of the device When you switch to discharge, the power does not immediately propagate through the entire grid/load. Before the system has fully settled, your next control cycle already evaluates the situation again and applies a stronger correction. This leads to over-compensation in alternating directions. The result is exactly what you described: a pendulum-like oscillation between charging and discharging.

Recommendation To stabilize the system, we strongly recommend: • Reducing the external control frequency • Allowing more time for the system to settle before applying the next adjustment In practice, this means increasing the control interval beyond 3 seconds and finding a stable fixed regulation period that matches the physical and electrical response of the system. SolarFlow Pro 800 is designed for moderate-rate setpoint updates, not for fast, high-frequency closed-loop control driven entirely from the outside. Your approach is technically sound, but the control loop timing is the key parameter to tune here. Once the update interval is slowed down and aligned with the system dynamics, the oscillation behavior should disappear.

Thanks again for the deep technical discussion and for pushing the platform in advanced use cases — feedback like this helps us improve both documentation and system behavior.

dav1dBoy avatar Feb 03 '26 02:02 dav1dBoy

Hi, thanks for the info. I changed my Tamota Script using ´pass´ parameter values 0/2. It should be corrected in your docu.

Unfortunately it´s not a good solution to increase the cycle time of my external control loop, because this will result in further loss of efficiency and wasting of energy. Almost all electrical devices in a household, especially heating devices with high power consumption, do not use phase angle to control the power, but just switch on and off to achieve a target temperature. This includes electric stoves, dishwashers, washing machines. My stovetop used for cooking has 4 heaters. If all of them are ´on´ , the power consumption will change drastically every few seconds from 5Kw max to zero and other values in between. The switching time between charging and discharging the battery is key to run a battery powered system with high efficiency.

The good news: with a Kp factor correction of 0,75 in the proportional control loop the result is acceptable. I added parts of my script below and will release it after some optimisation on the web.

The use of Tasmota based ESP32 has other benefits. Beside the cost of few bucks for the ESP, it uses 0,5 W only (which is ~1,5€ per year running cost...). But the main benefit is: I have access to my PV from all PCs and Smartphones in the household just using a browser. With button and display control added to the ESP, even this can be avoided, and it´s a real local control

Thanks again for the Open API !

Tasmota Script CONTROL LOOP running every three seconds if automatic mode (3) is enabled:

if (autflg==3) { newLimit=(oldLimit+power)*0.75 oldLimit=newLimit

	if (newLimit>maxPower)
	{
	newLimit=maxPower
	}
	
	if (newLimit<-maxPower)
	{
	newLimit=-maxPower
	}

					
	if ((newLimit<0) and (bypass==0))
	{
	newLimit=-newLimit-5
	=>WebQuery http://192.168.1.204/properties/write POST {"sn":"EOA1NHN3N256981","properties":{"acmode":1}}
	=>WebQuery http://192.168.1.204/properties/write POST {"sn":"EOA1NHN3N256981","properties":{"inputLimit":%0newLimit%}}
	}
	else
	{
	=>WebQuery http://192.168.1.204/properties/write POST {"sn":"EOA1NHN3N256981","properties":{"acmode":2}}
	=>WebQuery http://192.168.1.204/properties/write POST {"sn":"EOA1NHN3N256981","properties":{"outputLimit":%0newLimit%}}
	}
			
}

Spessartwald avatar Feb 03 '26 07:02 Spessartwald