JejuSoul / OBD-PIDs-for-HKMC-EVs

Setting up Torque Pro to show OBD data on Hyundai / Kia Electric Vehicles
236 stars 142 forks source link

First stab at Kona EV #23

Closed tibcoplord closed 5 years ago

tibcoplord commented 5 years ago

Heavily copied from Ioniq. Only lightly tested on my Kona so far, I'm sure there is work to be done here.

Note that I've not actually tried a pull request before, so hopefully I've got this right !

migle commented 5 years ago

Congratulations! It works, doesn't it?

tibcoplord commented 5 years ago

Yea, seems to work. The only issue I noticed was that Batt Temp05 shows 0 ... I think I remember someone else mentioning this.

One thing I would love to get working is sending commands - especially turn on pre-heading, enable auto-hold and some others. I'll be using autopi eventually ( https://www.autopi.io/ ) and I would like to send commands on startup and when plugged into charger. I've no idea how to even start on this, listening on the bus with autopi yeilds nothing.

migle commented 5 years ago

Yes, it's the same with the Ioniq. You can also use the ELM-327 to listen on the bus (just not with Torque Pro), and yes, there is nothing. To get data, you must make a request. Be sure to check the other "Issues" thread, Issue #7 .

asetyde commented 5 years ago

Ok beautiful news ! Now I must put on mobile device to monitor recharging .. therefore I think Freematics , it's also packed

asetyde commented 5 years ago

https://freematics.com/pages/products/freematics-one-plus/

asetyde commented 5 years ago

I can use it ? (before pay 149 $ must I understand it )

asetyde commented 5 years ago

@plord12 I think is not possible do commands with obd but only hear

migle commented 5 years ago

@asetyde it depends on what the ECUs in the car do with the OBD packets you send them. They could be commands, in theory. In these cars, you can't hear anything without sending requests.

asetyde commented 5 years ago

Ok but preheat functions etc are not possible if not design, it's miracle if with car closed can I see status of battery ... this is my real goal ! But I must understand if can be used this adapter I think yes but I want a opinion of plord .. you not have idea if we can do this how many koners are enthusiast !

migle commented 5 years ago

it's miracle if with car closed can I see status of battery ...

If it is similar to the Ioniq, then that is only possible if the car is charging. If the car is not ON and the car is not charging, then there is not communication via the OBD port.

asetyde commented 5 years ago

yes only when charging is goal

tibcoplord commented 5 years ago

it's miracle if with car closed can I see status of battery ...

If it is similar to the Ioniq, then that is only possible if the car is charging. If the car is not ON and the car is not charging, then there is not communication via the OBD port.

Yes I tried this - with my Kona locked but charging, I can read the OBD info ( I tried with autopi BTW ).

asetyde commented 5 years ago

you can read status of charging ? can send a shot of data collected

tibcoplord commented 5 years ago

you can read status of charging ? can send a shot of data collected

I only tried with autopi (https://www.autopi.io/) and using the command line, but I saw -

peter26@Kona $ obd.query test mode=220 pid=101 force=true _type: test _stamp: '2018-12-06T09:03:39.723470' value: |- 7EA037F2212 7EB037F2212 7EC103E620101FFF7E7 7EC21FFBC18F4465003 7EC22FF870FE60B0A0A 7EC230A0A0A00000ACF 7EC2453CF4A00009100 7EC250015BF000012FD 7EC2600000845000006 7EC27D40006035E0901 7EC28970000000003E8 7ED037F2212

Viewing via the autopi cloud isn't yet ready :-(

asetyde commented 5 years ago

Ok but I think is better use Freematics, is more simple with arduinoESP32 core , I can use our lab to implement and do simple MQTT system to notify status of charge, therefore I must order .. when I ve time to develop it ! Where are you Plord ?