evcc icon indicating copy to clipboard operation
evcc copied to clipboard

BMW & Mini vehicle not available: cannot create vehicle 'bmw': cannot get vehicles: unexpected status: 403

Open Clanchef opened this issue 4 years ago β€’ 3 comments

Describe the bug BMW und Mini SoC Anzeige und andere Fahrzeugdetails geht nicht mehr: unexpected status: 403

To Reproduce Steps to reproduce the behavior:

  1. BMW & Mini als vehicle konfiguriert
  2. Seit 01.03.2022 funktioniert die SoC Abfrage (und andere Parameter) nicht mehr, kein SoC wird angezeigt.unexpected status: 403
  3. Vor dem 01.03.2022 Anzeige funktioniert

Expected behavior Soc, Reichweite etc. werden angezeigt

EVCC details: Show output of evcc -v:

evcc    | [lp-1  ] INFO 2022/03/02 21:32:18 vehicle updated: unknown -> unavailable
evcc    | [lp-2  ] INFO 2022/03/02 21:32:18 vehicle updated: unknown -> unavailable
evcc    | [lp-1  ] DEBUG 2022/03/02 21:32:19 charge power: 0W
evcc    | [lp-1  ] DEBUG 2022/03/02 21:32:19 charger status: B
evcc    | [lp-1  ] ERROR 2022/03/02 21:32:19 vehicle soc: vehicle not available: cannot create vehicle 'mini': cannot get vehicles: unexpected status: 403
evcc    | [lp-1  ] DEBUG 2022/03/02 21:32:19 pv charge current: 0A = 0A + -0.942A (650W @ 3p)
evcc    | [lp-2  ] DEBUG 2022/03/02 21:32:23 charge power: 0W
evcc    | [lp-2  ] DEBUG 2022/03/02 21:32:23 charger status: B
evcc    | [lp-2  ] ERROR 2022/03/02 21:32:23 vehicle soc: vehicle not available: cannot create vehicle 'bmw': cannot get vehicles: unexpected status: 403
evcc    | [lp-2  ] DEBUG 2022/03/02 21:32:23 pv charge current: 0A = 0A + -0.945A (652W @ 3p)
evcc    | [lp-1  ] DEBUG 2022/03/02 21:32:28 charge power: 0W
evcc    | [lp-1  ] DEBUG 2022/03/02 21:32:28 charger status: B
Show output of evcc dump -c configfile:
<- paste here

Show evcc configuration file evcc.yaml:
<- paste here
vehicles:
- name: bmwi3s
  type: bmw
  title: BMW i3s
  capacity: 42.2
  user: xxx
  password: xxx
  vin: 000
  onIdentify: # set defaults when vehicle is identified
    mode: pv
    minSoC: 40
    targetSoC: 100
- name: minise
  type: mini
  title: Mini SE
  capacity: 32.6
  user: xxx
  password: xxx
  vin: 000
  onIdentify: # set defaults when vehicle is identified
    mode: pv
    minSoC: 40
    targetSoC: 100
Show evcc log output with --log debug:
<- paste here

If using Docker: Show output of docker run andig/evcc -v:

evcc    | [lp-1  ] INFO 2022/03/02 21:48:28 loadpoint 1:
evcc    | [lp-1  ] INFO 2022/03/02 21:48:28   mode:        pv
evcc    | [lp-1  ] INFO 2022/03/02 21:48:28   charger:     power βœ— energy βœ— currents βœ— phases βœ—
evcc    | [lp-1  ] INFO 2022/03/02 21:48:28   meters:      charge βœ—
evcc    | [lp-1  ] INFO 2022/03/02 21:48:28   vehicles:    βœ“
evcc    | [lp-1  ] INFO 2022/03/02 21:48:28     vehicle 0: range βœ— finish βœ— status βœ— climate βœ—
evcc    | [lp-2  ] INFO 2022/03/02 21:48:28 loadpoint 2:
evcc    | [lp-2  ] INFO 2022/03/02 21:48:28   mode:        pv
evcc    | [lp-2  ] INFO 2022/03/02 21:48:28   charger:     power βœ— energy βœ— currents βœ— phases βœ—
evcc    | [lp-2  ] INFO 2022/03/02 21:48:28   meters:      charge βœ—
evcc    | [lp-2  ] INFO 2022/03/02 21:48:28   vehicles:    βœ“
evcc    | [lp-2  ] INFO 2022/03/02 21:48:28     vehicle 0: range βœ— finish βœ— status βœ— climate βœ—
evcc    | [lp-1  ] INFO 2022/03/02 21:48:28 vehicle updated: unknown -> unavailable
evcc    | [lp-2  ] INFO 2022/03/02 21:48:28 vehicle updated: unknown -> unavailable
evcc    | [lp-1  ] DEBUG 2022/03/02 21:48:29 charge power: 0W
evcc    | [lp-1  ] DEBUG 2022/03/02 21:48:29 charger status: B
evcc    | [lp-1  ] ERROR 2022/03/02 21:48:29 vehicle soc: vehicle not available: cannot create vehicle 'mini': cannot get vehicles: unexpected status: 403
evcc    | [lp-1  ] DEBUG 2022/03/02 21:48:29 pv charge current: 0A = 0A + -0.912A (629W @ 3p)
evcc    | [lp-2  ] DEBUG 2022/03/02 21:48:34 charge power: 0W
evcc    | [lp-2  ] DEBUG 2022/03/02 21:48:34 charger status: B
evcc    | [lp-2  ] ERROR 2022/03/02 21:48:34 vehicle soc: vehicle not available: cannot create vehicle 'bmw': cannot get vehicles: unexpected status: 403
evcc    | [lp-2  ] DEBUG 2022/03/02 21:48:34 pv charge current: 0A = 0A + -0.913A (630W @ 3p)


Show evcc log output with docker logs :
<- paste here

Clanchef avatar Mar 02 '22 19:03 Clanchef

Dicker Daumen πŸ™„

andig avatar Mar 02 '22 20:03 andig

der iobroker adapter lΓ€uft hier einwandfrei

TheSpirit avatar Mar 03 '22 14:03 TheSpirit

Gibts im iobroker irgendeine MΓΆglichkeit, den HTTP Traffic der Plugins mitzuschneiden? Ich bin nahe dran, die Abfrage scheitert aber trotzdem :(

andig avatar Mar 03 '22 18:03 andig