Repository navigation
v1.4.0b2
Pre-release
Pre-release
[1.4.0b2] - 2026-08-18
Added
- Direct-PV solar temporal profile capture: bounded persistence, quality diagnostics and DST-aware solar-window learning are now available. Existing whole-day solar forecast sensors are converted once to a remaining budget; the learned curve is selected automatically once mature and the sinusoidal curve remains the fallback while it learns or becomes invalid. Real-Time Price remains reactive.
- Shared dated solar timeline for Dynamic Pricing and Time Slot: provider, learned-profile, sinusoidal and zero fallbacks distribute the forecast across time while keeping the forecast total authoritative and applying the safety margin only once.
- Anker Solarbank identification and aggregate PV telemetry (#297): the driver now resolves official product codes from
device_modelor the embedded serial number (for example,DN7M/DPM4→ Solarbank 4 E5000 Pro). The official PV registers are exposed as aggregatesolar_powerplus lifetime PV generation, and are included in daily solar totals, system sensors, efficiency calculations and the dashboard. The published map has no individual MPPT channels, so the integration does not create syntheticMPPT1..4entities.anker.py,consumption_tracker.py,marstek-panel.js. - Zendure SolarFlow 4000 Mix AC+ support (#298): local HTTP model detection now recognizes
solarFlow4000MixAC+/ZDA2502, applies a symmetric 4000 W charge/discharge envelope, exposes the correct inverter-limit range, omits DC MPPT entities, and promotes legacy 2400 AC+ entries without raising their saved user ceilings. - Zendure SolarFlow 4000 Mix Pro support: local HTTP model detection recognizes
solarFlow4000MixPro/ZDA2501, applies the 4000 W bidirectional AC envelope, exposes the dual DC MPPT capability and promotes legacy generic Zendure entries to the correct profile.
Changed
- Predictive price and time-slot charging now schedules energy before it is needed: the planner simulates the remaining day in 15-minute intervals. Dynamic Pricing reserves the cheapest eligible capacity before each projected battery-depletion deadline, while fixed Time Slot mode distributes distinct kWh quotas across the configured windows instead of letting the first window consume the complete daily target. Impossible plans expose an explicit shortfall. Guaranteed Minimum SOC can create a pre-solar reserve even on a solar-positive day, with its existing hysteresis, explicit price ceiling and physical safety limits preserved. Real-Time Price remains deliberately reactive because it has no future price calendar from which to select feasible slots.
Fixed
- Weekly full charge could leave a Zendure at 100% SOC after its scheduled day: an unfinished run now restores each battery's saved cutoff when the charge day ends, persists that restore information across Home Assistant restarts, recognizes Zendure's SOC-only BMS cutoff, and retries rejected hardware writes.
- DHCP MAC tracking could follow a bridge or powerline adapter instead of the battery (PR#295): a matching MAC is no longer enough to adopt a new lease. Before changing the stored endpoint, the integration probes the candidate with the battery's driver and stored credentials, including authenticated Sessy support, safely closes and restores the active connection around the probe, and leaves the existing address untouched when the candidate is silent. Thanks to @wilsto
- Predictive charging could trigger an economic discharge after stopping for a demand spike (#299): active predictive slots now retain control ownership, command idle, wait for fresh settled telemetry, and only then use Peak Shaving for the measured excess over the configured limit. Peak Shaving and contracted-power emergency protection bypass price-only discharge blocks but retain battery, SOC and ownership safety limits; recovery requires hysteresis instead of a single near-limit reading.
- Daily Home Consumption energy could include a false 0 W sample during a battery/grid telemetry transition: the physical accumulator now validates its own grid+battery+solar balance instead of clamping a transient negative value to zero, without applying predictive external-load adjustments to the dashboard total.
- Predictive charging could start and stop repeatedly with three-phase protection enabled: phase-safety replay now preserves predictive's negative charge sign in
previous_power, preventing active charging from being misread as discharge and clamped to0 W.