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

Charger: a lot of different timeouts #120

Closed
7even-up opened this issue Dec 29, 2024 · 2 comments
Closed

Charger: a lot of different timeouts #120

7even-up opened this issue Dec 29, 2024 · 2 comments

Comments

@7even-up
Copy link

Hello,

I have a Vestel ECV04 charger and I am using home assistant with evcc. At first it all works, but after a while I get a lot of errors. Sometimes the errors stop and it works correctly again, but mostly the errors keep on coming and the charger crashes.

Charging continues but no changes can be made and for the next charge I have to switch off and switch on the charger.

I found out the charger crashes because there are too many warning / error messages and it runs out of memory / space to store te logfiles.

The solution is to find out where the error messages come from. It might because the OPCC settings I use are inccorect, I use the default settings.

Bug 1:
Time out errors:
Screenshot_20241220_110601_Home Assistant

Bug 2:
Double calculation of the charger:
Screenshot_20241224_114011_Home Assistant

The 9,5 kw sould be substracted from the total / consumption.

Here is my evcc.yaml file:

network:
  port: 7070

log: debug

interval: 30s

# https://docs.evcc.io/en/docs/sponsorship

sponsortoken: 
(hidden)

javascript:
  - vm: shared
    script: |
      state = {
        residualpower: 500,
        pvpower: 5000,
        batterypower: 0,
        batterySoc: 55,
        gridpower: -1000,
        loadpoints: [
          { enabled: true, vehicleSoc: 62, maxcurrent: 6, phases: 1, chargepower: 0 },
          { enabled: false, vehicleSoc: 22, maxcurrent: 0, phases: 3, chargepower: 0 }
        ]
      };
      function logState() {
        console.log("state:", JSON.stringify(state));
      }

meters:
  - name: net
    type: template
    template: enphase
    usage: grid
    host: 192.168.x.xxx # IP address or hostname
    token:  
    (hidden)

  - name: zon
    type: template
    template: enphase
    usage: pv
    host: 192.168.x.xxx # IP address or hostname
    token:  
   (hidden)

vehicles:
  - name: my_car
    type: template
    template: hyundai
    title: Hyundai Kona # Will be displayed in the user interface (optional)
    user: me
    password: password # Password of the user account (use single quotes in case of leading zeros)
    #vin: W... # Required if you own multiple vehicles of the same brand (optional)
    capacity: 64 # Battery capacity in kWh (optional)
    language: en # 'en' for English and 'de' for German (optional)
    icon: car # Icon as shown in user interface (optional)
    phases: 3 # The maximum number of phases which can be used (optional)
    cache: 15m # Time interval with when data should be reloaded from the vehicle (optional)
    mode: # Possible values are Off, Now, MinPV and PV, or empty if none should be set (optional)
    minCurrent: 6 # The minimum amperage per connected phase with which the car should be charged (optional)
    maxCurrent: 16 # The maximum amperage per connected phase with which the car shuold be charged (optional)
    identifiers: # Mostly this can be added later, see: https://docs.evcc.io/en/docs/features/vehicle (optional)
    priority: # Priority of the loadpoint or vehicle in relation to other loadpoints or vehicles for allocating pv energy (optional)

chargers:
  - name: vestel
    type: template
    template: ocpp 

site:
  title: my site
  meters:
    grid: net
    pv: zon
  residualPower: 500
#    battery: battery

loadpoints:
  - title: Laadpaal
    enable:
      # switch on when there is at least 4000 W surplus for x minutes
      delay: 1m
      threshold: -4000
    disable:
      # switch off if more than 1000 W are drawn from the mains for x minutes
      delay: 15m
      threshold: 1000
    charger: vestel
    mode: pv
    vehicle: my_car

tariffs:
  currency: EUR # three letter ISO-4217 currency code (default EUR)
  grid:
    type: template
    template: energy-charts-api # epex spot market prices
    bzn: DE-LU
    charges: 0.15
  feedin:
    type: fixed
    price: 0.08 # EUR/kWh
  co2:
    type: grünstromindex
    zip: 12349
@thecem
Copy link
Collaborator

thecem commented Dec 29, 2024

Not Addon related, please switch to Duscussions in main branch!

@thecem thecem closed this as completed Dec 29, 2024
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

3 participants
@thecem @7even-up and others