Debug tpms temp raw values
This commit is contained in:
parent
cd537f1907
commit
cd469ff48a
|
@ -57,30 +57,30 @@ void OvmsVehicleRenaultZoePh2::IncomingBCM(uint16_t type, uint16_t pid, const ch
|
|||
}
|
||||
case 0x6310: { // TPMS temp - front left
|
||||
if (CAN_UINT(0) < 32512) {
|
||||
StandardMetrics.ms_v_tpms_temp->SetElemValue(MS_V_TPMS_IDX_FL, ((CAN_NIB(0) * 0.001) - 30.0f), Celcius);
|
||||
StandardMetrics.ms_v_tpms_temp->SetElemValue(MS_V_TPMS_IDX_FL, ((CAN_NIB(0) * 0.001)), Celcius);
|
||||
}
|
||||
ESP_LOGD(TAG, "6310 BCM tpms temp FL: %f", ((CAN_NIB(0) * 0.001) - 30.0f));
|
||||
ESP_LOGD(TAG, "6310 BCM tpms temp FL: %d", CAN_NIB(0));
|
||||
break;
|
||||
}
|
||||
case 0x6311: { // TPMS temp - front right
|
||||
if (CAN_UINT(0) < 32512) {
|
||||
StandardMetrics.ms_v_tpms_temp->SetElemValue(MS_V_TPMS_IDX_FR, ((CAN_NIB(0) * 0.001) - 30.0f), Celcius);
|
||||
StandardMetrics.ms_v_tpms_temp->SetElemValue(MS_V_TPMS_IDX_FR, ((CAN_NIB(0) * 0.001)), Celcius);
|
||||
}
|
||||
ESP_LOGD(TAG, "6311 BCM tpms temp FR: %f", ((CAN_NIB(0) * 0.001) - 30.0f));
|
||||
ESP_LOGD(TAG, "6311 BCM tpms temp FR: %d", CAN_NIBL(0));
|
||||
break;
|
||||
}
|
||||
case 0x6312: { // TPMS temp - rear left
|
||||
if (CAN_UINT(0) < 32512) {
|
||||
StandardMetrics.ms_v_tpms_temp->SetElemValue(MS_V_TPMS_IDX_RL, ((CAN_NIB(0) * 0.001) - 30.0f), Celcius);
|
||||
StandardMetrics.ms_v_tpms_temp->SetElemValue(MS_V_TPMS_IDX_RL, ((CAN_NIB(0) * 0.001)), Celcius);
|
||||
}
|
||||
ESP_LOGD(TAG, "6312 BCM tpms temp RL: %f", ((CAN_NIB(0) * 0.001) - 30.0f));
|
||||
ESP_LOGD(TAG, "6312 BCM tpms temp RL: %d", CAN_NIBH(0));
|
||||
break;
|
||||
}
|
||||
case 0x6313: { // TPMS temp - rear right
|
||||
if (CAN_UINT(0) < 32512) {
|
||||
StandardMetrics.ms_v_tpms_temp->SetElemValue(MS_V_TPMS_IDX_RR, ((CAN_NIB(0) * 0.001) - 30.0f), Celcius);
|
||||
StandardMetrics.ms_v_tpms_temp->SetElemValue(MS_V_TPMS_IDX_RR, ((CAN_NIB(0) * 0.001)), Celcius);
|
||||
}
|
||||
ESP_LOGD(TAG, "6313 BCM tpms temp RR: %f", ((CAN_NIB(0) * 0.001) - 30.0f));
|
||||
ESP_LOGD(TAG, "6313 BCM tpms temp RR: %d", CAN_BYTE(0));
|
||||
break;
|
||||
}
|
||||
case 0x4109: { // TPMS alert - front left
|
||||
|
@ -190,7 +190,7 @@ void OvmsVehicleRenaultZoePh2::IncomingBCM(uint16_t type, uint16_t pid, const ch
|
|||
}
|
||||
break;
|
||||
}*/
|
||||
case 0x60C6: { //Ignition relay (switch), working but behavior on CHARING testing needed
|
||||
case 0x60C6: { //Ignition relay (switch)
|
||||
/*if ((bool)CAN_UINT(0)) {
|
||||
ESP_LOGD(TAG, "60C6 Ignition relay: active");
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue