EcoFlow Stream Ultra + Home Assistant via BLE – impressive control and flexibility #298
Replies: 4 comments 10 replies
-
|
Thanks for sharing. Adressing improvements:
Did you notice that there is an option update period in device options? Default is 10 seconds, but you can set it to 0 which makes it update as soon as the message is received which is around 1 second with a tradeoff that it will will make your database a lot larger.
What control are you referring to here? If it's Charging Power Limit and you're on |
Beta Was this translation helpful? Give feedback.
-
|
Setup
What the BLE interface enables With this integration I can directly control:
This is exactly what is needed to build a real control loop. Switching between charge and discharge Switch to CHARGE
Then set charging power:
Switch to DISCHARGE
Then set discharge power:
Dynamic control approach Charging (coarse ramp-up) Discharging (fine control) Why this works well with BLE
Result
Conclusion |
Beta Was this translation helpful? Give feedback.
-
|
Update: Moving from Step-Based Control to PI Control (BLE, local, sub-second capable) After getting a stable setup with step-based control (ramping + hysteresis), I’ve now taken the next step: Why this now works The key enabler is the BLE interface:
-->This is exactly what you need for proper control theory. With MQTT/cloud-based setups, this was not feasible in a stable way. Core idea Target remains: Grid Power ≈ 0 W (slightly negative preferred) Control loop: error = grid - target P = kp * error output = output + P + I What changed compared to the previous approach Before (step-based logic):
Now (PI control):
--> large error → fast reaction (P) Result:
To keep it stable:
Still separated via:
--> PI controller runs inside the active mode A fully unified controller (no mode switching) would be ideal, but is currently limited by the EcoFlow API design. Conclusion --> from a “black box” The PI controller provides:
If there’s interest, I can share the Home Assistant implementation (including I-state handling, clamping, etc.). |
Beta Was this translation helpful? Give feedback.
-
|
I have published the first experimental version here: https://github.com/christianrainerschmid-cell/ha-ecoflow-stream-pi-controller It is still beta and intended as a starting point for advanced Home Assistant users who want to test PI-based EcoFlow STREAM zero-grid control. The package uses an adapter layer at the beginning of the YAML file, so users only need to map their own entities there. The controller logic then works with internal EFCTRL aliases.
The main idea is a unified target power model: |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I just wanted to share my experience with the EcoFlow Stream Ultra using the BLE integration from this project:
https://github.com/rabits/ha-ef-ble
First of all: huge thanks for this work.
This BLE interface completely changes what is possible with the system.
I’m currently running a Home Assistant setup where I control the battery dynamically based on real-time conditions:
Using BLE, I can directly control:
And that opens the door to something much more advanced than the standard EcoFlow app:
👉 a fully automated, self-optimizing energy system
What I implemented so far:
What I really like:
What could be improved (if possible):
Overall:
This integration turns the EcoFlow system from a “consumer product” into a real energy control system.
Thanks again for building and sharing this – it’s seriously impressive.
Beta Was this translation helpful? Give feedback.
All reactions