Data Logging - What kind of detail can we get out of these ?

Trekkie

Well-Known Member
First Name
Tom
Joined
Jun 3, 2021
Messages
189
Reaction score
288
Location
Wake Forest, NC
First Name
Tom
Vehicles
Tesla Model X, VW ID.4 Pro S RWD
Occupation
IT Nerd
One thing I've enjoyed about my Tesla X is the amount of data I can get out of it and log. It lets me build a picture of the few years of using it, and there are websites and self hosted tools you can put that the car's data is dumped into.

I can see where it's driven too, the AC Charging numbers, DC charging, etc. An example of a grafana dash of my X right this second is:

1632323067468.png


This is from a grafana dashboard showing all the dat of my car. I can see battery level, charging info, software levels, range left, and a 24 hour window of what 'state' tis in (yellow is charging, purple driving, blue is idle and green is 'asleep')

My Chevy Bolt EV and Fiat 500E (EV) didn't have this info. Our new ID.4 isn't here yet (replacing the Fiat 500E) but I'm curious has there been any info on if we can log this info from the cellular connection the vehicles have.
Advertisement

 

sub

Well-Known Member
Joined
Jul 23, 2021
Messages
83
Reaction score
145
Location
USA
Vehicles
Tesla Model 3, Chevy Suburban
The developers of those apps are hacking tesla's datastream. The 3rd party app is pretending to be the official Tesla app and then logging the data that Tesla thinks it is sending the official app.

Tesla knows this is happening and and has chosen not to put a stop to it (by threatening developers with lawsuit or by changing the protocol). But this is not something that Tesla is actively enabling.

I would not be surprised if Rivian's datastream was equally easy to hack into. But we have no way of knowing if Rivian's lawyers will be as tolerant of this sort of activity as Tesla's have been.
 

CommodoreAmiga

Well-Known Member
Joined
Dec 30, 2020
Messages
1,518
Reaction score
2,830
Location
USA
Vehicles
N/A
I'm conflicted. Part of me likes to have "access" and I can appreciate the potential tools people could make... But I also want security.

Part of me hopes Rivian uses one-way cryptography (public/private key pair) for their vehicle-cloud communication.
 

Craigins

Well-Known Member
Joined
Jun 10, 2021
Messages
153
Reaction score
240
Location
Chicago Suburbs
Vehicles
RAM Rebel 1500, Prius c 3
Occupation
Software engineer
I'm conflicted. Part of me likes to have "access" and I can appreciate the potential tools people could make... But I also want security.

Part of me hopes Rivian uses one-way cryptography (public/private key pair) for their vehicle-cloud communication.
I would hope they are just calling the APIs that the tesla app already calls. Then storing data and doing additional visualization. Basically impossible to prevent this.

If they are actually intercepting vehicle to tesla information, that'd be a big security flaw.

As you said, it should be encrypted, hopefully using hardware that can provide encryption and mutual authentication.
 
OP
OP
Trekkie

Trekkie

Well-Known Member
First Name
Tom
Joined
Jun 3, 2021
Messages
189
Reaction score
288
Location
Wake Forest, NC
First Name
Tom
Vehicles
Tesla Model X, VW ID.4 Pro S RWD
Occupation
IT Nerd
I'm conflicted. Part of me likes to have "access" and I can appreciate the potential tools people could make... But I also want security.

Part of me hopes Rivian uses one-way cryptography (public/private key pair) for their vehicle-cloud communication.
You do have to log in with your tesla identity or provide the API key that you can easily generate, and all traffic is TLS 1.2 encrypted between endpoints. It's not like this is out there floating for anyone to see.
 

jwardell

Member
First Name
Josh
Joined
Sep 14, 2021
Messages
14
Reaction score
20
Location
Boston
Website
www.jwardell.com
First Name
Josh
Vehicles
Tesla Model 3
Occupation
Electrical Engineer
There are two levels of data logging:

First is API based, simply grabbing data published remotely, with about 100 pieces of data. This isn't hacking, but you granting access to a published API. Teslafi is spectacular at this and lets you incredibly in depth long term data. I can only hope Rivian allows the same for 3rd party services and apps. Great for seeing data on trips, charges, lifetime battery statistics, lifetime driving map, daily/weekly/monthly stats etc.

Second is direct onboard access to CAN or other network communications between all the devices, computers, motors in the vehicle. This is a whole new level, thousands and thousands of detailed signals, some 100x a second. Spectacular for figuring out how things tick, decisions and logic in the software and tuning, precise performance information, and detailed racing data. Popular using OBD dongles and phone apps, or full speed CAN loggers and offline analysis on a computer.

I've buried my nose deeply into these for years, and I really hope to do the same for Rivian as well. EVs are disney world for data nerds.
 

pc500

Well-Known Member
First Name
Paul
Joined
Jun 22, 2021
Messages
62
Reaction score
39
Location
seattle
First Name
Paul
Vehicles
dodge ram
Tesla has no public API. Someone reverse engineered it. Someone will probably do the same for Rivian.
 
Advertisement

 
Advertisement
Top