EV Charger control with Modbus TCP

Nice…I will check it :slightly_smiling_face:

Can you set it for example on “4KW” when the car is connected? Is that not a problem for the car?

I don’t have an EV or electric car charger but I’m interested in the combination with HA.
Is it after integration of Etrel Inch with Modbus TCP possible to limit charging power to balance your network. In Belgium you pay extra if your 15 minute month peak is higher than 2.5KW.
So I’d like to consume own production by loading a car and/or limit power consumption of whole house below the highest peak of that month or below 2.5kW. I would like to add in HA some IFTTT like functions to do that; based on production info from Inverter PV, P1 port digital meter, …
So is this possible?
I’m just starting in HA and can install ‘predefined’ integrations; but no experience with writing code …

Hello, please I have problem with webasto chargeing and evcc, if I connect car, and dont have freeCharging enabled, it will not started charging, is there any way how to evcc or HA start charging with indetifier regarding vehicle?
Thank you in advance
Jozef

maybe will help you my automation used for this, I use shelly pro 3em:
and in configuration yaml I have this restfull:

set_evcc_max_current:
    url: "http://x.x.x.x:7070/api/loadpoints/{{ loadpoint_id }}/maxcurrent/{{ current }}"
    method: POST
    headers:
      Content-Type: application/json
    content_type: 'application/json'

automation yaml:

alias: Dynamic EV Charger Current Adjustment
description: Dynamically adjusts EV charger current based on individual phase currents
trigger:
  - platform: state
    entity_id:
      - sensor.michka_3em_phase_a_current
      - sensor.michka_3em_phase_b_current
      - sensor.michka_3em_phase_c_current
    for:
      seconds: 10
action:
  - choose:
      - conditions:
          - condition: template
            value_template: |-
              {{ states('sensor.michka_3em_phase_a_current') | float >= 30 or
                 states('sensor.michka_3em_phase_b_current') | float >= 30 or
                 states('sensor.michka_3em_phase_c_current') | float >= 30 }}
        sequence:
          - service: rest_command.set_evcc_max_current
            data:
              loadpoint_id: 1
              current: "6"
      - conditions:
          - condition: template
            value_template: |-
              {{ states('sensor.michka_3em_phase_a_current') | float < 30 and
                 states('sensor.michka_3em_phase_b_current') | float < 30 and
                 states('sensor.michka_3em_phase_c_current') | float < 30 }}
        sequence:
          - service: rest_command.set_evcc_max_current
            data:
              loadpoint_id: 1
              current: >
                {% set max_current_allowed = [16, (30 -
                states('sensor.michka_3em_phase_a_current') | float), 
                  (30 - states('sensor.michka_3em_phase_b_current') | float),
                  (30 - states('sensor.michka_3em_phase_c_current') | float)] | min %}
                {{ max_current_allowed | int }}
    default:
      - service: notify.mobile_app_iphone_4
        data:
          message: Current level adjusted dynamically based on phase currents.
mode: restart

very nice , how to you take solarpanels in account ?