#EV Charger current/power based on excess energy

1 messages · Page 1 of 1 (latest)

arctic gull
#

Hi,
I wanted to figure out if it's possible to regulate my Wallbox's current/power delivery based on excess power in a system with a (solis) inverter with modbus-tcp already working connected to solar panels and batteries.
Both the wallbox and inverter's entities are already properly configured inside home-assistant.
Thanks

ivory hinge
#

Do you have an entity to regulate the charge rate?

arctic gull
#

Hi. The current of the wall box is writeable thus the power is also manageable

misty ginkgo
#

Heres how i do mine
alias: Autel Charge On Excess Grid solar
description: ""
triggers:

  • trigger: state
    entity_id:
    • sensor.envoy_net_amps
      enabled: false
  • trigger: time_pattern
    minutes: /1
    conditions:
  • condition: or
    conditions:
    • condition: state
      entity_id: sensor.autel_maxicharger_elite_status_connector
      state: SuspendedEVSE
      enabled: true
    • condition: state
      entity_id: sensor.autel_maxicharger_elite_status_connector
      state: Charging
    • condition: state
      entity_id: sensor.autel_maxicharger_elite_status_connector
      state: SuspendedEVSE
      enabled: true
      enabled: true
      actions:
  • if:
    • condition: and
      conditions:

      • condition: template
        value_template: "{{ ( (states('sensor.envoy_net_amps') | int) < 0) }}"
        then:
    • data:
      value: >-
      {% if ((
      states('sensor.autel_maxicharger_elite_power_active_import') | float
      ) * 1000 ) > 1400 or (states('sensor.envoy_net_amps') | float(2) ) <
      -7 %}

      {{ min([32,( states('sensor.envoy_net_amps') | int * -1 ) +
      (states('input_number.autel_charge_current') | int ) ]) | float }}
      
      {%endif%}
      

      action: input_number.set_value
      enabled: true
      target:
      entity_id: input_number.autel_charge_current
      else:

    • data:
      value: >-
      {{ max([0,(states('input_number.autel_charge_current') | int ) - (
      states('sensor.envoy_net_amps') | int ) ]) | float }}
      action: input_number.set_value
      enabled: true
      target:
      entity_id: input_number.autel_charge_current
      mode: single