dalathegreat / Battery-Emulator

This software enables EV battery packs to be used for stationary storage in combination with solar inverters.
GNU General Public License v3.0
941 stars 129 forks source link

KIA EV6 / E-GMP platform integration #387

Open pazdzierzz opened 1 month ago

pazdzierzz commented 1 month ago

Thanks to a discord user Sam79 we have can logs from KIA EV6 that we can work on.

Full log of G Can and M Can from Car: Kia_EV6GT_G-CAN_M-CAN.zip

This file is used to test activate/deactivate the relays, it works fine. Kia_UDS_contactors (Contactor Test works fine).csv

User JoSee68 sent CCS logs too:

EV6 decoded_ev6_data_full.zip

Ioniq5 IoniqMF4.zip

https://github.com/dalathegreat/Battery-Emulator/wiki/Kia-EV6-battery

Lisanderl commented 1 month ago

Hello! I have an Ioniq 5 77 kw battery. I tried connecting it yesterday by this manual https://github.com/dalathegreat/Battery-Emulator/wiki/Kia-EV6-battery, but it didn't work and shows a CAN communication error. As I understand, integration is still in progress. Can I help with that?

Lisanderl commented 1 month ago

Hello! I have an Ioniq 5 77 kw battery. I tried connecting it yesterday by this manual https://github.com/dalathegreat/Battery-Emulator/wiki/Kia-EV6-battery, but it didn't work and shows a CAN communication error. As I understand, integration is still in progress. Can I help with that?

I probably had some issues with wires, but now it works and shows data from the battery. Can I try to connect it to some inverter ?

pazdzierzz commented 1 month ago

I probably had some issues with wires, but now it works and shows data from the battery. Can I try to connect it to some inverter ?

Sure! It'd be nice if you put some screenshots from webserver

JorgenSeemann commented 1 month ago

Hello! I have an Ioniq 5 77 kw battery. I tried connecting it yesterday by this manual https://github.com/dalathegreat/Battery-Emulator/wiki/Kia-EV6-battery, but it didn't work and shows a CAN communication error. As I understand, integration is still in progress. Can I help with that?

I probably had some issues with wires, but now it works and shows data from the battery. Can I try to connect it to some inverter ?

You can, but note that SOC doesn't seems to be updated with current setup. Some modification will allow you to close contractors manually (so rest of data gets updated)

JorgenSeemann commented 1 month ago

Thanks to a discord user Sam79 we have can logs from KIA EV6 that we can work on.

Full log of G Can and M Can from Car: Kia_EV6GT_G-CAN_M-CAN.zip

This file is used to test activate/deactivate the relays, it works fine. Kia_UDS_contactors (Contactor Test works fine).csv

User JoSee68 sent CCS logs too:

EV6 decoded_ev6_data_full.zip

Ioniq5 IoniqMF4.zip

https://github.com/dalathegreat/Battery-Emulator/wiki/Kia-EV6-battery

Would you have any chance to narrow down the commands used for de/activating contractors ?

Lisanderl commented 1 month ago

I probably had some issues with wires, but now it works and shows data from the battery. Can I try to connect it to some inverter ?

Sure! It'd be nice if you put some screenshots from webserver

image image image
Lisanderl commented 2 weeks ago

@pazdzierzz Hi! I found that the can-fd adapter requires some radiator cause it becomes pretty hot and fries itself. I was trying to figure out why I got CAN FD init errors after a few minutes of usage. I have 3 broken boards now. Looks like it also damaged a BMS unit, because now, I can read any can fd data even with the new can-fd adapter.

StarkJohan commented 2 weeks ago

@pazdzierzz Hi! I found that the can-fd adapter requires some radiator cause it becomes pretty hot and fries itself. I was trying to figure out why I got CAN FD init errors after a few minutes of usage. I have 3 broken boards now. Looks like it also damaged a BMS unit, because now, I can read any can fd data even with the new can-fd adapter.

That will happen if you supply 5V on to the 3V3 input, ask me how I know... But otherwise the controller shouldn't run too hot. It is indeed a bit warmer than other controllers (normal CAN controllers that I've compared with). My MCP2518FD has been running a few days and is currently at 17C above ambient temperature (44C) and it's specified temperature range is three times that.