Skip to content

Different inverter brands working with TelsaSolarCharger

flashg1 edited this page Nov 17, 2024 · 8 revisions

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

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 sensor in the template section of /config/configuration.yaml file.

Enphase Envoy-S Metered

    # Enphase Envoy-S Metered
    - 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 }}
Clone this wiki locally