You can install our site as a web app on your iOS device by utilizing the Add to Home Screen feature in Safari. Please see this thread for more details on this.
Note: This feature may not be available in some browsers.
Has anybody created a template file for TM-Spy to readout the cumulative DC fast charging kWh (i.e. SuperCharger + CHAdeMO) that your car has racked up?
Are you looking for a way to display this data on your phone (like the graphs) or just any way to get the data (like from an ELM Trace debugging file?)
I don't have the first, but I can help with the second.
Indeed the 2nd would be sufficient. But I heard from another TMC member that the new extra bytes in this 0x0302 message ID is just total charge/discharge kWh counters and nothing specifically related to DC charging kWh counter...Are you looking for a way to display this data on your phone (like the graphs) or just any way to get the data (like from an ELM Trace debugging file?)
I don't have the first, but I can help with the second.
But I heard from another TMC member that the new extra bytes in this 0x0302 message ID is just total charge/discharge kWh counters and nothing specifically related to DC charging kWh counter...
Thanks! Will definitely try to collect these TM-Spy logs and convert the bytes to interpret the data for my Model S.Here's how I get the kWh counter by charging category from 0x0302 using TM-Spy (almost certainly not the most efficient/elegant way, but it works for me.)
Go to Settings and select Trace ELM at the bottom. Also, set the app to display the default screen if necessary (like you wanted to check the cell/brick voltage balance of the pack.)
Exit the app completely and restart.
Connect to the car and let the app run for several minutes.
Quit the app. Find the trace file. Android: /Device storage/TM-Spy/DEBUG_FILES/. ---- iOS: something about Dropbox - don't ask me.
The file is named TRC_xxxxx.txt (xxxxx is date and time)
Open file in text editor (WordPad works better than Notepad for me.)
Messages are in the right-hand column. Find ones starting with 302. You will want/need more than one.
Here are a couple from my car (from the same trace file):
30227150400237B1300
30227151400A0D60600
Notice the 8th character is 0 in the first and 1 in the second. This is the flag showing which category is reported in this message. On my car there are only 2 categories (so far?): 0 is DC and 1 is AC (or fast and slow, don't know for sure)
To get the kWh count, reverse the last four bytes of the message.
My first message becomes 00137B23. My second becomes 0006D6A0.
Convert from hexadecimal to decimal and divide by 1000.
First message: 1276.707 kWh DC
Second message: 448.160 kWh AC
Look through the trace file for a third (or more) categories. Sound off if you find one.
OK, something doesn't look right to me. The charged kWh I calculate from these numbers and your decoding algorithm are way (way) too low for a 57k miles car:Here's how I get the kWh counter by charging category from 0x0302 using TM-Spy (almost certainly not the most efficient/elegant way, but it works for me.)
Go to Settings and select Trace ELM at the bottom. Also, set the app to display the default screen if necessary (like you wanted to check the cell/brick voltage balance of the pack.)
Exit the app completely and restart.
Connect to the car and let the app run for several minutes.
Quit the app. Find the trace file. Android: /Device storage/TM-Spy/DEBUG_FILES/. ---- iOS: something about Dropbox - don't ask me.
The file is named TRC_xxxxx.txt (xxxxx is date and time)
Open file in text editor (WordPad works better than Notepad for me.)
Messages are in the right-hand column. Find ones starting with 302. You will want/need more than one.
Here are a couple from my car (from the same trace file):
30227150400237B1300
30227151400A0D60600
Notice the 8th character is 0 in the first and 1 in the second. This is the flag showing which category is reported in this message. On my car there are only 2 categories (so far?): 0 is DC and 1 is AC (or fast and slow, don't know for sure)
To get the kWh count, reverse the last four bytes of the message.
My first message becomes 00137B23. My second becomes 0006D6A0.
Convert from hexadecimal to decimal and divide by 1000.
First message: 1276.707 kWh DC
Second message: 448.160 kWh AC
Look through the trace file for a third (or more) categories. Sound off if you find one.
Well, I will withhold my skepticism for now! I was accidentally parsing an ELM trace file from 15 months ago for the above data.OK, something doesn't look right to me. The charged kWh I calculate from these numbers and your decoding algorithm are way (way) too low for a 57k miles car:
3025B470D004F680000 ("26.703 kWh")
3025C4B1D006DAA0300 ("240.237 kWh")
Anyone want to sell me $20 worth of pins? Or know where I can order a smaller quantity than $300 worth?There are pins (173630-6) that presumably fit 22 to 24 gauge wire:
Mouser Electronics - Be back soon...
but there are also pins for larger wire.
I have an extra ready made cable I could sell you, I bought it but didn't end up using it, PM me if interested.Anyone want to sell me $20 worth of pins? Or know where I can order a smaller quantity than $300 worth?
Thanks but I am really looking for those pins. I don't want an extra cable to come loose.I have an extra ready made cable I could sell you,..
Try octopart:
173630-6 — Octopart
Anyone want to sell me $20 worth of pins? Or know where I can order a smaller quantity than $300 worth?
Yep, thanks. I was just timid about pushing too hard on the cubby. It is working great now.Same location on Model X.
Congratulation for your video and particularly for your adapter shown at time 1:54. It looks quite more clever than all the other adapters made with a cable and two connectors.Here is a video I made yesterday about using TM-Spy.