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

Scenic: Use /kcm/v1/vehicles/<vin>/ev/settings instead of kca/car-adapter/v1/cars/<vin>/charging-settings #1443

Open
Thomascountz opened this issue Jan 14, 2025 · 0 comments

Comments

@Thomascountz
Copy link

Thomascountz commented Jan 14, 2025

/commerce/v1/accounts/<account>/kamereon/kca/car-adapter/v1/cars/<vin>/charging-settings

{
  "type": "FUNCTIONAL",
  "messages": [
    {
      "code": "err.func.wired.unauthorized",
      "message": "The access is unauthorized"
    }
  ],
  "errors": [
    {
      "errorCode": "err.func.wired.unauthorized",
      "errorMessage": "The access is unauthorized"
    }
  ],
  "error_reference": "FUNCTIONAL"
}
/commerce/v1/accounts/<account>/kamereon/kcm/v1/vehicles/<vin>/ev/settings

{
  "lastSettingsUpdateTimestamp": "2025-01-01T00:00:00",
  "delegatedActivated": false,
  "chargeModeRq": "SCHEDULED",
  "chargeTimeStart": "21:00",
  "chargeDuration": 465,
  "preconditioningTemperature": 21.0,
  "preconditioningHeatedStrgWheel": false,
  "preconditioningHeatedRightSeat": false,
  "preconditioningHeatedLeftSeat": false,
  "programs": [
    {
      "programActivationStatus": true,
      "programType": "CHARGE",
      "programDepartureTime": "10:00",
      "programActivationMonday": true,
      "programActivationTuesday": true,
      "programActivationWednesday": true,
      "programActivationThursday": true,
      "programActivationFriday": true,
      "programActivationSaturday": true,
      "programActivationSunday": true
    }
  ]
}
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

1 participant