Skip to content

Instantly share code, notes, and snippets.

@SunEnergyXT
SunEnergyXT / sunenergyxt-500-zero-feed-in-gray-40458.yaml
Last active August 12, 2026 03:23
SunEnergyXT 500 Series zero-feed-in Blueprint - external gray test for load-port partial-surplus control
blueprint:
name: SunEnergyXT 500 Serie - Nulleinspeisung
description: >
Nulleinspeise-Regler für SunEnergyXT 500 / 500 Pro mit einem externen Home
Assistant-Zähler. Die Automatisierung verwendet keine Betriebsmodus- oder
Entlademodus-Schalter des Geräts. Wählen Sie den Zählertyp und das
SunEnergyXT-Gerät; der Blueprint erkennt gängige HA-/HACS-Zählerformen wie
Shelly, BitShake / Tasmota, EcoTracker, vorzeichenbehaftete Gesamtleistung,
Dreiphasenleistung sowie Bezug-/Einspeisepaare. Die Automatisierung steuert
anschließend den Sollwert Leistung Netzanschluss und den Sollwert max.
blueprint:
name: SunEnergyXT 500 Series - Zero Feed-in
description: >
Zero feed-in controller for SunEnergyXT 500 / 500 Pro using an external Home
Assistant meter. It does not use the device operation-mode or discharge-mode
controls. Select the meter device and the SunEnergyXT device; the blueprint
auto-detects common HA / HACS meter shapes such as Shelly, BitShake /
Tasmota, EcoTracker, signed total power, three-phase power, and
import/export pairs. The automation then controls the SunEnergyXT system
grid-port power setpoint and system max inverter power setpoint with the
blueprint:
name: SunEnergyXT 500 Series - Zero Feed-in
description: >
Zero feed-in controller for SunEnergyXT 500 / 500 Pro using an external Home
Assistant meter. It does not use the device operation-mode or discharge-mode
controls. Select the meter device and the SunEnergyXT device; the blueprint
auto-detects common HA / HACS meter shapes such as Shelly, BitShake /
Tasmota, EcoTracker, signed total power, three-phase power, and
import/export pairs. The automation then controls the SunEnergyXT system
grid-port power setpoint and system max inverter power setpoint with the
blueprint:
name: Zero Feed-in Controller [Deadband Disabled]
description: |
A automation designed for precise zero feed-in control and battery standby management. This system utilizes an incremental PI algorithm to regulate grid exchange power, supporting a hybrid configuration of up to 4 microinverters.
domain: automation
input:
shelly_power_sensor:
name: Shelly total active power sensor (Required)
selector: { entity: { domain: sensor, device_class: power } }
blueprint:
name: Deye Zero Feed-in
description: |
Direct Control Zero Feed-in for 1-2 Deye Microinverters,
resolving the issue of repeated oscillations in inverter output power regulation.
Features:
1. Immediately adjusts output based on grid sensor reading.
2. Retains battery discharge protection and auto-shutdown timeout management.
domain: automation
blueprint:
name: Zero Feed-in Controller (Hybrid Deye/APS)
description: |
A automation designed for precise zero feed-in control and battery standby management. This system utilizes an incremental PI algorithm to regulate grid exchange power, supporting a hybrid configuration of up to 4 microinverters.
domain: automation
input:
shelly_power_sensor:
name: Shelly total active power sensor (Required)
selector: { entity: { domain: sensor, device_class: power } }
@SunEnergyXT
SunEnergyXT / deye-zero-feed-in-v2.yaml
Last active February 19, 2026 18:56
deye-zero-feed-in
blueprint:
name: Deye Zero Feed-in
description: |
Advanced PI Zero Feed-in Control designed for 1-2 Deye Microinverters.
Key Features:
1. Event-Driven: Triggered strictly by Shelly power sensor state changes.
2. Auto-Shutdown Timeout Management: Dynamically adjusts the battery system's auto-shutdown timeout duration based on whether the remaining battery SoC exceeds 10%.
3. Discharge Protection Control: Regulates microinverter output based on a dynamic discharge floor (Maximum of two limits + 3% buffer) to prevent over-discharge.
4. PI Control: Utilizes an incremental PI algorithm to eliminate steady-state error, ensuring precise zero feed-in and smooth power regulation without oscillation.