Does anyone know a way to connect a car odb2 port directly to home assisant without the torque pro app?

@thegreekgeek@midwest.social
link
fedilink
English
23
edit-2
7M

Looks like someone on reddit was asking a few years ago, hopefully this points you in the right direction.

EDIT: Just got to the bottom of the thread, found THIS.

themeatbridge
link
fedilink
English
117M

I love that this exists, and thank you for introducing me to the site as well.

No problem! This is hella cool, I kinda wanna try one for my car too.

@batvin123@reddthat.com
creator
link
fedilink
English
67M

i want to log my car’s data over time.

@IsoKiero@sopuli.xyz
link
fedilink
English
27M

I don’t know about homeassistant, but there’s plenty of open source software to interact with odb2 at least for linux. With some tinkering it should be possible to have bluetooth enabled odb2 adapter where you can dump even raw data out and feed it to some other system of your choise, homeassistant included.

If you want live data from the drive itself you of course need to have some kind of recording device with you (raspberry pi comes to mind) but if you’re happy just to log whatever is available when parking the car you could set up a computer with bluetooth nearby the parking spot on your yard and pull data from that. It may require that you keep the car powered on for a while after arrival to keep bus active, but some cars give at least some data via odb even when without the key being in ignition lock.

I built a data logger a few years back. The data you likely want is on the CAN BUS network. You’ll need a CAN BUS hat for a pi or a pi with it baked in. There are other ways but you will likely end up realizing a pi or similar is best.

You’ll need to log the data while away from home and then sync the data when WiFi is available. Requiring the pi to stay powered after the car shuts off. Easy to do with some relays.

Depending on what data you are looking for it shouldn’t be too much work to get going on logging.

If you’re open to Android, there is https://fr3ts0n.github.io/AndrOBD/

There is also an Matt plugin for it. That’d let you get it into home assistant.

I am disappointed that this does not appear to be a post about building a server into your car.

I chose to set up grafana, mqtt, etc for an RV instead of home assistant. Little more lightweight for the raspberry pi 3 I used. Pulling together solar info, so we could see how long the AC would keep running on the road

back in the days of micro atx board i had a music server in my car to replace the radio that came with it.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 126 users / day
  • 421 users / week
  • 1.16K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.68K Posts
  • 74.2K Comments
  • Modlog