-
Notifications
You must be signed in to change notification settings - Fork 38
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
Add validation methods for Charge Schedule #157
base: main
Are you sure you want to change the base?
Conversation
1f1f63f
to
bd84a28
Compare
@PysX I have received some information that maybe Could you post the results of this endpoint and confirm what it looks like on Zoe50? On my Zoe40, it comes up as {
"data": {
"type": "Car",
"id": "xxxxx",
"attributes": {
"vin": "xxxxx",
"vehicleId": 55722,
"batteryCode": "BT4AR1",
"bin": null,
"brand": "RENAULT",
"canGeneration": "C1A",
"carGateway": "GDC",
"color": null,
"dealerId": null,
"deliveryCountry": "FR ",
"deliveryDate": "2017-08-11T00:00:00.000+0000",
"deviceSerialNumber": null,
"electricityUnitCost": null,
"energy": "electric",
"engineType": "5AQ",
"familyCode": "X10",
"firstRegistrationDate": "20170801",
"fuelUnitCost": null,
"gearbox": "AUTOMATIC",
"modelCode": "B10",
"modelCodeDetail": "X101VE",
"modelName": "ZOE",
"modelYear": null,
"navigAssistCode": null,
"nickname": null,
"packId": null,
"packManufacturingDate": null,
"packNominalCapacity": null,
"packType": null,
"pictureUrl": null,
"radioType": "RAD37A",
"region": "EU",
"registrationCountry": "FR ",
"registrationNumber": "REG-NUMBER",
"sourceReferenceId": null,
"tcuCode": "TCU0G2",
"temperatureUnit": null,
"upholstery": null,
"vehicleSourceReference": null,
"vehicleSourceType": null,
"vehicleType": null,
"versionCode": "INT MB 10R",
"versionName": null,
"privacyMode": "off",
"privacyModeUpdateDate": null,
"svtFlag": false,
"svtLastUpdateTime": null,
"svtBlockFlag": false,
"svtBlockLastUpdateTime": null
}
}
} |
@epenet , this is the result: {
"data": {
"type": "Car",
"id": "XXXXXXXXXXX",
"attributes": {
"vin": "XXXXXXXXXXX",
"vehicleId": 271893,
"batteryCode": "BT4AR1",
"bin": null,
"brand": "RENAULT",
"canGeneration": "C1A",
"carGateway": "AVN",
"color": null,
"dealerId": null,
"deliveryCountry": "FR ",
"deliveryDate": null,
"deviceSerialNumber": null,
"electricityUnitCost": null,
"energy": "electric",
"engineType": "5AQ",
"familyCode": "X10",
"firstRegistrationDate": null,
"fuelUnitCost": null,
"gearbox": "AUTOMATIC",
"modelCode": "B10",
"modelCodeDetail": "X102VE",
"modelName": "ZOE",
"modelYear": null,
"navigAssistCode": null,
"nickname": null,
"packId": null,
"packManufacturingDate": null,
"packNominalCapacity": null,
"packType": null,
"pictureUrl": null,
"radioType": "NA418",
"region": "EU",
"registrationCountry": "FR ",
"registrationNumber": "",
"sourceReferenceId": null,
"tcuCode": "AIVCT",
"temperatureUnit": null,
"upholstery": null,
"vehicleSourceReference": null,
"vehicleSourceType": null,
"vehicleType": null,
"versionCode": "INT A MD 1L",
"versionName": null,
"privacyMode": "off",
"privacyModeUpdateDate": "2020-02-29T12:03:44.13Z",
"svtFlag": false,
"svtLastUpdateTime": null,
"svtBlockFlag": false,
"svtBlockLastUpdateTime": null
}
}
} |
With the new version now I'm able to post the result for my twingo ZE: {
"data": {
"type": "Car",
"id": "XXXXXXXXXXX",
"attributes": {
"vin": "XXXXXXXXXXX",
"vehicleId": 1053757,
"batteryCode": "SANBAT",
"bin": null,
"brand": "RENAULT",
"canGeneration": "T4VS",
"carGateway": "AVN",
"color": null,
"dealerId": null,
"deliveryCountry": "IT ",
"deliveryDate": null,
"deviceSerialNumber": null,
"electricityUnitCost": null,
"energy": "electric",
"engineType": "5AL",
"familyCode": "X07",
"firstRegistrationDate": null,
"fuelUnitCost": null,
"gearbox": "AUTOMATIC",
"modelCode": "B07",
"modelCodeDetail": "X071VE",
"modelName": "TWINGO III",
"modelYear": null,
"navigAssistCode": null,
"nickname": null,
"packId": null,
"packManufacturingDate": null,
"packNominalCapacity": null,
"packType": null,
"pictureUrl": null,
"radioType": "NA437",
"region": "EU",
"registrationCountry": "IT ",
"registrationNumber": "",
"sourceReferenceId": null,
"tcuCode": "AIVCT",
"temperatureUnit": null,
"upholstery": null,
"vehicleSourceReference": null,
"vehicleSourceType": null,
"vehicleType": null,
"versionCode": "INTEA1E C1P",
"versionName": null,
"privacyMode": "off",
"privacyModeUpdateDate": null,
"svtFlag": false,
"svtLastUpdateTime": null,
"svtBlockFlag": false,
"svtBlockLastUpdateTime": null
}
}
} |
cbc47b4
to
efe79b0
Compare
This is related to hacf-fr/hassRenaultZE#105