hi, Now i get a Lexia for Peugeot iOn and I get some useful data on can network, such as SOH and another metrics. if Lexia connected and I create a OVMS can log. I see the following data: 167913.526 1R11 761 2 21 1 FF FF FF FF FF 167913.536 1R11 762 10 2E 61 1 90 8F 1 79 167913.546 1R11 761 30 8 0A FF FF FF FF FF 167913.576 1R11 762 22 0A 4C 3 1 5E 1 5D 167913.596 1R11 762 23 1 2C 0 FA 0 FB 0 167913.606 1R11 762 24 0F 0F 1 5A 0 E8 A5 167913.636 1R11 762 26 64 0 0 0 0 0 0 167914.026 1R11 762 24 0F 0F 1 5A 0 E8 A5 167914.046 1R11 762 25 FE 0 0 1 78 75 7B 167914.056 1R11 762 26 64 0 0 0 0 0 0 167914.436 1R11 761 30 8 0A FF FF FF FF FF 167914.446 1R11 762 21 0 1 78 33 0D B3 4E 167914.476 1R11 762 23 1 2C 0 F9 0 FB 0 167914.496 1R11 762 24 0F 0F 1 5A 0 E8 A5 167914.876 1R11 761 2 21 1 FF FF FF FF FF 167914.876 1R11 762 10 2E 61 1 90 8F 1 79 167914.896 1R11 761 30 8 0A FF FF FF FF FF 167914.906 1R11 762 21 0 1 79 0 0D B3 4E 167914.926 1R11 762 22 0A 4C 3 1 5E 1 5D 167914.966 1R11 762 25 FE 0 0 1 79 75 7B 167914.986 1R11 762 26 64 0 0 0 0 0 0 167915.316 1R11 761 2 21 1 FF FF FF FF FF I searching on google and find the following things the Mitsubishi Outlander PHEV ( http://www.myoutlanderphev.com/forum/viewtopic.php?f=10&t=1796) use the same PID-s. And many more useable metrics if I can resolve this communication with ECU-s
now working if sending the following message from terminal/shell: "can can1 tx standard 761 02 21 01" and I get the requested message 😊 I add some line to the code: case 0x762: // AH { CAN_frame_t frame; if (d[0] == 16) { // Request CAC... frame.origin = m_can1; frame.FIR.U = 0; frame.FIR.B.DLC = 8; frame.FIR.B.FF = CAN_frame_std; frame.MsgID = 0x761; frame.data.u8[0] = 0x30; frame.data.u8[1] = 0x08; frame.data.u8[2] = 0x0A; m_can1->Write(&frame); } if(d[0] == 36) { //battery max capacity StandardMetrics.ms_v_bat_cac->SetValue(((d[3]*256 + d[4]) / 10.0)); // battery remain capacity xmi_v_bat_cac_rem->SetValue(((d[5]*256 + d[6]) / 10.0)); //max charging kW xmi_v_bat_max_input->SetValue(d[7]/4); } if(d[0] == 37) { //max outpu kW xmi_v_bat_max_output->SetValue(d[1]/4); } break; } Tamás Kovács <kommykt@gmail.com> ezt írta (időpont: 2019. júl. 25., Cs, 20:57):
hi, Now i get a Lexia for Peugeot iOn and I get some useful data on can network, such as SOH and another metrics.
if Lexia connected and I create a OVMS can log. I see the following data: 167913.526 1R11 761 2 21 1 FF FF FF FF FF 167913.536 1R11 762 10 2E 61 1 90 8F 1 79 167913.546 1R11 761 30 8 0A FF FF FF FF FF 167913.576 1R11 762 22 0A 4C 3 1 5E 1 5D 167913.596 1R11 762 23 1 2C 0 FA 0 FB 0 167913.606 1R11 762 24 0F 0F 1 5A 0 E8 A5 167913.636 1R11 762 26 64 0 0 0 0 0 0 167914.026 1R11 762 24 0F 0F 1 5A 0 E8 A5 167914.046 1R11 762 25 FE 0 0 1 78 75 7B 167914.056 1R11 762 26 64 0 0 0 0 0 0 167914.436 1R11 761 30 8 0A FF FF FF FF FF 167914.446 1R11 762 21 0 1 78 33 0D B3 4E 167914.476 1R11 762 23 1 2C 0 F9 0 FB 0 167914.496 1R11 762 24 0F 0F 1 5A 0 E8 A5 167914.876 1R11 761 2 21 1 FF FF FF FF FF 167914.876 1R11 762 10 2E 61 1 90 8F 1 79 167914.896 1R11 761 30 8 0A FF FF FF FF FF 167914.906 1R11 762 21 0 1 79 0 0D B3 4E 167914.926 1R11 762 22 0A 4C 3 1 5E 1 5D 167914.966 1R11 762 25 FE 0 0 1 79 75 7B 167914.986 1R11 762 26 64 0 0 0 0 0 0 167915.316 1R11 761 2 21 1 FF FF FF FF FF I searching on google and find the following things the Mitsubishi Outlander PHEV ( http://www.myoutlanderphev.com/forum/viewtopic.php?f=10&t=1796) use the same PID-s.
And many more useable metrics if I can resolve this communication with ECU-s
-- Üdvözlettel: Kovács Tamás
participants (1)
-
Tamás Kovács