Jiji
Well-Known Member
- First Name
- Rick
- Joined
- Jul 26, 2021
- Threads
- 17
- Messages
- 348
- Reaction score
- 451
- Location
- Finger Lakes
- Vehicles
- 2022 Mustang Mach-E GT 2023 Rivian R1S
- Thread starter
- #1
The last few years I find a winter project, two years ago was logging and visualizing my solar arrays (I have three inverters and I wasn't happy seeing one at time).
Last winter it was some whole house load monitoring using current transformers on each load:
This winter I decided to dig into my Mustang Mach-E. I don't have any visualizations yet but I have posted my first release of some Python code I have been using to explore the MME via the OBDII diagnostic port. The idea is I want to record high fidelity data using a state machine approach, data collected on a trip is very much different from the data needed from a charging session so by detecting what the car is doing (sleeping, charging, driving, etc) I can vary the data requested and how often it is requested.
Right now I have basic data collection looking at the battery and vehicle dynamics in motion and AC charging at home. It has been a challenge since I started with no knowledge of OBDII diagnostic port and vehicle standards like ISO-TP and UDS so I just assumed I could plug in and capture data. First setback was why couldn't I capture any CAN bus data? Turns out there is no CAN bus traffic on the OBDII connector, you have to request it so I had to get a OBDII dongle to make the buses come alive (obviously that Ford doesn't want us messing around via the OBDII port).
The code is on GitHub at MME-Record and I will update this post with news as I make some progress on the data collection, processing, and visualization. My original goal was to replace my beloved TeslaFi web app, I was never happy with what FordPass provides so lets see what I can learn before the days get longer and I can go for ice cream and BBQ again.
Last winter it was some whole house load monitoring using current transformers on each load:
This winter I decided to dig into my Mustang Mach-E. I don't have any visualizations yet but I have posted my first release of some Python code I have been using to explore the MME via the OBDII diagnostic port. The idea is I want to record high fidelity data using a state machine approach, data collected on a trip is very much different from the data needed from a charging session so by detecting what the car is doing (sleeping, charging, driving, etc) I can vary the data requested and how often it is requested.
Right now I have basic data collection looking at the battery and vehicle dynamics in motion and AC charging at home. It has been a challenge since I started with no knowledge of OBDII diagnostic port and vehicle standards like ISO-TP and UDS so I just assumed I could plug in and capture data. First setback was why couldn't I capture any CAN bus data? Turns out there is no CAN bus traffic on the OBDII connector, you have to request it so I had to get a OBDII dongle to make the buses come alive (obviously that Ford doesn't want us messing around via the OBDII port).
The code is on GitHub at MME-Record and I will update this post with news as I make some progress on the data collection, processing, and visualization. My original goal was to replace my beloved TeslaFi web app, I was never happy with what FordPass provides so lets see what I can learn before the days get longer and I can go for ice cream and BBQ again.
Last edited: