Remove working but actually unneeded PIDs

This commit is contained in:
Carsten Schmiemann 2022-05-09 00:40:02 +02:00
parent 105cf60e3c
commit 6e6df5fa01
2 changed files with 21 additions and 21 deletions

View File

@ -163,30 +163,30 @@ void OvmsVehicleRenaultZoePh2::IncomingBCM(uint16_t type, uint16_t pid, const ch
}
case 0x4186: { //Low beam lights
StandardMetrics.ms_v_env_headlights->SetValue((bool)CAN_UINT(0));
if ((bool)CAN_UINT(0)) {
/*if ((bool)CAN_UINT(0)) {
ESP_LOGD(TAG, "4186 Low beam lights: active");
} else {
ESP_LOGD(TAG, "4186 Low beam lights: inactive");
}
}*/
break;
}
case 0x4187: { //Position lights (Tagfahrlicht), no actual usecase for
/*case 0x4187: { //Position lights (Tagfahrlicht), working but no actual usecase for
if ((bool)CAN_UINT(0)) {
ESP_LOGD(TAG, "4187 Position lights: active");
} else {
ESP_LOGD(TAG, "4187 Position lights: inactive");
}
break;
}
case 0x6179: { //Rear fog lights, no actual usecase for
}*/
/*case 0x6179: { //Rear fog lights, working but no actual usecase for
if ((bool)CAN_UINT(0)) {
ESP_LOGD(TAG, "6179 Rear fog lights: active");
} else {
ESP_LOGD(TAG, "6179 Rear fog lights: inactive");
}
break;
}
case 0x60C6: { //Ignition relay (switch), reliability TESTING
}*/
case 0x60C6: { //Ignition relay (switch), working but behavior on CHARING testing needed
if ((bool)CAN_UINT(0)) {
ESP_LOGD(TAG, "60C6 Ignition relay: active");
} else {
@ -194,34 +194,34 @@ void OvmsVehicleRenaultZoePh2::IncomingBCM(uint16_t type, uint16_t pid, const ch
}
break;
}
case 0x6164: { //Interior front roof light, no actual usecase for
/*case 0x6164: { //Interior front roof light, working but no actual usecase for
if ((bool)CAN_UINT(0)) {
ESP_LOGD(TAG, "6164 Interior front roof light: active");
} else {
ESP_LOGD(TAG, "6164 Interior front roof light: inactive");
}
break;
}
case 0x6166: { //Interior tailgate light, no actual usecase for
}*/
/*case 0x6166: { //Interior tailgate light, working but no actual usecase for
if ((bool)CAN_UINT(0)) {
ESP_LOGD(TAG, "6166 Interior tailgate light: active");
} else {
ESP_LOGD(TAG, "6166 Interior tailgate light: inactive");
}
break;
}
case 0x6098: { //Light sensor reading, no actual usecase for
}*/
case 0x6098: { //Light sensor reading, TESTING, no actual usecase for
ESP_LOGD(TAG, "6098 Light sensor reading: %d", CAN_UINT(0));
break;
}
case 0x6214: { //Interior tailgate light, no actual usecase for
/*case 0x6214: { //Interior tailgate light, working but no actual usecase for
if ((bool)CAN_UINT(0)) {
ESP_LOGD(TAG, "6214 Rain sensor: RAINING");
} else {
ESP_LOGD(TAG, "6214 Rain sensor: DRY");
}
break;
}
}*/
case 0x4060: { //Vehicle identificaftion number
zoe_vin[0] = CAN_BYTE(0);
zoe_vin[1] = CAN_BYTE(1);

View File

@ -82,13 +82,13 @@ static const OvmsVehicle::poll_pid_t renault_zoe_polls[] = {
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x61B3, { 0, 3, 3, 3 }, 0, ISOTP_STD }, // Rear right door
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x609B, { 0, 3, 3, 3 }, 0, ISOTP_STD }, // Tailgate
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x4186, { 0, 3, 3, 3 }, 0, ISOTP_STD }, // Low beam lights
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x4187, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Position lights (Tagfahrlicht), no actual usecase for
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x6179, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Rear fog lights, no actual usecase for
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x60C6, { 0, 3, 3, 3 }, 0, ISOTP_STD }, // Ignition relay (switch), reliability TESTING
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x6164, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Interior front roof light, no actual usecase for
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x6166, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Interior tailgate light, no actual usecase for
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x6098, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Light sensor reading, no actual usecase for
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x6214, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Rain detection, no actual usecase for
//{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x4187, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Position lights (Tagfahrlicht), working but no actual usecase for
//{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x6179, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Rear fog lights, working but no actual usecase for
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x60C6, { 0, 3, 3, 3 }, 0, ISOTP_STD }, // Ignition relay (switch), working but behavior on CHARING testing needed
//{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x6164, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Interior front roof light, working but no actual usecase for
//{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x6166, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Interior tailgate light, working but no actual usecase for
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x6098, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Light sensor reading, working but no actual usecase for
//{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x6214, { 0, 5, 5, 5 }, 0, ISOTP_STD }, // Rain detection, working butno actual usecase for
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x4060, { 0, 600, 0, 0 }, 0, ISOTP_STD }, // Vehicle identificaftion number
//LBC