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 · 3 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
    }
  ]
}
@jumpjack
Copy link

Scenic full EV?
On my Capturh PHEV I get "forbidden", I must stay with charge-settings.

@jumpjack
Copy link

Can you try "/commerce/v1/accounts/{accountId}/kamereon/kcm/v1/vehicles/{vin}/ev/soc-levels"?

@Thomascountz
Copy link
Author

Renault Scenic Full EV:

{
  "brand": {
    "label": "RENAULT"
  },
  "model": {
    "code": "XCB1SE",
    "label": "SCENIC E-TECH",
  },
}

The soc-levels endpoint provides fewer details, but it doesn't return an error.

/commerce/v1/accounts/{accountId}/kamereon/kcm/v1/vehicles/{vin}/ev/soc-levels

{
  "lastEnergyUpdateTimestamp": "2025-02-23T15:25:19Z",
  "socMin": 20,
  "socTarget": 80
}

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

2 participants