today I got some interesting info from Hyundai service guys. I visited because I have problems with my right wing mirror and asked them the following: is there an option for coming over with an OBD2 logger and to try to record what commands need to be sent to be able to open and close windows, lock/unlock the car and most important, set the AC unit. Surprisingly, after I told the service guy about AutoPi and showing him the interface (not much to see in my case, only GPS location, 12 V battery chart and HV battery state of charge chart) he was actually interested. At least it looked like it
I told him I’d be willing to pay them for an hour or 2 so I/we could play with their tablet and record the data flowing through OBD2.
My question is the following: AFAIK the Ioniq needs to get some data and it will reply. It doesn’t transmit anything unless asked to. This is a good thing in this case I think
What would be the best way to log the data so I could later know what is what? I’m not really good with scripting.
My plan was to go there with my laptop and connect directly to AutoPi to execute commands.
Can someone give me a tip what to look for, where to save results and so? I know I’ll put the jumper in to keep RPI ON.
Another question (I’ll also try that this evening), can I monitor OBD2 traffic by just plugging in another CAN device (ie. Sparkfun OBD2 UART adapter)? If so, then I can monitor what Hyundai’s tablet PC sends to car and see replies back
Yes, I already have a 3-way connector in my car so GDS + AutoPi and probably SparkFun’s OBD2 adapter that will be plugged into my laptop at the time.
I might actually do the logging via a terminal app (on laptop) as I hope that I’ll be able to see all the data flowing. I’ll try to check this evening and see what I get - if anything. I’ll connect my Torque Pro + Konnwei KW902 Bluetooth and my latop at the same time. If I see messages that are sent from Konnwei and + replies back from the car, I’ll be very happy.
Apparently it’s possible to honk horn, control windows, lock/unlock the car, enable/disable hazard blinkers, control A/C, control mirrors, radio and even lights and switch gears.
Short update. I tried connecting 3 devices at same time to OBD2: AutoPi, Konnwei KW902 with my phone’s Torque Pro and Sparkfun’s OBD2 adapter. Once I connected the third device, things started to get a bit wacky (phone reporting 1100+ A battery current, all 4 drive gears selected (D, R, N and P were active in Torque) and similar stuff.
If only 2 devices were connected, it worked with no hiccups.
I have noticed one thing but need to research more into it. I can’t seem to be able to properly use the recorded data. Is there an option to download it as raw data? Probably only directly from dongle by WiFi/SSH?
Recording shows either 19 messages or 109 (2 recordings). On 19 messages one I only see 10 messages but I couldn’t find the ones I was sending to the car in between them. The one with 109 recordings, I can’t even see/filter any data out for some reason.
Sooo umm did the latest update actually mess up the obd connection?
I can’t get any reading back from the device, when trying to start logging, I get message that it was logged successfully but there is no trace of a log anywhere.
That’s a real shame, I was planning to record data with Hyundai’s GDS tool connected to the car
Can’t even get any readings directly from console either. Bummer
Hi Peter,
I brought the AutoPi inside and plugged it into my lab power supply. I did the update, checked if the “brown-outs” work (if that’s the term?) and they do. So I put the device back into my car.
Sure enough, I get back my State of Charge data. Awesome
Thank you!
Also on the second note, the Hyundai’s GDS is pretty much useless. It can’t do anything if car isn’t powered on (at least in first stage running only from 12 V battery). Shame
I guess someone will need to figure out how to take Ioniq’s radio out so we can connect to other CAN busses.