Closed MathysDev closed 1 year ago
Bei einem Reconnect sollte der Cache für den SoC gelöscht werden.
Das ist doch schon so?
Bei mir wurde der SoC bereits mehrfach nicht zurückgesetzt. Beispiel gestern früh mit 91% losgefahren und Abends mit 41% angekommen. Heute morgen hatte EVCC immer noch 90.6% angezeigt (gemäss Log).
Im Log wird gestern 20:15:44 Charger Status B gesetzt (vorher A). Die 90.6% werden ohne SoC-Abfrage aus Cache gezogen.
ERROR 2023/03/18 20:15:45 vehicle soc: timeout
Das wundert mich auch nicht wenn wir nix lesen können. Das Problem liegt hier an anderer Stelle. Welche ist aus dem Log nicht erkennbar.
Es wird nur ein einziges Upate des SoC gemacht. Dann auf den Cache zurückzugreifen macht nach reconnect keinen Sinn.
Welche ist aus dem Log nicht erkennbar.
Bitte Fahrzeug mit loggen.
Loglevel waren:
log: info
levels:
cache: error
site: debug
lp-1: trace
hyundai: info
Sammle weiter Daten...
hyundai: trace
sonst siehst Du ja nix vom Problem.
Hier ein neues Log mit Trace. Woher die 85.0% SoC kommen ist weiterhin unbekannt, auf jeden Fall sind sie nicht aktuell.
Mar 23 22:07:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:07:59 charger status: A
Mar 23 22:08:46 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:08:46 ----
Mar 23 22:08:46 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:08:46 charge power: 0W
Mar 23 22:08:48 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:08:48 pv power: 0W
Mar 23 22:08:49 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:08:49 grid power: 13804W
Mar 23 22:08:49 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:08:49 site power: 13804W
Mar 23 22:09:36 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:09:36 ----
Mar 23 22:09:36 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:09:36 charge power: 2710W
Mar 23 22:09:38 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:09:38 pv power: 0W
Mar 23 22:09:39 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:09:39 grid power: 14124W
Mar 23 22:09:39 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:09:39 site power: 14124W
Mar 23 22:09:39 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:09:39 charge currents: [15.6 0.01 0.008]A
Mar 23 22:09:39 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:09:39 charger status: C
Mar 23 22:09:39 raspi evcc[3972173]: [lp-1 ] INFO 2023/03/23 22:09:39 car connected
Mar 23 22:09:39 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:09:39 pv timer elapse
Mar 23 22:09:39 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:09:39 pv timer inactive
Mar 23 22:09:39 raspi evcc[3972173]: [lp-1 ] INFO 2023/03/23 22:09:39 start charging ->
Mar 23 22:09:39 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:09:39 POST https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/token
Mar 23 22:09:41 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:09:41 grant_type=refresh_token&redirect_uri=https%3A%2F%2Fwww.getpostman.com%2Foauth2%2Fcallback&refresh_token=[RTOKEN]
Mar 23 22:09:41 raspi evcc[3972173]: --
Mar 23 22:09:41 raspi evcc[3972173]: {"access_token":"[TOKEN]","token_type":"Bearer","expires_in":86400}
Mar 23 22:09:41 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:09:41 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE_ID]/status/latest
Mar 23 22:09:41 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:09:41 {"retCode":"S","resCode":"0000","resMsg":{"vehicleStatusInfo":{"vehicleLocation":{"coord":{[COORD]},"head":160,"speed":{"value":0,"unit":0},"time":"20230323220836"},"vehicleStatus":{"airCtrlOn":true,"engine":true,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"0DH","unit":0,"hvacTempType":1},"defrost":false,"acc":true,"evStatus":{"batteryCharge":false,"batteryStatus":60,"batteryPlugin":0,"remainTime2":{"etc1":{"value":39,"unit":1},"etc2":{"value":740,"unit":1},"etc3":{"value":175,"unit":1},"atc":{"value":620,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":242,"unit":1},"totalAvailableRange":{"value":242,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":439,"unit":1},"totalAvailableRange":{"value":439,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":439,"unit":1},"totalAvailableRange":{"value":439,"unit":1}},"type":2},"plugType":1}]},"chargePortDoorOpenStatus":2},"ign3":true,"hoodOpen":false,"transCond":false,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0},"battery":{"batSoc":98,"batState":0,"sjbDeliveryMode":1,"batSignalReferenceValue":{"batWarning":65},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20230323220100","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"00:00:00"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":22389.3,"unit":1}}},"msgId":"2f453df3-4e30-4a38-8a8a-15757aba4e89"}
Mar 23 22:09:41 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:09:41 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE_ID]/status
Mar 23 22:11:36 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:11:36 {"retCode":"F","resCode":"4081","resMsg":"Request timeout. - Request timeout.","msgId":"c394241d-7cad-4b01-ab2e-6a84cc75cf8c"}
Mar 23 22:11:36 raspi evcc[3972173]: [lp-1 ] ERROR 2023/03/23 22:11:36 vehicle soc: unexpected status: 408
Mar 23 22:11:36 raspi evcc[3972173]: [lp-1 ] WARN 2023/03/23 22:11:36 charger out of sync: expected disabled, got enabled
Mar 23 22:11:36 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:11:36 targetSoc reached: 85.0% > 80%
Mar 23 22:11:36 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:11:36 ----
Mar 23 22:11:36 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:11:36 charge power: 3640W
Mar 23 22:11:38 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:11:38 pv power: 0W
Mar 23 22:11:40 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:11:40 grid power: 17645W
Mar 23 22:11:40 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:11:40 site power: 17645W
Mar 23 22:12:06 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:12:06 ----
Mar 23 22:12:06 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:12:06 charge power: 0W
Mar 23 22:12:08 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:12:08 pv power: 0W
Mar 23 22:12:09 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:12:09 grid power: 17622W
Mar 23 22:12:09 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:12:09 site power: 17622W
Mar 23 22:12:09 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:12:09 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE_ID]/status/latest
Mar 23 22:12:09 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:12:09 {"retCode":"S","resCode":"0000","resMsg":{"vehicleStatusInfo":{"vehicleLocation":{"coord":{[COORD]},"head":160,"speed":{"value":0,"unit":0},"time":"20230323220836"},"vehicleStatus":{"airCtrlOn":true,"engine":true,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"0DH","unit":0,"hvacTempType":1},"defrost":false,"acc":true,"evStatus":{"batteryCharge":false,"batteryStatus":60,"batteryPlugin":0,"remainTime2":{"etc1":{"value":39,"unit":1},"etc2":{"value":740,"unit":1},"etc3":{"value":175,"unit":1},"atc":{"value":620,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":242,"unit":1},"totalAvailableRange":{"value":242,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":439,"unit":1},"totalAvailableRange":{"value":439,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":439,"unit":1},"totalAvailableRange":{"value":439,"unit":1}},"type":2},"plugType":1}]},"chargePortDoorOpenStatus":2},"ign3":true,"hoodOpen":false,"transCond":false,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0},"battery":{"batSoc":98,"batState":0,"sjbDeliveryMode":1,"batSignalReferenceValue":{"batWarning":65},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20230323220100","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"00:00:00"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":22389.3,"unit":1}}},"msgId":"7ef26fa0-9707-4a0b-8259-f14fd50a1c8a"}
Mar 23 22:12:09 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:12:09 vehicle odometer: 22389km
Mar 23 22:12:09 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:12:09 charge currents: [0.007 0.01 0.008]A
Mar 23 22:12:09 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:12:09 charger status: B
Mar 23 22:12:09 raspi evcc[3972173]: [lp-1 ] INFO 2023/03/23 22:12:09 stop charging <-
Mar 23 22:12:09 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:12:09 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE_ID]/status/latest
Mar 23 22:12:09 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:12:09 {"retCode":"S","resCode":"0000","resMsg":{"vehicleStatusInfo":{"vehicleLocation":{"coord":{[COORD]},"head":160,"speed":{"value":0,"unit":0},"time":"20230323220836"},"vehicleStatus":{"airCtrlOn":true,"engine":true,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"0DH","unit":0,"hvacTempType":1},"defrost":false,"acc":true,"evStatus":{"batteryCharge":false,"batteryStatus":60,"batteryPlugin":0,"remainTime2":{"etc1":{"value":39,"unit":1},"etc2":{"value":740,"unit":1},"etc3":{"value":175,"unit":1},"atc":{"value":620,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":242,"unit":1},"totalAvailableRange":{"value":242,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":439,"unit":1},"totalAvailableRange":{"value":439,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":439,"unit":1},"totalAvailableRange":{"value":439,"unit":1}},"type":2},"plugType":1}]},"chargePortDoorOpenStatus":2},"ign3":true,"hoodOpen":false,"transCond":false,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0},"battery":{"batSoc":98,"batState":0,"sjbDeliveryMode":1,"batSignalReferenceValue":{"batWarning":65},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20230323220100","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"00:00:00"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":22389.3,"unit":1}}},"msgId":"6f7dc935-7704-4771-8441-c1aac7e91174"}
Mar 23 22:12:09 raspi evcc[3972173]: [lp-1 ] ERROR 2023/03/23 22:12:09 vehicle soc: timeout
Mar 23 22:12:09 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:12:09 targetSoc reached: 85.0% > 80%
Mar 23 22:12:56 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:12:56 ----
Mar 23 22:12:56 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:12:56 charge power: 0W
Mar 23 22:12:58 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:12:58 pv power: 0W
Woher die 85.0% SoC kommen ist weiterhin unbekannt, auf jeden Fall sind sie nicht aktuell.
Das ist nicht zu erkennen bei dem Logschnipsel.
@panzerdev @nename0 ihr habt beide mehr Ahnung als ich von Bluelink. Könntet ihr vllt auch mal ein Auge drauf werfen?
Woher die 85.0% SoC kommen ist weiterhin unbekannt, auf jeden Fall sind sie nicht aktuell.
Das ist nicht zu erkennen bei dem Logschnipsel.
Naja das ist offensichtlich: https://github.com/evcc-io/evcc/blob/b93a7029738ca8a15319d6d3f395a04f59a08cc7/core/loadpoint.go#L1522
lp.vehicleSoc
wird nie geresetet.
@MathysDev Hast du mal probiert in der App das Auto zu updaten und hat sich dann der graue Zeitstempel aktualisiert? Sieht für mich jetzt ehr so aus als hätte das Auto am Ladepunkt kein Mobilfunk.
Könnte auch sein, dass da ein 2G Netz abgeschaltet wurde. Da scheint es ja in der Schweiz andere Pläne als in D zu geben. Dafür würde auch sprechen, dass das letzte Update noch beim Fahren ist und normalerweise (meine Kona) immer beim Auschalten noch ein Update sendet...
Na 403 ist forbidden. Mit Empfang sollte das nix zu tun haben.
403? Ich sehe da nur 408er
@nename0 Die Verbindung scheint nicht stabil zu sein, Teile der Aufrufe schlagen auch auf dem Mobile fehl, aber nicht alle. Mit dem Smartphone ist der Empfang zuverlässig... Ich hatte bisher vermutet dass einfach bluelink schlechte Software ist...
Habe nochmals durchs Log gelesen und habe es so verstanden: (Logs von Hyundai gibt es im Zeitraum nicht mehr. Andere Quellen habe ich nur die relevanten Zeitpunkte).
Idealerweise würde EVCC aus meiner Sicht auch /status/latest berücksichtigen
Hier die genannten Logs:
Mar 22 21:21:22 raspi evcc[3972173]: [hyundai] TRACE 2023/03/22 21:21:22 POST https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/token
Mar 22 21:21:23 raspi evcc[3972173]: [hyundai] TRACE 2023/03/22 21:21:23 grant_type=refresh_token&redirect_uri=https%3A%2F%2Fwww.getpostman.com%2Foauth2%2Fcallback&refresh_token=[RTOKEN]
Mar 22 21:21:23 raspi evcc[3972173]: [hyundai] TRACE 2023/03/22 21:21:23 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE]/status/latest
Mar 22 21:21:23 raspi evcc[3972173]: [hyundai] TRACE 2023/03/22 21:21:23 {"retCode":"S","resCode":"0000","resMsg":{"vehicleStatusInfo":{"vehicleLocation":{"coord":{[COORD]},"head":160,"speed":{"value":0,"unit":0},"accuracy":{"hdop":10,"pdop":10},"time":"20230321150559"},"vehicleStatus":{"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"02H","unit":0,"hvacTempType":1},"defrost":false,"acc":false,"evStatus":{"batteryCharge":true,"batteryStatus":70,"batteryPlugin":2,"remainTime2":{"etc1":{"value":54,"unit":1},"etc2":{"value":560,"unit":1},"etc3":{"value":135,"unit":1},"atc":{"value":140,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":308,"unit":1},"totalAvailableRange":{"value":308,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":457,"unit":1},"totalAvailableRange":{"value":457,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":457,"unit":1},"totalAvailableRange":{"value":457,"unit":1}},"type":2},"plugType":1}]},"chargePortDoorOpenStatus":1},"ign3":true,"hoodOpen":false,"transCond":true,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0},"battery":{"batState":1,"sjbDeliveryMode":0,"batSignalReferenceValue":{"batWarning":65},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20230321150603","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"15:37:42"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":22283.3,"unit":1}}},"msgId":"af67b284-3cbd-4d84-87f3-7495a732e1ea"}
Mar 22 21:23:00 raspi evcc[3972173]: [hyundai] TRACE 2023/03/22 21:23:00 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE]/status/latest
Mar 22 21:23:01 raspi evcc[3972173]: [hyundai] TRACE 2023/03/22 21:23:01 {"retCode":"S","resCode":"0000","resMsg":{"vehicleStatusInfo":{"vehicleLocation":{"coord":{[COORD]},"head":160,"speed":{"value":0,"unit":0},"accuracy":{"hdop":10,"pdop":10},"time":"20230321150559"},"vehicleStatus":{"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"02H","unit":0,"hvacTempType":1},"defrost":false,"acc":false,"evStatus":{"batteryCharge":true,"batteryStatus":70,"batteryPlugin":2,"remainTime2":{"etc1":{"value":54,"unit":1},"etc2":{"value":560,"unit":1},"etc3":{"value":135,"unit":1},"atc":{"value":140,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":308,"unit":1},"totalAvailableRange":{"value":308,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":457,"unit":1},"totalAvailableRange":{"value":457,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":457,"unit":1},"totalAvailableRange":{"value":457,"unit":1}},"type":2},"plugType":1}]},"chargePortDoorOpenStatus":1},"ign3":true,"hoodOpen":false,"transCond":true,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0},"battery":{"batState":1,"sjbDeliveryMode":0,"batSignalReferenceValue":{"batWarning":65},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20230321150603","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"15:37:42"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":22283.3,"unit":1}}},"msgId":"da5f6ab5-0fc7-4cb2-ae19-2046fe889932"}
Mar 22 21:23:01 raspi evcc[3972173]: [hyundai] TRACE 2023/03/22 21:23:01 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE]/status
Mar 22 21:23:15 raspi evcc[3972173]: [hyundai] TRACE 2023/03/22 21:23:15 {"retCode":"S","resCode":"0000","resMsg":{"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"02H","unit":0,"hvacTempType":1},"defrost":false,"acc":false,"evStatus":{"batteryCharge":false,"batteryStatus":85,"batteryPlugin":0,"remainTime2":{"etc1":{"value":30,"unit":1},"etc2":{"value":270,"unit":1},"etc3":{"value":70,"unit":1},"atc":{"value":620,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":384,"unit":1},"totalAvailableRange":{"value":384,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":100,"dte":{"rangeByFuel":{"evModeRange":{"value":456,"unit":1},"totalAvailableRange":{"value":456,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":100,"dte":{"rangeByFuel":{"evModeRange":{"value":456,"unit":1},"totalAvailableRange":{"value":456,"unit":1}},"type":2},"plugType":1}]},"chargePortDoorOpenStatus":1},"ign3":true,"hoodOpen":false,"transCond":false,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0},"battery":{"batState":1,"sjbDeliveryMode":0,"batSignalReferenceValue":{"batWarning":0},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20230322212315","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"45:54:56"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"msgId":"a9a2444b-9a7a-43cd-b17f-fb6b596832c4"}
Mar 22 22:24:39 raspi evcc[3972173]: [hyundai] TRACE 2023/03/22 22:24:39 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE]/status/latest
Mar 22 22:24:40 raspi evcc[3972173]: [hyundai] TRACE 2023/03/22 22:24:40 {"retCode":"S","resCode":"0000","resMsg":{"vehicleStatusInfo":{"vehicleLocation":{"coord":{[COORD]},"head":160,"speed":{"value":0,"unit":0},"accuracy":{"hdop":10,"pdop":10},"time":"20230321150559"},"vehicleStatus":{"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"02H","unit":0,"hvacTempType":1},"defrost":false,"acc":false,"evStatus":{"batteryCharge":false,"batteryStatus":85,"batteryPlugin":0,"remainTime2":{"etc1":{"value":30,"unit":1},"etc2":{"value":270,"unit":1},"etc3":{"value":70,"unit":1},"atc":{"value":620,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":384,"unit":1},"totalAvailableRange":{"value":384,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":100,"dte":{"rangeByFuel":{"evModeRange":{"value":456,"unit":1},"totalAvailableRange":{"value":456,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":100,"dte":{"rangeByFuel":{"evModeRange":{"value":456,"unit":1},"totalAvailableRange":{"value":456,"unit":1}},"type":2},"plugType":1}]},"chargePortDoorOpenStatus":1},"ign3":true,"hoodOpen":false,"transCond":false,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0},"battery":{"batState":1,"sjbDeliveryMode":0,"batSignalReferenceValue":{"batWarning":0},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20230322212315","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"45:54:56"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":22283.3,"unit":1}}},"msgId":"92092345-9a28-4035-8934-653d1059e381"}
Mar 22 22:24:40 raspi evcc[3972173]: [hyundai] TRACE 2023/03/22 22:24:40 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE]/status
Mar 22 22:24:57 raspi evcc[3972173]: [hyundai] TRACE 2023/03/22 22:24:57 {"retCode":"S","resCode":"0000","resMsg":{"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"02H","unit":0,"hvacTempType":1},"defrost":false,"acc":false,"evStatus":{"batteryCharge":false,"batteryStatus":85,"batteryPlugin":0,"remainTime2":{"etc1":{"value":54,"unit":1},"etc2":{"value":1420,"unit":1},"etc3":{"value":335,"unit":1},"atc":{"value":620,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":384,"unit":1},"totalAvailableRange":{"value":384,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":100,"dte":{"rangeByFuel":{"evModeRange":{"value":456,"unit":1},"totalAvailableRange":{"value":456,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":100,"dte":{"rangeByFuel":{"evModeRange":{"value":456,"unit":1},"totalAvailableRange":{"value":456,"unit":1}},"type":2},"plugType":1}]},"chargePortDoorOpenStatus":1},"ign3":true,"hoodOpen":false,"transCond":false,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0},"battery":{"batState":1,"sjbDeliveryMode":0,"batSignalReferenceValue":{"batWarning":0},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20230322222457","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"46:56:38"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"msgId":"ae19738c-3219-46d7-bbc8-e5e751809fd4"}
Mar 23 07:21:19 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 07:21:19 charger status: B
Mar 23 07:21:19 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 07:21:19 targetSoc reached: 85.0% > 80%
Mar 23 07:22:06 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 07:22:06 ----
Mar 23 07:22:06 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 07:22:06 charge power: 0W
Mar 23 07:22:08 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 07:22:08 pv power: 1336W
Mar 23 07:22:09 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 07:22:09 grid power: 756W
Mar 23 07:22:09 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 07:22:09 site power: 756W
Mar 23 07:22:56 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 07:22:56 ----
Mar 23 07:22:56 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 07:22:56 charge power: 0W
Mar 23 07:22:58 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 07:22:58 pv power: 1336W
Mar 23 07:22:59 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 07:22:59 grid power: 756W
Mar 23 07:22:59 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 07:22:59 site power: 756W
Mar 23 07:22:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 07:22:59 charge currents: [0 0 0]A
Mar 23 07:22:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 07:22:59 charger status: A
Mar 23 07:22:59 raspi evcc[3972173]: [lp-1 ] INFO 2023/03/23 07:22:59 car disconnected
Mar 23 07:22:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 07:22:59 set charge mode: pv
Mar 23 07:22:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 07:22:59 set min current: 6
Mar 23 07:22:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 07:22:59 set max current: 16
Mar 23 07:22:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 07:22:59 set min soc: 0
Mar 23 07:22:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 07:22:59 set target soc: 100
Mar 23 07:22:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 07:22:59 set charge mode: pv
Mar 23 07:22:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 07:22:59 set min current: 8
Mar 23 07:22:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 07:22:59 set min soc: 0
Mar 23 07:22:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 07:22:59 set target soc: 80
Mar 23 07:22:59 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 07:22:59 ----
Mar 23 22:08:46 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:08:46 ----
Mar 23 22:08:46 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:08:46 charge power: 0W
Mar 23 22:08:48 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:08:48 pv power: 0W
Mar 23 22:08:49 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:08:49 grid power: 13804W
Mar 23 22:08:49 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:08:49 site power: 13804W
Mar 23 22:09:36 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:09:36 ----
Mar 23 22:09:36 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:09:36 charge power: 2710W
Mar 23 22:09:38 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:09:38 pv power: 0W
Mar 23 22:09:39 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:09:39 grid power: 14124W
Mar 23 22:09:39 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:09:39 site power: 14124W
Mar 23 22:09:39 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:09:39 charge currents: [15.6 0.01 0.008]A
Mar 23 22:09:39 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:09:39 charger status: C
Mar 23 22:09:39 raspi evcc[3972173]: [lp-1 ] INFO 2023/03/23 22:09:39 car connected
Mar 23 22:09:39 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:09:39 pv timer elapse
Mar 23 22:09:39 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:09:39 pv timer inactive
Mar 23 22:09:39 raspi evcc[3972173]: [lp-1 ] INFO 2023/03/23 22:09:39 start charging ->
Mar 23 22:09:39 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:09:39 POST https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/token
Mar 23 22:09:41 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:09:41 grant_type=refresh_token&redirect_uri=https%3A%2F%2Fwww.getpostman.com%2Foauth2%2Fcallback&refresh_token=[RTOKEN]
Mar 23 22:09:41 raspi evcc[3972173]: --
Mar 23 22:09:41 raspi evcc[3972173]: {"access_token":"[TOKEN]","token_type":"Bearer","expires_in":86400}
Mar 23 22:09:41 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:09:41 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE]/status/latest
Mar 23 22:09:41 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:09:41 {"retCode":"S","resCode":"0000","resMsg":{"vehicleStatusInfo":{"vehicleLocation":{"coord":{[COORD]},"head":160,"speed":{"value":0,"unit":0},"time":"20230323220836"},"vehicleStatus":{"airCtrlOn":true,"engine":true,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"0DH","unit":0,"hvacTempType":1},"defrost":false,"acc":true,"evStatus":{"batteryCharge":false,"batteryStatus":60,"batteryPlugin":0,"remainTime2":{"etc1":{"value":39,"unit":1},"etc2":{"value":740,"unit":1},"etc3":{"value":175,"unit":1},"atc":{"value":620,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":242,"unit":1},"totalAvailableRange":{"value":242,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":439,"unit":1},"totalAvailableRange":{"value":439,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":439,"unit":1},"totalAvailableRange":{"value":439,"unit":1}},"type":2},"plugType":1}]},"chargePortDoorOpenStatus":2},"ign3":true,"hoodOpen":false,"transCond":false,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0},"battery":{"batSoc":98,"batState":0,"sjbDeliveryMode":1,"batSignalReferenceValue":{"batWarning":65},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20230323220100","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"00:00:00"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":22389.3,"unit":1}}},"msgId":"2f453df3-4e30-4a38-8a8a-15757aba4e89"}
Mar 23 22:09:41 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:09:41 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE]/status
Mar 23 22:11:36 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:11:36 {"retCode":"F","resCode":"4081","resMsg":"Request timeout. - Request timeout.","msgId":"c394241d-7cad-4b01-ab2e-6a84cc75cf8c"}
Mar 23 22:11:36 raspi evcc[3972173]: [lp-1 ] ERROR 2023/03/23 22:11:36 vehicle soc: unexpected status: 408
Mar 23 22:11:36 raspi evcc[3972173]: [lp-1 ] WARN 2023/03/23 22:11:36 charger out of sync: expected disabled, got enabled
Mar 23 22:11:36 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:11:36 targetSoc reached: 85.0% > 80%
Mar 23 22:11:36 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:11:36 ----
Mar 23 22:11:36 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:11:36 charge power: 3640W
Mar 23 22:11:38 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:11:38 pv power: 0W
Mar 23 22:11:40 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:11:40 grid power: 17645W
Mar 23 22:11:40 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:11:40 site power: 17645W
Mar 23 22:12:06 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:12:06 ----
Mar 23 22:12:06 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:12:06 charge power: 0W
Mar 23 22:12:08 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:12:08 pv power: 0W
Mar 23 22:12:09 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:12:09 grid power: 17622W
Mar 23 22:12:09 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:12:09 site power: 17622W
Mar 23 22:12:09 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:12:09 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE]/status/latest
Mar 23 22:12:09 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:12:09 {"retCode":"S","resCode":"0000","resMsg":{"vehicleStatusInfo":{"vehicleLocation":{"coord":{[COORD]},"head":160,"speed":{"value":0,"unit":0},"time":"20230323220836"},"vehicleStatus":{"airCtrlOn":true,"engine":true,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"0DH","unit":0,"hvacTempType":1},"defrost":false,"acc":true,"evStatus":{"batteryCharge":false,"batteryStatus":60,"batteryPlugin":0,"remainTime2":{"etc1":{"value":39,"unit":1},"etc2":{"value":740,"unit":1},"etc3":{"value":175,"unit":1},"atc":{"value":620,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":242,"unit":1},"totalAvailableRange":{"value":242,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":439,"unit":1},"totalAvailableRange":{"value":439,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":439,"unit":1},"totalAvailableRange":{"value":439,"unit":1}},"type":2},"plugType":1}]},"chargePortDoorOpenStatus":2},"ign3":true,"hoodOpen":false,"transCond":false,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0},"battery":{"batSoc":98,"batState":0,"sjbDeliveryMode":1,"batSignalReferenceValue":{"batWarning":65},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20230323220100","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"00:00:00"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":22389.3,"unit":1}}},"msgId":"7ef26fa0-9707-4a0b-8259-f14fd50a1c8a"}
Mar 23 22:12:09 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:12:09 vehicle odometer: 22389km
Mar 23 22:12:09 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:12:09 charge currents: [0.007 0.01 0.008]A
Mar 23 22:12:09 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:12:09 charger status: B
Mar 23 22:12:09 raspi evcc[3972173]: [lp-1 ] INFO 2023/03/23 22:12:09 stop charging <-
Mar 23 22:12:09 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:12:09 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE]/status/latest
Mar 23 22:12:09 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 22:12:09 {"retCode":"S","resCode":"0000","resMsg":{"vehicleStatusInfo":{"vehicleLocation":{"coord":{[COORD]},"head":160,"speed":{"value":0,"unit":0},"time":"20230323220836"},"vehicleStatus":{"airCtrlOn":true,"engine":true,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"0DH","unit":0,"hvacTempType":1},"defrost":false,"acc":true,"evStatus":{"batteryCharge":false,"batteryStatus":60,"batteryPlugin":0,"remainTime2":{"etc1":{"value":39,"unit":1},"etc2":{"value":740,"unit":1},"etc3":{"value":175,"unit":1},"atc":{"value":620,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":242,"unit":1},"totalAvailableRange":{"value":242,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":439,"unit":1},"totalAvailableRange":{"value":439,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":439,"unit":1},"totalAvailableRange":{"value":439,"unit":1}},"type":2},"plugType":1}]},"chargePortDoorOpenStatus":2},"ign3":true,"hoodOpen":false,"transCond":false,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0},"battery":{"batSoc":98,"batState":0,"sjbDeliveryMode":1,"batSignalReferenceValue":{"batWarning":65},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20230323220100","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"00:00:00"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":22389.3,"unit":1}}},"msgId":"6f7dc935-7704-4771-8441-c1aac7e91174"}
Mar 23 22:12:09 raspi evcc[3972173]: [lp-1 ] ERROR 2023/03/23 22:12:09 vehicle soc: timeout
Mar 23 22:12:09 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:12:09 targetSoc reached: 85.0% > 80%
Mar 23 22:12:56 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:12:56 ----
Mar 23 22:12:56 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/23 22:12:56 charge power: 0W
Mar 23 22:12:58 raspi evcc[3972173]: [site ] DEBUG 2023/03/23 22:12:58 pv power: 0W
Mar 23 23:13:49 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 23:13:49 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE]/status/latest
Mar 23 23:13:51 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 23:13:51 {"retCode":"S","resCode":"0000","resMsg":{"vehicleStatusInfo":{"vehicleLocation":{"coord":{[COORD]},"head":160,"speed":{"value":0,"unit":0},"time":"20230323220836"},"vehicleStatus":{"airCtrlOn":true,"engine":true,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"0DH","unit":0,"hvacTempType":1},"defrost":false,"acc":true,"evStatus":{"batteryCharge":false,"batteryStatus":60,"batteryPlugin":0,"remainTime2":{"etc1":{"value":39,"unit":1},"etc2":{"value":740,"unit":1},"etc3":{"value":175,"unit":1},"atc":{"value":620,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":242,"unit":1},"totalAvailableRange":{"value":242,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":439,"unit":1},"totalAvailableRange":{"value":439,"unit":1}},"type":2},"plugType":0},{"targetSOClevel":0,"dte":{"rangeByFuel":{"evModeRange":{"value":439,"unit":1},"totalAvailableRange":{"value":439,"unit":1}},"type":2},"plugType":1}]},"chargePortDoorOpenStatus":2},"ign3":true,"hoodOpen":false,"transCond":false,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0},"battery":{"batSoc":98,"batState":0,"sjbDeliveryMode":1,"batSignalReferenceValue":{"batWarning":65},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20230323220100","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"00:00:00"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":22389.3,"unit":1}}},"msgId":"781b13b5-e7c8-4e52-9372-a2547de8e99f"}
Mar 23 23:13:51 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 23:13:51 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE]/status
Mar 23 23:15:46 raspi evcc[3972173]: [hyundai] TRACE 2023/03/23 23:15:46 {"retCode":"F","resCode":"4081","resMsg":"Request timeout. - Request timeout.","msgId":"588eaafd-f84a-4944-8f68-da51cef9d683"}
Mar 24 10:54:36 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:54:36 ----
Mar 24 10:54:36 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:36 charge power: 0W
Mar 24 10:54:38 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:54:38 pv power: 10596W
Mar 24 10:54:40 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:54:40 grid power: -7375W
Mar 24 10:54:40 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:54:40 site power: -7375W
Mar 24 10:54:40 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:40 charge currents: [0.008 0.009 0.008]A
Mar 24 10:54:40 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:40 charger status: B
Mar 24 10:54:40 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:40 targetSoc reached: 85.0% > 80%
Mar 24 10:54:55 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:55 set target soc: 90
Mar 24 10:54:55 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:54:55 ----
Mar 24 10:54:55 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:55 charge power: 0W
Mar 24 10:54:56 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:54:56 pv power: 9725W
Mar 24 10:54:58 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:54:58 grid power: -6398W
Mar 24 10:54:58 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:54:58 site power: -6398W
Mar 24 10:54:58 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:58 charge currents: [0.008 0.009 0.008]A
Mar 24 10:54:58 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:58 charger status: B
Mar 24 10:54:58 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:58 available power 6398W > 5520W min 3p threshold
Mar 24 10:54:58 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:58 start phase scale3p timer
Mar 24 10:54:58 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:58 phase scale3p in 2m0s
Mar 24 10:54:58 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:58 pv charge current: 27.8A = 0A + 27.8A (-6398W @ 1p)
Mar 24 10:54:58 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:58 site power -6398W <= 0W enable threshold
Mar 24 10:54:58 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:58 pv enable in 0s
Mar 24 10:54:58 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:58 pv enable timer elapsed
Mar 24 10:54:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:59 max charge current: 8A
Mar 24 10:54:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:59 charger enable
Mar 24 10:54:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:54:59 wake-up timer: start
Mar 24 10:55:26 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:55:26 ----
Mar 24 10:55:26 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:55:26 charge power: 1698W
Mar 24 10:55:28 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:55:28 pv power: 9725W
Mar 24 10:55:30 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:55:30 grid power: -6398W
Mar 24 10:55:30 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:55:30 site power: -6398W
Mar 24 10:56:16 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:56:16 ----
Mar 24 10:56:16 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:56:16 charge power: 1698W
Mar 24 10:56:18 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:56:18 pv power: 9937W
Mar 24 10:56:20 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:56:20 grid power: 2206W
Mar 24 10:56:20 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:56:20 site power: 2206W
Mar 24 10:56:20 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:56:20 charge currents: [7.07 0.009 0.008]A
Mar 24 10:56:20 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:56:20 charger status: C
Mar 24 10:56:20 raspi evcc[3972173]: [lp-1 ] INFO 2023/03/24 10:56:20 start charging ->
Mar 24 10:56:20 raspi evcc[3972173]: [hyundai] TRACE 2023/03/24 10:56:20 retry stamps download, last attempt: 2023-03-22 21:21:21.16704762 +0100 CET m=+287462.624959055
Mar 24 10:56:20 raspi evcc[3972173]: [hyundai] TRACE 2023/03/24 10:56:20 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE]/status/latest
Mar 24 10:56:22 raspi evcc[3972173]: [hyundai] TRACE 2023/03/24 10:56:22 {"retCode":"S","resCode":"0000","resMsg":{"vehicleStatusInfo":{"vehicleLocation":{"coord":{[VEHICLE]},"head":160,"speed":{"value":0,"unit":0},"accuracy":{"hdop":10,"pdop":10},"time":"20230324064304"},"vehicleStatus":{"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"02H","unit":0,"hvacTempType":1},"defrost":false,"acc":false,"evStatus":{"batteryCharge":false,"batteryStatus":58,"batteryPlugin":0,"remainTime2":{"etc1":{"value":40,"unit":1},"etc2":{"value":770,"unit":1},"etc3":{"value":185,"unit":1},"atc":{"value":620,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":235,"unit":1},"totalAvailableRange":{"value":235,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":0,"plugType":0},{"targetSOClevel":0,"plugType":1}]}},"ign3":false,"hoodOpen":false,"transCond":true,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0},"battery":{"batSoc":98,"batState":0,"sjbDeliveryMode":0,"batSignalReferenceValue":{"batWarning":65},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":true,"time":"20230324064306","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"08:34:29"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":22389.3,"unit":1}}},"msgId":"23354c51-80e8-477d-a71e-8e662704cfbf"}
Mar 24 10:56:22 raspi evcc[3972173]: [lp-1 ] ERROR 2023/03/24 10:56:22 vehicle soc: timeout
Mar 24 10:56:22 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:56:22 phase timer inactive
Mar 24 10:56:22 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:56:22 pv charge current: 0A = 8A + -9.59A (2206W @ 1p)
Mar 24 10:56:22 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:56:22 site power 2206W >= 0W disable threshold
Mar 24 10:56:22 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:56:22 pv disable in 0s
Mar 24 10:56:22 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:56:22 pv disable timer elapsed
Mar 24 10:56:22 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:56:22 charger disable: contactor delay 5m37s
Mar 24 10:57:06 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:57:06 ----
Mar 24 10:57:06 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:57:06 charge power: 1698W
Mar 24 10:57:08 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:57:08 pv power: 9937W
Mar 24 10:57:09 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:57:09 grid power: 2206W
Mar 24 10:57:09 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:57:09 site power: 2206W
Mar 24 10:57:56 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:57:56 ----
Mar 24 10:57:56 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:57:56 charge power: 1698W
Mar 24 10:57:58 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:57:58 pv power: 9056W
Mar 24 10:57:59 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:57:59 grid power: 2536W
Mar 24 10:57:59 raspi evcc[3972173]: [site ] DEBUG 2023/03/24 10:57:59 site power: 2536W
Mar 24 10:57:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:57:59 charge currents: [7.07 0.009 0.008]A
Mar 24 10:57:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:57:59 detected active phases: 1p
Mar 24 10:57:59 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:57:59 charger status: C
Mar 24 10:57:59 raspi evcc[3972173]: [hyundai] TRACE 2023/03/24 10:57:59 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE]/status/latest
Mar 24 10:58:00 raspi evcc[3972173]: [hyundai] TRACE 2023/03/24 10:58:00 {"retCode":"S","resCode":"0000","resMsg":{"vehicleStatusInfo":{"vehicleLocation":{"coord":{[VEHICLE]},"head":160,"speed":{"value":0,"unit":0},"accuracy":{"hdop":10,"pdop":10},"time":"20230324064304"},"vehicleStatus":{"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"02H","unit":0,"hvacTempType":1},"defrost":false,"acc":false,"evStatus":{"batteryCharge":false,"batteryStatus":58,"batteryPlugin":0,"remainTime2":{"etc1":{"value":40,"unit":1},"etc2":{"value":770,"unit":1},"etc3":{"value":185,"unit":1},"atc":{"value":620,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":235,"unit":1},"totalAvailableRange":{"value":235,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":0},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":0,"plugType":0},{"targetSOClevel":0,"plugType":1}]}},"ign3":false,"hoodOpen":false,"transCond":true,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0},"battery":{"batSoc":98,"batState":0,"sjbDeliveryMode":0,"batSignalReferenceValue":{"batWarning":65},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":true,"time":"20230324064306","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"08:34:29"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"odometer":{"value":22389.3,"unit":1}}},"msgId":"46e33e34-23e3-4b5c-8fb4-fd25144467ec"}
Mar 24 10:58:00 raspi evcc[3972173]: [hyundai] TRACE 2023/03/24 10:58:00 GET https://prd.eu-ccapi.hyundai.com:8080/api/v1/spa/vehicles/[VEHICLE]/status
Mar 24 10:58:15 raspi evcc[3972173]: [hyundai] TRACE 2023/03/24 10:58:15 {"retCode":"S","resCode":"0000","resMsg":{"airCtrlOn":false,"engine":false,"doorLock":true,"doorOpen":{"frontLeft":0,"frontRight":0,"backLeft":0,"backRight":0},"trunkOpen":false,"airTemp":{"value":"02H","unit":0,"hvacTempType":1},"defrost":false,"acc":false,"evStatus":{"batteryCharge":true,"batteryStatus":56,"batteryPlugin":2,"remainTime2":{"etc1":{"value":40,"unit":1},"etc2":{"value":840,"unit":1},"etc3":{"value":185,"unit":1},"atc":{"value":1540,"unit":1}},"drvDistance":[{"rangeByFuel":{"evModeRange":{"value":243,"unit":1},"totalAvailableRange":{"value":243,"unit":1}},"type":2}],"reservChargeInfos":{"reservChargeInfo":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"offpeakPowerInfo":{"offPeakPowerTime1":{"starttime":{"time":"1200","timeSection":0},"endtime":{"time":"1200","timeSection":0}},"offPeakPowerFlag":0},"reserveChargeInfo2":{"reservChargeInfoDetail":{"reservInfo":{"day":[9],"time":{"time":"1200","timeSection":0}},"reservChargeSet":false,"reservFatcSet":{"defrost":false,"airTemp":{"value":"00H","unit":0,"hvacTempType":1},"airCtrl":0,"heating1":0}}},"reservFlag":0,"ect":{"start":{"day":0,"time":{"time":"0000","timeSection":0}},"end":{"day":0,"time":{"time":"0000","timeSection":0}}},"targetSOClist":[{"targetSOClevel":100,"plugType":0},{"targetSOClevel":100,"plugType":1}]},"chargePortDoorOpenStatus":1},"ign3":true,"hoodOpen":false,"transCond":false,"steerWheelHeat":0,"sideBackWindowHeat":0,"tirePressureLamp":{"tirePressureLampAll":0},"battery":{"batSoc":98,"batState":0,"sjbDeliveryMode":0,"batSignalReferenceValue":{"batWarning":0},"powerAutoCutMode":2},"lampWireStatus":{"stopLamp":{"stopLampStatus":false,"leftLamp":false,"rightLamp":false},"headLamp":{"headLampStatus":false,"leftLowLamp":false,"rightLowLamp":false,"leftHighLamp":false,"rightHighLamp":false},"turnSignalLamp":{"turnSignalLampStatus":false,"leftFrontLamp":false,"rightFrontLamp":false,"leftRearLamp":false,"rightRearLamp":false}},"smartKeyBatteryWarning":false,"washerFluidStatus":false,"breakOilStatus":false,"sleepModeCheck":false,"time":"20230324105815","remoteWaitingTimeAlert":{"remoteControlAvailable":1,"remoteControlWaitingTime":168,"elapsedTime":"12:49:37"},"systemCutOffAlert":0,"tailLampStatus":0,"hazardStatus":0},"msgId":"b34e6014-443a-49a6-aa8e-54b6c50c1218"}
Mar 24 10:58:15 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:58:15 vehicle status: C
Mar 24 10:58:15 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:58:15 vehicle soc: 56%
Mar 24 10:58:15 raspi evcc[3972173]: [lp-1 ] DEBUG 2023/03/24 10:58:15 vehicle soc limit: 100%
PS: Danke für den Hinweis :)
Also erst mal der Unterschied zwischen den beiden API-Calls:
.../status/latest
damit kann man den letzten Zustand den das Auto an den Bluelink Server gesendet hat holen. Dabei wird das Auto nicht involviert, wird also auch nicht aufgeweckt. Das Auto sendet aber auch von sich aus Zustände z.B. wenn man das Auto abstellt oder eine Ladung beendet wird. Dann hat man nach dem Abstellen des Autos direkt den letzten SOC in der App. In den App sieht man das immer als aktuellen Zustand inklusive dem Zeitstempel von dem der Zustand stammt..../status
damit zwingt man das Auto einen neuen Zustand zu liefern. Dabei wird das Auto aufgeweckt. In der App geht das über den Refresh-Knopf oben rechts.Idealerweise würde EVCC aus meiner Sicht auch /status/latest berücksichtigen
Ja das könntest du teilweise erreichen, indem du die expiry
im bluelink config erhöhst, damit werden dann auch ältere ../status/latest
akzeptiert.
Die eine Stunde zwischen 22:12 und 23:13 kommt durch dein cache: 60m
.
So ganz verstehe ich dass jetzt auch nicht warum er dannach aufhört die SOC zu pollen. Denke mal socUpdated
wird gesetzt:
https://github.com/evcc-io/evcc/blob/b93a7029738ca8a15319d6d3f395a04f59a08cc7/core/loadpoint.go#L1364
Und dann gibt socPollAllowed
nie wieder true zurück:
https://github.com/evcc-io/evcc/blob/b93a7029738ca8a15319d6d3f395a04f59a08cc7/core/loadpoint.go#L1316-L1344
Verstehe jetzt aber nicht wie das dann bei anderen Vehicle Providern funktioniert, dass weiterhin gepolled wird trotz Fehlern von der API? @andig
Verstehe jetzt aber nicht wie das dann bei anderen Vehicle Providern funktioniert, dass weiterhin gepolled wird trotz Fehlern von der API?
Ich bin mir aktuell nicht sicher, ob/ dass das wirklich der Fall ist :/
Verstehe jetzt aber nicht wie das dann bei anderen Vehicle Providern funktioniert, dass weiterhin gepolled wird trotz Fehlern von der API?
Ich bin mir aktuell nicht sicher, ob/ dass das wirklich der Fall ist :/
Ja stimmt schon. Dann ist das aber kein Bluelink spezifisches Problem.
Meiner Meinung nach lässt sich die Problematik in zwei Teile aufteilen:
Wird der Fahrzeug-Soc nicht erkannt (= 0) und ist ein Minimum-Soc > 0 definiert, startet die Ladung.
lp.vehicleSoc
wird aber nur beim Neustart von EVCC und beim Ändern des Fahrzeugs auf 0 gesetzt.
Man könnte sich jetzt überlegen, ob man bei einem Connect immer lp.vehicleSoc = 0
setzt. Kann aber natürlich sein, dass sich dann Nutzer beschweren, dass einfach los geladen wird, wenn der Soc noch nicht bekannt ist (also genau das was in dem FAQ steht). Aktuell (im einfachsten Fall mit nur einem Auto) ist ja nur nach dem Neustart lp.vehicleSoc == 0 und dannach nie wieder.
Dieser Kommentar ist eine Lüge (obwohl ich den geschrieben habe :/ - hat auch nichts mit dem #6267 PR zu tun - war vorher auch schon so im dritten ||
Fall) https://github.com/evcc-io/evcc/blob/b93a7029738ca8a15319d6d3f395a04f59a08cc7/core/loadpoint.go#L1323-L1326
lp.socUpdated
wird auch im Fehlerfall gesetzt (außer api.ErrMustRetry
) obwohl ja der Soc dann immer noch 'unkown' ist.
Da sollte man wohl besser auf lp.socEstimator.prevSoc == 0
prüfen.
Bleibt nur die Frage mit welchem Interval man eine nicht funktionierende API für den Soc pollen sollte.
lp.vehicleSoc wird aber nur beim Neustart von EVCC und beim Ändern des Fahrzeugs auf 0 gesetzt.
Auch bei Disconnect: evVehicleDisconnectHandler
-> setActiveVehicle
-> unpublishVehicle
. Damit ist er bei Connect immer noch 0.
Bleibt nur die Frage mit welchem Interval man eine nicht funktionierende API für den Soc pollen sollte.
Gute Frage. Der Cachemechanismus hat jetzt seit einiger Zeit ein exponential Backoff mit eingebaut. Man könnte also eigentlich sofort neu fragen, ohne dass etwas kaputt gehen würde. In dem Fehlerfall sollte allerdings egtl. (hab nicht nochmal nachgeschaut) auch api.ErrMustRetry
der Fehler sein, wäre also kein Widerspruch.
Auch bei Disconnect:
evVehicleDisconnectHandler
->setActiveVehicle
->unpublishVehicle
. Damit ist er bei Connect immer noch 0.
Aber nur wenn das nicht das defaultVehicle war: https://github.com/evcc-io/evcc/blob/7e7fff48b64c3a82060f8caedca0c92ac4fb72f8/core/loadpoint_vehicle.go#L101-L107
In dem Fehlerfall sollte allerdings egtl. (hab nicht nochmal nachgeschaut) auch
api.ErrMustRetry
der Fehler sein, wäre also kein Widerspruch.
Meinst du der ResettableCached
oder Bluelink gibt api.ErrMustRetry
zurück?
Bluelink gibt manchmal api.ErrMustRetry
zurück manchmal nicht. Nicht so ganz konsistent.
Describe the bug
Bei einem Reconnect sollte der Cache für den SoC gelöscht werden. Wenn der alte SoC im Cache verbleibt startet die Ladung nicht mehr da soc > target und SoC nicht neu abgerufen wird.
Steps to reproduce
Configuration details
Log details
What type of operating system are you running?
Linux
Version
evcc version 0.114.1