evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Tesla fleet API error 429 Too Many Requests

Open Raudi1 opened this issue 8 months ago • 54 comments

Describe the bug

Plötzlich geht bei mir die Tesla Anbindung nicht mehr. Kommt immer 429 Too Many Requests egal ob EVCC SOC abfragt, oder Ladegeschwindigkeit sendet. Hat bisher ohne jegliche Änderung meinerseits problemlos funktioniert. Über die Tesla APP und auch Home Assistant läuft alles ohne Probleme.

Steps to reproduce

Tesla anstecken/als Fahrzeug auswählen

Configuration details

# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

log: warn
levels:
  wario: trace
  db: trace

# unique installation id
plant: xxx

interval: 15s # control cycle interval

# sponsors can set telemetry: true to enable anonymous data aggregation
# see https://github.com/evcc-io/evcc/discussions/4554
telemetry: true

sponsortoken: xxx

meters:
  - type: template
    template: shelly-pro-3em
    usage: grid
    host: 192.168.1.131
    name: Strom

  - name: Balkonsolar
    type: template
    template: hoymiles-opendtu
    usage: pv
    host: 192.168.1.126

chargers:
  - type: template
    template: twc3
    host: 192.168.1.35
    name: twc

  - name: gemini
    type: template
    template: go-e-v3
    host: 192.168.1.149

  - name: handtuchwaermer
    type: template
    template: shelly
    host: 192.168.1.125
    standbypower: 15 # Leistung oberhalb des angegebenen Wertes wird als Ladeleistung gewertet (optional)
    integrateddevice: true
    icon: heater
    heating: true

vehicles:
  - name: wario
    type: template
    template: tesla
    title: Wario
    accessToken: xxx
    refreshToken: xxx
    vin: xxx
    capacity: 60
    mincurrent: 1
    maxcurrent: 16
    control: true

  - name: Teslamate
    type: template
    template: teslamate
    title: Wario-Teslamate
    id: 1
    capacity: 60

loadpoints:
  - title: TWC3
    charger: twc
    vehicle: wario
    mode: pv
    priority: 2

  - title: Go-e
    charger: gemini
    vehicle: wario
    mode: pv
    priority: 1

  - title: Handtuchwaermer
    charger: handtuchwaermer
    priority: 0
    guardduration: 1m

site:
  title: Heideweg 20
  meters:
    grid: Strom
    pv: Balkonsolar
tariffs:
  grid:
    type: tibber
    token: xxx
  co2:
    type: grünstromindex
    zip: xxx

mqtt:
  broker: localhost:1883
  topic: evcc # root topic for publishing, set empty to disable publishing
  user: MQTT
  password: xxx

Log details

[db    ] TRACE 2024/06/07 12:34:36 UPDATE `sessions` SET `created`="2024-06-07 12:09:20.11",`finished`="0000-00-00 00:00:00",`loadpoint`="TWC3",`identifier`="",`vehicle`="Wario",`odometer`=NULL,`meter_start_kwh`=NULL,`meter_end_kwh`=NULL,`charged_kwh`=0,`charge_duration`=NULL,`solar_percentage`=NULL,`price`=NULL,`price_per_kwh`=NULL,`co2_per_kwh`=NULL WHERE `id` = 412 1 <nil>
[lp-1  ] ERROR 2024/06/07 12:34:50 vehicle odometer: 429 Too Many Requests
[lp-1  ] ERROR 2024/06/07 12:34:50 vehicle soc: 429 Too Many Requests
[lp-1  ] ERROR 2024/06/07 12:34:50 charger get max current: 429 Too Many Requests
[lp-1  ] ERROR 2024/06/07 12:34:50 vehicle soc: 429 Too Many Requests
[lp-1  ] ERROR 2024/06/07 12:34:50 charger get max current: 429 Too Many Requests

What type of operating system are you running?

HomeAssistant Add-on

Version

0.126.6

Raudi1 avatar Jun 07 '24 10:06 Raudi1