Hi all,
If you don’t mind, I’d like to bounce some ideas off y’all. If this has already been done and made, be kind and point a fella in the right direction, thanks.
I’m sure something like this has been discussed before and I’ve seen various integrations for specific modern cars. Yet I have a 20 year old GM vehicle which I love (don’t judge :D) and I would love even more to smartify it.
So, specifically I am looking to add the following capabilities preferably with some kind of all-in=one custom device, which can be wired into the vehicle.
- Track the vehicle in real-time (like one can do with phones in the HA map)
- Measure a few ODB2 parameters (speed, rpm fuel, battery volts, etc)
- Activate horn, locks and other peripherals with relays
- Ability to read states like current gear (not sure if that is available via ODB2?)
I’ve seen various partial solutions, like I own a bluetooth ODB2 adaptor and the Torque app for android and have studied the ability for the Torque app to upload/stream data to HA over a data connection,
Trying to approach this from a K.I.S.S. perspective, I am leaning towards some combo of a spare mobile with a data plan, mounted somewhere in the vehicle, running the HA app, as the phone in parallel could run Torque, picking up the measurements I want from the Bluetooth ODB2 adapter.
A phone based setup would obviously see to power management, comms, gps and the Torque part, albeit there are some obvious ‘plotholes’
The last piece missing, is somehow hooking up that phone to a GPIO module (like an ESP or Arduino) to be able to read inputs and write outputs, and somehow transmogriffing those into binary_sensors and switches in HA (Honestly this is the part I haven’t thought through)
If you have any good ideas or suggestions how one might accomplish this, or hey perhaps there is an even simpler method or some 30 dollar alibaba gadget which can get the job done, either way - I’m all ears and open to suggestions!