Hello everyone,
Since the new Anker SOLIX 4 Pro generation finally supports local API control, I created a comprehensive blueprint for a dynamic zero export (Nulleinspeisung).
The Main Purpose / Workaround: Official Anker systems usually require you to buy and install specific smart meters (like the Shelly Pro 3EM) to achieve a dynamic zero-export setup. If you already have a smart meter with an Infrared (IR) reader (e.g., Tasmota, Hichi) on your main electricity meter, this blueprint serves as the ultimate workaround. It reads your existing IR sensor directly via Home Assistant and feeds the data to the Solix — saving you money and extra hardware!
Key Features
-
Eco-Mode (Night-Throttle): Automatically throttles the discharge limit (e.g., to your 150W baseline) once the battery drops below a specific SOC. This ensures your battery charge lasts until sunrise.
-
Split Offsets: Independent buffers for charging and discharging. E.g., leave exactly 10W of grid import while discharging to prevent accidentally feeding expensive battery power into the grid.
-
Hardware Protection: Rounds target values to 10W steps to prevent the inverter relays from constantly switching due to minor load fluctuations.
-
Strict SOC Limits & Hysteresis: Hard stops at your defined min/max SOCs with a relative percentage hysteresis to prevent “SOC ping-pong” at the limits.
-
Mode Guard: Automatically detects if the Solix drops out of “Third Party Control” (e.g., after a Wi-Fi reconnect) and safely resets the mode before sending power commands.
Prerequisites
-
Anker SOLIX 4 Pro integrated into Home Assistant via local API.
-
A grid power sensor (e.g., an IR reader/Tasmota on your main meter). Positive values = import, negative = export.


