Real-time Streaming
Delta devices get real-time MQTT push in Standard Mode out of the box. Enhanced Mode adds ~3-second WSS streaming for PowerOcean. Both modes are configurable per device.
333 entities across three device families. Real-time MQTT streaming, native Energy Dashboard integration, and bidirectional control for every supported device.
EcoFlow does not offer a local API. The official Developer Portal provides HTTP polling at ~30-second intervals. Too coarse for meaningful automations or real-time energy monitoring. Requests to enable Modbus access have been declined.
EcoFlow Energy works around this with dual connection modes. Standard Mode uses the official IoT API with HTTP polling and real-time MQTT push. Enhanced Mode uses a community-driven WSS bridge for ~2-3 second Protobuf-encoded updates across all three device families, with no Developer API keys required. All connections work independently of the EcoFlow portal. The integration does not compete with your mobile app for a session slot.
If the connection drops, a 4-tier reconnect strategy kicks in automatically. In Enhanced Mode, entities degrade gracefully through defined stages while retaining last-known-good values. Data collection resumes without manual intervention. Set it up once.
Auto-discovery, dual connection modes, and sensors that map directly to the HA Energy Dashboard. No YAML required.
Delta devices get real-time MQTT push in Standard Mode out of the box. Enhanced Mode adds ~3-second WSS streaming for PowerOcean. Both modes are configurable per device.
All energy sensors use total_increasing state class. Solar, grid, battery, and home consumption map directly into the HA Energy Dashboard.
Enter your EcoFlow API credentials once. All devices bound to your account are discovered automatically, and multiple devices are managed within a single integration instance.
Toggle outputs, set charge limits, and configure SoC thresholds. Switches and number entities across all three device types.
4-tier MQTT reconnect strategy with graduated availability degradation. If the real-time stream drops, entities retain last-known-good values while the connection recovers through defined stages.
Download HA diagnostics with full device state. Credentials are automatically redacted. Debug with confidence.
PowerOcean home batteries, Delta portable power stations, and Smart Plugs. 333 entities total. Multi-device configurations supported natively.
Home Battery System
Portable Power Station
Smart Energy Plug
Three automations running in production. Each uses entity data from this integration, standard Home Assistant triggers, and zero custom code.
Solar Cascade Charging: three device types, one integration, zero grid export.
PowerOcean hits 98% SoC. Smart Plug turns on. Delta 2 Max charges from solar surplus instead of exporting to the grid. Plug turns off when Delta reaches 99% or PowerOcean drops below 50%.
Three device types coordinated through one integration. No solar energy wasted on feed-in.
Delta 2 Max powers office equipment via AC output. When SoC drops below 20%, a push notification fires. Solar surplus charges it back to 80% via max_charge_soc.
AC output off at 23:00, on at 07:00. Standby timeout configured through the number entity. Set it, forget it.
PowerOcean grid export exceeds 1000W for 5 minutes. Push notification with current export value. Shift the dishwasher, laundry, or EV charger into the solar window.
Not automation for its own sake. Actionable awareness that turns monitoring into lower grid bills.
Standard Mode uses the official EcoFlow IoT API with HTTP polling and MQTT push. Enhanced Mode uses a community-driven WSS bridge for ~2-3s real-time updates across all devices, with graduated availability degradation instead of HTTP fallback.
| Aspect | Standard | Enhanced |
|---|---|---|
| API | Official IoT Developer API | Community-driven WSS bridge |
| Update rate | ~30s HTTP polling + real-time MQTT push | ~2s Delta, ~3s PowerOcean/Smart Plug |
| Credentials | Access Key + Secret Key | Email + Password only |
| Stability | Stable (official API) | May break with EcoFlow updates |
| Applies to | All devices (PowerOcean, Delta, Smart Plug) | All devices (PowerOcean, Delta, Smart Plug) |
| Best for | Users preferring official API stability | Users needing ~2-3s real-time updates |
Side-by-side with alternative EcoFlow integrations for Home Assistant.
| Feature | EcoFlow Energy | Alternatives |
|---|---|---|
| Data source | MQTT push for all devices (Enhanced); graduated availability with last-known-good data | HTTP polling (10–30s) or basic TCP MQTT |
| Cloud dependency | No portal login required | Required, or HTTP-only fallback |
| Connection resilience | 4-tier reconnect, graduated availability degradation | Simple reconnect; no fallback |
| Control | Switches, charge speed, SoC limits, optimistic lock | Read-only |
| Sensor depth | 114 (Delta), 204 (PowerOcean), 15 (Smart Plug) | 10–20 typical |
| Mobile tolerance | Offline = expected state | Offline = error condition |
These differences compound. An integration that handles one device cleanly is useful; one that handles device families, connection failures, and a van-mounted battery going offline for three days. That takes deliberate architecture.
Install via HACS, add your EcoFlow credentials, and your devices appear automatically.
Open HACS in Home Assistant. Search for EcoFlow Energy, download, and restart.
Add the integration in Settings. Enter your Access Key and Secret Key from the EcoFlow Developer Portal.
Devices are auto-discovered. Entities appear in your dashboards, Energy Dashboard sensors are ready to map.
A focused stack for reliability. Reverse-engineered protocols, typed Python, and a test suite that covers every parser.
EcoFlow Energy was built by one person with a clear division of responsibility: architectural decisions, domain knowledge, and protocol understanding stay with the human. Test generation, code review, schema analysis, and scaffolding are delegated to a coordinated set of AI agents.
This is not a solo project that used AI as a productivity tool. It is a different development model. One architect setting direction, agents executing with precision. The 766-test suite covering every parser edge case was not written by hand. It was specified, reviewed, and shipped through that workflow.
The result is public and auditable. If you want to see what this model produces in practice, the repository is the most direct answer.
EcoFlow Energy exists because the existing options were shallow. The reverse engineering, the Protobuf parsers, the reconnect logic, the multi-device architecture. None of that was required to ship something functional. It was required to ship something reliable.
This is how I approach every technical problem. The code is public. Draw your own conclusions.
Buy me a coffee