Implement vehicle running aka on over BCM, testing needed

This commit is contained in:
Carsten Schmiemann 2022-04-18 00:32:13 +02:00
parent e451ec9c79
commit df0642b78f
2 changed files with 6 additions and 0 deletions

View File

@ -119,6 +119,11 @@ void OvmsVehicleRenaultZoePh2::IncomingBCM(uint16_t type, uint16_t pid, const ch
ESP_LOGD(TAG, "40FF BCM tpms alert RR: %d", CAN_NIBL(0));
break;
}
case 0x608E: {
//reliability test needed
ESP_LOGD(TAG, "608E BCM Vehicle running: %f", CAN_NIBL(0));
break;
}
default: {
char *buf = NULL;

View File

@ -77,6 +77,7 @@ static const OvmsVehicle::poll_pid_t renault_zoe_polls[] = {
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x410A, { 0, 300, 300, 300 }, 0, ISOTP_STD }, // TPMS alert - front right
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x410B, { 0, 300, 300, 300 }, 0, ISOTP_STD }, // TPMS alert - rear left
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x410C, { 0, 300, 300, 300 }, 0, ISOTP_STD }, // TPMS alert - rear right
{ 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x608E, { 0, 3, 10, 60 }, 0, ISOTP_STD }, // Vehicle running aka ignition, need testing
//LBC
//{ 0x18dadbf1, 0x18daf1db, VEHICLE_POLL_TYPE_OBDIISESSION, SESSION_DEFAULT, { 0, 60, 60, 60 }, 0, ISOTP_EXTFRAME }, // OBD Extended Diagnostic Session