Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automatically set max current for charging? #32

Open
stepir opened this issue Apr 15, 2021 · 5 comments
Open

automatically set max current for charging? #32

stepir opened this issue Apr 15, 2021 · 5 comments

Comments

@stepir
Copy link

stepir commented Apr 15, 2021

Hi

I'm awaiting my e-go to arrive - I was wondering if anyone is controlling automatically their charging current based on PV excess production and how? would it make sense to add it as an additional feature to this plugin? I have such value (grid export) constantly monitored in HA through a sensor.

thanks

@cathiele
Copy link
Owner

I recommend https://github.com/andig/evcc for this usecase

@cathiele cathiele pinned this issue May 13, 2021
@Kaladasas
Copy link

@stepir
Here is my automation for this usecase:

alias: Go-e PV
description: Set pv only for charger
trigger:

  • platform: time_pattern
    seconds: '30'
    condition:
  • condition: sun
    after: sunrise
    action:
  • service: goecharger.set_max_current
    data_template:
    max_current: >-
    {% set current = (states('sensor.goecharger_charger1_i_l1') | float -
    states('sensor.solaredge_m1_ac_current') | float - 1) | int %} {% if
    current < 0 %}
    {{6}}
    {% else %}
    {{current}}
    {% endif %}
    mode: single

My car is using only L1 so I test only that, but if you have 3 phases you should add them together for a more precise calculation.

@jmtatsch
Copy link

@Kaladasas Great idea, thank you for posting this.
This is much preferred over the complexity of yet another application.

@colseven
Copy link

@stepir
i need this automation but i don't work 4 me (set always 16 A - now it must die 14 A), can you please help. Thanks

`data_template:
max_current: >-
{% set current = (states('sensor.goecharger_wallbox_charger_max_current') | float -
states('sensor.solaredge_grid_power') | float - 1) | int %} {% if
current < 0 %}
{{6}}
{% else %}
{{current}}
{% endif %}
bild 2022-03-12 um 11 33 02
bild 2022-03-12 um 11 32 04

`

@klacol
Copy link

klacol commented Aug 12, 2022

Nice PV-charging with the webservice https://clever-pv.com/ and a new go-echarger that can switch between 1 and 3 phases:

image

This are the possible values ind the order from low power to higher power (When the sun goes down in the evening, the list is vice versa):

Phases Volt Amps Watts
1 240 6 1.440
1 240 7 1.680
1 240 8 1.920
1 240 9 2.160
3 380 6 2.280
1 240 10 2.400
1 240 11 2.640
3 380 7 2.660
1 240 12 2.880
3 380 8 3.040
1 240 13 3.120
1 240 14 3.360
3 380 9 3.420
1 240 15 3.600
3 380 10 3.800
1 240 16 3.840
3 380 11 4.180
3 380 12 4.560
3 380 13 4.940
3 380 14 5.320
3 380 15 5.700
3 380 16 6.080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants