Debug TPMS temperatures because of implausibility
This commit is contained in:
parent
c4ed87552c
commit
36f7e1aff2
|
@ -49,22 +49,26 @@ void OvmsVehicleRenaultZoePh2::IncomingBCM(uint16_t type, uint16_t pid, const ch
|
|||
}
|
||||
case 0x420C: { // TPMS temp - front left
|
||||
StandardMetrics.ms_v_tpms_temp->SetElemValue(MS_V_TPMS_IDX_FL, (float)(CAN_UINT(0) - 30) * 0.001, Celcius);
|
||||
//ESP_LOGD(TAG, "420C BCM tpms temp FL: %f", (CAN_UINT(0) - 30) * 0.001);
|
||||
ESP_LOGD(TAG, "420C BCM tpms temp FL RAW: %d", CAN_UINT(0));
|
||||
ESP_LOGD(TAG, "420C BCM tpms temp FL: %f", (CAN_UINT(0) - 30) * 0.001);
|
||||
break;
|
||||
}
|
||||
case 0x420D: { // TPMS temp - front right
|
||||
StandardMetrics.ms_v_tpms_temp->SetElemValue(MS_V_TPMS_IDX_FR, (float)(CAN_UINT(0) - 30) * 0.001, Celcius);
|
||||
//ESP_LOGD(TAG, "420D BCM tpms temp FR: %f", (CAN_UINT(0) - 30) * 0.001);
|
||||
ESP_LOGD(TAG, "420D BCM tpms temp FR RAW: %d", CAN_UINT(0));
|
||||
ESP_LOGD(TAG, "420D BCM tpms temp FR: %f", (CAN_UINT(0) - 30) * 0.001);
|
||||
break;
|
||||
}
|
||||
case 0x420E: { // TPMS temp - rear left
|
||||
StandardMetrics.ms_v_tpms_temp->SetElemValue(MS_V_TPMS_IDX_RL, (float)(CAN_UINT(0) - 30) * 0.001, Celcius);
|
||||
//ESP_LOGD(TAG, "420E BCM tpms temp RL: %f", (CAN_UINT(0) - 30) * 0.001);
|
||||
ESP_LOGD(TAG, "420E BCM tpms temp RL RAW: %d", CAN_UINT(0));
|
||||
ESP_LOGD(TAG, "420E BCM tpms temp RL: %f", (CAN_UINT(0) - 30) * 0.001);
|
||||
break;
|
||||
}
|
||||
case 0x420F: { // TPMS temp - rear right
|
||||
StandardMetrics.ms_v_tpms_temp->SetElemValue(MS_V_TPMS_IDX_RR, (float)(CAN_UINT(0) - 30) * 0.001, Celcius);
|
||||
//ESP_LOGD(TAG, "420F BCM tpms temp RR: %f", (CAN_UINT(0) - 30) * 0.001);
|
||||
ESP_LOGD(TAG, "420F BCM tpms temp RR RAW: %d", CAN_UINT(0));
|
||||
ESP_LOGD(TAG, "420F BCM tpms temp RR: %f", (CAN_UINT(0) - 30) * 0.001);
|
||||
break;
|
||||
}
|
||||
case 0x4109: { // TPMS alert - front left
|
||||
|
|
Loading…
Reference in a new issue