evcc icon indicating copy to clipboard operation
evcc copied to clipboard

cannot create vehicle 'seat'

Open pablopalec opened this issue 3 years ago β€’ 1 comments

Describe the bug

Since 4 days, evcc cannot log into my Seat Account / Seat Vehicle.

Steps to reproduce

1.sudo evcc -l debug vehicle [main ] INFO 2023/09/04 15:29:53 evcc 0.119.4 [main ] INFO 2023/09/04 15:29:53 using config file: /etc/evcc.yaml [db ] INFO 2023/09/04 15:29:53 using sqlite database: /root/.evcc/evcc.db [main ] ERROR 2023/09/04 15:29:55 creating vehicle ev3 failed: cannot create vehicle 'template': cannot create vehicle 'seat': cannot get vehicles: RS.security.9007: The context has not gained a legitimation due to missing access rights. .Soc: vehicle not available: cannot create vehicle 'template': cannot create vehicle 'seat': cannot get vehicles: RS.security.9007: The context has not gained a legitimation due to missing access rights. Capacity: 32.0kWh Features: [Offline] 2. 3. ...

Configuration details

uri: 0.0.0.0:7070 # uri for ui
interval: 10s # control cycle interval

# log settings
log: error
levels:
#  core: debug
#  lp-1: debug
#  lp-2: debug

meters:
- type: template
  template: sma-home-manager
  usage: grid
  host: 192.168.254.86
  name: grid1
- type: template
  template: sma-inverter
  usage: pv
  host: 192.168.254.79
  password: xxx  # Wird nur benΓΆtigt, wenn das Standardpasswort geΓ€ndert wurde
  name: pv2

chargers:
- type: template
  template: go-e-v3
  host: 192.168.254.125
  name: wallbox4
- type: template
  template: go-e
  host: 192.168.254.137
  name: wallbox5

vehicles:
- type: template
  template: seat
  title: Mii electric
  user: x
  password: x
  vin: VSSZZZAAZMD509958
  capacity: 32
  cache: 5
  mode: pv
  minSoC: 10
  targetSoC: 80
  minCurrent: 6
  maxCurrent: 16
  name: ev3
  identifiers:
  - Magda # MAC address

loadpoints:
- title: Hof
  charger: wallbox4
  vehicles:
  - ev3
  mode: pv
  phases: 0
  mincurrent: 6
  maxcurrent: 16
  resetOnDisconnect: true
- title: Garage
  charger: wallbox5
  vehicles:
  - ev3
  mode: pv
  phases: 0
  mincurrent: 6
  maxcurrent: 16
  resetOnDisconnect: true

site:
  title: Franzosenweg 16
  meters:
    grid: grid1
    pvs:
    - pv2

hems:
  type: sma
  AllowControl: false

sponsortoken:

Log details

