diff --git a/OVMS.V3/components/vehicle_renaultzoe_ph2/src/BCM_pids.cpp b/OVMS.V3/components/vehicle_renaultzoe_ph2/src/BCM_pids.cpp index 1ce65fd..9f91141 100644 --- a/OVMS.V3/components/vehicle_renaultzoe_ph2/src/BCM_pids.cpp +++ b/OVMS.V3/components/vehicle_renaultzoe_ph2/src/BCM_pids.cpp @@ -155,15 +155,35 @@ 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)); - ESP_LOGD(TAG, "4186 Low beam lights: %d", 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 - ESP_LOGD(TAG, "4187 Position lights: %d", CAN_UINT(0)); + 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 - ESP_LOGD(TAG, "6179 Rear fog lights: %d", CAN_UINT(0)); + 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) + if ((bool)CAN_UINT(0)) { + ESP_LOGD(TAG, "60C6 Ignition relay: active"); + } else { + ESP_LOGD(TAG, "60C6 Ignition relay: inactive"); + } break; } diff --git a/OVMS.V3/components/vehicle_renaultzoe_ph2/src/ph2_poller.h b/OVMS.V3/components/vehicle_renaultzoe_ph2/src/ph2_poller.h index 3158a48..f272ff7 100644 --- a/OVMS.V3/components/vehicle_renaultzoe_ph2/src/ph2_poller.h +++ b/OVMS.V3/components/vehicle_renaultzoe_ph2/src/ph2_poller.h @@ -84,6 +84,7 @@ static const OvmsVehicle::poll_pid_t renault_zoe_polls[] = { { 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, 3, 3, 3 }, 0, ISOTP_STD }, // Position lights (Tagfahrlicht), no actual usecase for { 0x745, 0x765, VEHICLE_POLL_TYPE_OBDIIEXTENDED, 0x6179, { 0, 3, 3, 3 }, 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) //LBC //{ 0x18dadbf1, 0x18daf1db, VEHICLE_POLL_TYPE_OBDIISESSION, SESSION_DEFAULT, { 0, 60, 60, 60 }, 0, ISOTP_EXTFRAME }, // OBD Extended Diagnostic Session