Sponsored

Does Rivian have an OBD-II (OBD 2) Port?

sillygoose

Active Member
First Name
Rick
Joined
May 22, 2021
Threads
3
Messages
44
Reaction score
35
Location
Finger Lakes, NY
Vehicles
2023 R1S, 2022 Mustang Mach-E GT
I have some iPhone software that could use access to the vehicle state: Mustang Mach-E trip/charge app

I could do trips manually with a start/end button as the iPhone provides all the trip data but the energy use and charging data I need to get from the R1.
Sponsored

 

Supratachophobia

Well-Known Member
Joined
Apr 8, 2023
Threads
9
Messages
1,783
Reaction score
2,126
Location
Ohio
Vehicles
S
Clubs
 
I believe it is required by law. But as such what is on it will be limited. The bulk of the meaty data will be carried on internal busses (CAN?, Ethernet?...) not accessible to us.
Why? I can decode canbus info with an odbii module on my Tesla.
 

jwardell

Well-Known Member
First Name
Josh
Joined
Sep 14, 2021
Threads
1
Messages
221
Reaction score
337
Location
Boston
Website
www.jwardell.com
Vehicles
R1T
Occupation
Electrical Engineer
Clubs
 
The BMW cables work, including the cheap one from amazon. But you can't do much without rivian authentication.
 

kallisti5

Well-Known Member
First Name
Alex
Joined
Apr 28, 2023
Threads
14
Messages
147
Reaction score
250
Location
Austin, TX
Vehicles
2022 R1T
The BMW cables work, including the cheap one from amazon. But you can't do much without rivian authentication.
Yeah, this is what I suspect. I'm mostly attempting to remove unknowns with what's available. I'd hate to spend 6 months poking at Rivian's authentication to discover they're expecting 400 ohm vs 500 ohm resistor or something which quietly breaks the DoIP connection.
 

Gdorff

Well-Known Member
First Name
Gordon
Joined
Aug 17, 2021
Threads
0
Messages
68
Reaction score
116
Location
Roseville, California
Vehicles
2018 Audi RS5
Occupation
Business owner / CIO
Okay so I received the Rivian branded obd to Ethernet port today.

Rivian R1T R1S Does Rivian have an OBD-II (OBD 2) Port? obd2_connector


Here's is my finding so far.

Obd pin 6 / Ethernet pin 1
Obd pin 14 / Ethernet pin 2
Obd pin 13 / Ethernet pin 3
Obd pin 12 / Ethernet pin 6

Obd pins 4-5 / Ethernet 8

Ethernet pins 4,5 and 7 appear open and do not appear to pass through to any pins on the obd side.

I also didn't measure any noticeable resistance on any of the pins.

The cable that arrived from Rivian is not serviceable like the photo on the website. It is a solid molded cable.

I haven't had a chance yet to hook this up to a laptop, but when I do I'll also Wireshark the connections to see if I can find any details.

I'll also see what other details I can find out..


Rivian R1T R1S Does Rivian have an OBD-II (OBD 2) Port? PXL_20230508_200402309
Rivian R1T R1S Does Rivian have an OBD-II (OBD 2) Port? PXL_20230508_200351765
Rivian R1T R1S Does Rivian have an OBD-II (OBD 2) Port? PXL_20230508_200420431
Rivian R1T R1S Does Rivian have an OBD-II (OBD 2) Port? PXL_20230508_200425114
 

Sponsored

Flexia

Active Member
First Name
Philip
Joined
Sep 28, 2021
Threads
3
Messages
39
Reaction score
41
Location
Ohio
Vehicles
Ford F150
Have there been any progress with the network port?
 

Gdorff

Well-Known Member
First Name
Gordon
Joined
Aug 17, 2021
Threads
0
Messages
68
Reaction score
116
Location
Roseville, California
Vehicles
2018 Audi RS5
Occupation
Business owner / CIO
Have there been any progress with the network port?
I can say I have connected the cable to my laptop and ran a Wireshark and could not see the Rivian requesting or sending data. I can say that it does establish a network link.

I also tried placing a router in the vehicle to act as a quick and dirty DHCP server and the truck didn't request any IP information.

I'm not exactly sure what kind of data would be passed/requested from the truck at this point.

I'm sure they're using some semi standard methods of doing this. Just now one in familiar with unfortunately.

Anyone else have anything they'd like me to try?
 

CommodoreAmiga