pi@steuermann:~ $ evcc --log debug
[main  ] INFO 2023/09/04 15:26:03 evcc 0.119.4
[main  ] INFO 2023/09/04 15:26:03 using config file: /etc/evcc.yaml
[main  ] WARN 2023/09/04 15:26:03 `uri` is deprecated and will be ignored. Use `network` instead.
[main  ] INFO 2023/09/04 15:26:03 starting ui and api at :7070
[db    ] INFO 2023/09/04 15:26:03 using sqlite database: /home/pi/.evcc/evcc.db
[main  ] ERROR 2023/09/04 15:26:10 creating vehicle ev3 failed: cannot create vehicle 'template': cannot create vehicle 'seat': cannot get vehicles: RS.security.9007: The context has not gained a legitimation due to missing access rights.
[lp-1  ] WARN 2023/09/04 15:26:10 vehicles option is deprecated
[lp-2  ] WARN 2023/09/04 15:26:10 vehicles option is deprecated
[site  ] WARN 2023/09/04 15:26:11 deprecated: use 'pv' instead of 'pvs'
[semp  ] WARN 2023/09/04 15:26:11 SEMP_BASE_URL unspecified, using http://192.168.254.127:7070 instead
[site  ] INFO 2023/09/04 15:26:11 site config:
[site  ] INFO 2023/09/04 15:26:11   meters:      grid βœ“ pv βœ“ battery βœ—
[site  ] INFO 2023/09/04 15:26:11     grid:      power βœ“ energy βœ“ currents βœ“
[site  ] INFO 2023/09/04 15:26:11     pv 1:      power βœ“ energy βœ“ currents βœ“
[site  ] INFO 2023/09/04 15:26:11   vehicles:
[site  ] INFO 2023/09/04 15:26:11     vehicle 1: range βœ— finish βœ— status βœ— climate βœ— wakeup βœ—
[lp-1  ] INFO 2023/09/04 15:26:11 loadpoint 1:
[lp-1  ] INFO 2023/09/04 15:26:11   mode:        pv
[lp-1  ] INFO 2023/09/04 15:26:11   charger:     power βœ“ energy βœ“ currents βœ“ phases βœ“ wakeup βœ—
[lp-1  ] INFO 2023/09/04 15:26:11   meters:      charge βœ“
[lp-1  ] INFO 2023/09/04 15:26:11     charge:    power βœ“ energy βœ“ currents βœ“
[lp-2  ] INFO 2023/09/04 15:26:11 loadpoint 2:
[lp-2  ] INFO 2023/09/04 15:26:11   mode:        pv
[lp-2  ] INFO 2023/09/04 15:26:11   charger:     power βœ“ energy βœ“ currents βœ“ phases βœ“ wakeup βœ—
[lp-2  ] INFO 2023/09/04 15:26:11   meters:      charge βœ“
[lp-2  ] INFO 2023/09/04 15:26:11     charge:    power βœ“ energy βœ“ currents βœ“
[lp-1  ] DEBUG 2023/09/04 15:26:11 phase timer inactive
[lp-1  ] DEBUG 2023/09/04 15:26:11 pv timer inactive
[lp-1  ] DEBUG 2023/09/04 15:26:11 guard timer inactive
[lp-1  ] DEBUG 2023/09/04 15:26:11 max charge current: 6A
[lp-2  ] DEBUG 2023/09/04 15:26:11 phase timer inactive
[lp-2  ] DEBUG 2023/09/04 15:26:11 pv timer inactive
[lp-2  ] DEBUG 2023/09/04 15:26:11 guard timer inactive
[site  ] WARN 2023/09/04 15:26:11 interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval
[site  ] DEBUG 2023/09/04 15:26:11 ----
[lp-1  ] DEBUG 2023/09/04 15:26:11 charge power: 4160W
[lp-2  ] DEBUG 2023/09/04 15:26:11 charge power: 0W
[site  ] DEBUG 2023/09/04 15:26:11 pv power: 4717W
[site  ] DEBUG 2023/09/04 15:26:11 grid power: -40W
[site  ] DEBUG 2023/09/04 15:26:11 grid powers: [664 833 -1537]W
[site  ] DEBUG 2023/09/04 15:26:11 grid currents: [3.28 3.53 -6.43]A
[site  ] DEBUG 2023/09/04 15:26:11 site power: -40W
[lp-1  ] DEBUG 2023/09/04 15:26:11 charge currents: [8.4 8.5 0]A
[lp-1  ] DEBUG 2023/09/04 15:26:11 charge total import: 5362.426kWh
[lp-1  ] DEBUG 2023/09/04 15:26:11 charger status: C
[lp-1  ] INFO 2023/09/04 15:26:11 car connected
[lp-1  ] DEBUG 2023/09/04 15:26:11 vehicle api refresh
[lp-1  ] DEBUG 2023/09/04 15:26:11 pv timer elapse
[lp-1  ] DEBUG 2023/09/04 15:26:11 pv timer inactive
[lp-1  ] DEBUG 2023/09/04 15:26:11 charger: guard elapse
[lp-1  ] DEBUG 2023/09/04 15:26:11 guard timer inactive
[lp-1  ] DEBUG 2023/09/04 15:26:11 charge total import: 5362.426kWh
[lp-1  ] INFO 2023/09/04 15:26:11 start charging ->
[lp-1  ] DEBUG 2023/09/04 15:26:11 wake-up timer: stop
[lp-1  ] DEBUG 2023/09/04 15:26:11 charger vehicle id: Magda
[lp-1  ] DEBUG 2023/09/04 15:26:11 available power 4200W > 4140W min 3p threshold
[lp-1  ] DEBUG 2023/09/04 15:26:11 start phase scale3p timer
[lp-1  ] DEBUG 2023/09/04 15:26:11 phase scale3p in 1m0s
[lp-1  ] DEBUG 2023/09/04 15:26:11 pv charge current: 6.06A = 6A + 0.058A (-40W @ 3p)
[lp-1  ] DEBUG 2023/09/04 15:26:11 pv timer reset
[lp-1  ] DEBUG 2023/09/04 15:26:11 pv timer inactive
[site  ] DEBUG 2023/09/04 15:26:21 ----
[lp-1  ] DEBUG 2023/09/04 15:26:21 charge power: 2890W
[lp-2  ] DEBUG 2023/09/04 15:26:21 charge power: 0W
[site  ] DEBUG 2023/09/04 15:26:21 pv power: 4708W
[site  ] DEBUG 2023/09/04 15:26:21 grid power: -1258W
[site  ] DEBUG 2023/09/04 15:26:21 grid powers: [50 224 -1532]W
[site  ] DEBUG 2023/09/04 15:26:21 grid currents: [1.73 1.06 -6.4]A
[site  ] DEBUG 2023/09/04 15:26:21 site power: -1258W
[lp-2  ] DEBUG 2023/09/04 15:26:21 charge currents: [0 0 0]A
[lp-2  ] DEBUG 2023/09/04 15:26:21 charge total import: 612.211kWh
[lp-2  ] DEBUG 2023/09/04 15:26:21 charger status: A
[lp-2  ] INFO 2023/09/04 15:26:21 car disconnected
[lp-2  ] DEBUG 2023/09/04 15:26:21 set charge mode: pv
[lp-2  ] DEBUG 2023/09/04 15:26:21 set min current: 6
[lp-2  ] DEBUG 2023/09/04 15:26:21 set max current: 16
[lp-2  ] DEBUG 2023/09/04 15:26:21 set priority: 0
[site  ] DEBUG 2023/09/04 15:26:31 ----
[lp-1  ] DEBUG 2023/09/04 15:26:31 charge power: 2930W
[lp-2  ] DEBUG 2023/09/04 15:26:31 charge power: 0W
[site  ] DEBUG 2023/09/04 15:26:31 pv power: 4703W
[site  ] DEBUG 2023/09/04 15:26:31 grid power: -1239W
[site  ] DEBUG 2023/09/04 15:26:31 grid powers: [62 230 -1531]W
[site  ] DEBUG 2023/09/04 15:26:31 grid currents: [1.76 1.08 -6.37]A
[site  ] DEBUG 2023/09/04 15:26:31 site power: -1239W
[lp-1  ] DEBUG 2023/09/04 15:26:31 charge currents: [6 5.9 0]A
[lp-1  ] DEBUG 2023/09/04 15:26:31 detected active phases: 2p
[lp-1  ] DEBUG 2023/09/04 15:26:31 charge total import: 5362.443kWh
[lp-1  ] DEBUG 2023/09/04 15:26:31 charger status: C
[lp-1  ] DEBUG 2023/09/04 15:26:31 available power 4169W > 4140W min 3p threshold
[lp-1  ] DEBUG 2023/09/04 15:26:31 phase scale3p in 40s
[lp-1  ] DEBUG 2023/09/04 15:26:31 pv charge current: 8.69A = 6A + 2.69A (-1239W @ 2p)
[lp-1  ] DEBUG 2023/09/04 15:26:32 max charge current: 8A

What type of operating system are you running?

Linux

Version

evcc version 0.119.4

pablopalec avatar Sep 04 '23 13:09 pablopalec

Look at #9615, known problem.

mdkeil avatar Sep 04 '23 16:09 mdkeil