Skip to content

Different inverter brands working with TelsaSolarCharger

flashg1 edited this page Nov 18, 2024 · 8 revisions

Please let me know your inverter brand, model, the "Grid Power Net" sensor formula together with any special HA instructions so that I can update the FAQ to help others.

Please see this thread for more info.

Definition for "Grid Power Net"

Charge from excess solar adjusting Tesla car charging current according to feedback loop value "Grid Power Net". The "Grid Power Net" sensor expresses negative power in Watts when exporting to grid, and positive power when consuming from grid.

/config/configuration.yaml

Place your "Grid Power Net" sensor in the template section of /config/configuration.yaml file.

Examples

Enphase Envoy-S Metered

    # Enphase Envoy-S Metered configured to update HA every 10 seconds.
    - sensor:
        name: Grid Power Net
        state_class: measurement
        icon: mdi:transmission-tower
        unit_of_measurement: W
        device_class: power
        state: >
            {{ states('sensor.envoy_[YourEnvoyId]_current_power_consumption')|int - states('sensor.envoy_[YourEnvoyId]_current_power_production')|int }}