Well-Known Member
Joined
Dec 30, 2020
Threads
39
Messages
4,104
Reaction score
7,729
Location
INACTIVE
Vehicles
INACTIVE
I can say I have connected the cable to my laptop and ran a Wireshark and could not see the Rivian requesting or sending data. I can say that it does establish a network link.

I also tried placing a router in the vehicle to act as a quick and dirty DHCP server and the truck didn't request any IP information.

I'm not exactly sure what kind of data would be passed/requested from the truck at this point.

I'm sure they're using some semi standard methods of doing this. Just now one in familiar with unfortunately.

Anyone else have anything they'd like me to try?
Seems feasible they may rely on static IPs.
 

Gdorff

Well-Known Member
First Name
Gordon
Joined
Aug 17, 2021
Threads
0
Messages
68
Reaction score
116
Location
Roseville, California
Vehicles
2018 Audi RS5
Occupation
Business owner / CIO
Seems feasible they may rely on static IPs.
I agree it would seem like that would be the case, but Wireshark should have seen traffic from that devices if it sent any network packets.

I tried a few tools to scan for tcp or udp traffic and didn't see the truck talking at all.

Now it could just be very quiet and basically only listening or talking when it's told to..

Could be it uses like a magic packet to wakeup the truck then communicate over the statically set network..

I'm open to trying any suggestions anyone may have..
 

sillygoose

Active Member
First Name
Rick
Joined
May 22, 2021
Threads
3
Messages
44
Reaction score
35
Location
Finger Lakes, NY
Vehicles
2023 R1S, 2022 Mustang Mach-E GT
When I first sniffed the two CAN buses on the Mach-E OBDII connector I was surprised to see no traffic (I was new to this and thought it would be like an old-school CAN bus and I was doing something wrong).

In the Mach-E, the OBDII connector attaches to a gateway module so there is no traffic until you request something UDS service 0x22 (Read Data by Identifier). Then you can query the various modules for their data and the gateway module figures out which of the many CAN or ethernet buses it needs to use to talk to the module.

Perhaps the Rivian is using UDS over Ethernet (or something similar) and you would need to make a request but without being able to watch the Rivian diagnostic software I have no idea what it might look like.
 

Sponsored

kallisti5

Well-Known Member
First Name
Alex
Joined
Apr 28, 2023
Threads
14
Messages
147
Reaction score
250
Location
Austin, TX
Vehicles
2022 R1T
@Gdorff interesting, so there's zero resistance between ODB pins 8 / 16 and they're floating?
 

Westhefarmer

New Member
First Name
Wes
Joined
Aug 16, 2023
Threads
0
Messages
1
Reaction score
1
Location
Vancouver BC
Vehicles
R1S and eGolf
Occupation
Film Technician
You all are much smarter than me!

I was part of a study in Canada that sent us OBD2 dongles that logged our trip data including ambient temp, idle time, accessories vs drive unit usage, starting SOC vs ending SOC, distance travelled, and average speed. I loved it so much as it gave us a downloadable spreadsheet of the data! This was for my eGolf which didn’t provide you a SOC% so it was really useful to find out actual data.

I would love to have something similar for the Rivian… good luck on your OBD2 investigating!
 

zefram47

Well-Known Member
First Name
Aaron
Joined
Feb 6, 2022
Threads
18
Messages
2,755
Reaction score
4,522
Location
Denver, CO
Vehicles
Rivian R1T, Alfa Romeo 4C
Occupation
Software Engineer
You all are much smarter than me!

I was part of a study in Canada that sent us OBD2 dongles that logged our trip data including ambient temp, idle time, accessories vs drive unit usage, starting SOC vs ending SOC, distance travelled, and average speed. I loved it so much as it gave us a downloadable spreadsheet of the data! This was for my eGolf which didn’t provide you a SOC% so it was really useful to find out actual data.

I would love to have something similar for the Rivian… good luck on your OBD2 investigating!
Give ElectraFi a try... It uses the core code from TeslaFi and tracks all drives and charging sessions, including idle and sleep time / phantom drain. Other than the desire to run it in my own environment, I'm enjoying access to all the data. I'm still on the trial version, but will likely wind up paying for it.

https://electrafi.com/
 

kallisti5

Well-Known Member
First Name
Alex
Joined
Apr 28, 2023
Threads
14
Messages
147
Reaction score
250
Location
Austin, TX
Vehicles
2022 R1T
No progress here. I tried to sell some diagnostic adapters I built at cost to get more people access on etsy, but Rivian sent me a cease and desist :facepalm: I guess putting "Rivian R1 vehicles" on them was enough for their legal team.
Sponsored

 
 








Top