49

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

all 10 comments
sorted by: hot top controversial new old
[-] HumanPerson@sh.itjust.works 71 points 8 months ago

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

[-] superweeniehutjrs@lemmy.world 14 points 8 months ago

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

[-] ErwinLottemann@feddit.de 3 points 8 months ago

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

[-] thegreekgeek@midwest.social 23 points 8 months ago* (last edited 8 months ago)

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@lemmy.world 11 points 8 months ago

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

[-] thegreekgeek@midwest.social 4 points 8 months ago

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

[-] batvin123@reddthat.com 6 points 8 months ago

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

[-] GregoryTheGreat@programming.dev 4 points 8 months ago

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.

[-] IsoKiero@sopuli.xyz 2 points 8 months ago

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.

this post was submitted on 29 Mar 2024
49 points (94.5% liked)

Selfhosted

40406 readers
351 users here now

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!

founded 2 years ago
MODERATORS