Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Headlight status with OBD-II

Tags:

obd-ii

I'm developing an Android app that uses an ELM327 device for OBD-II communications, and I'd like to be able to get the status of the headlights. Specifically, I would like to know if the driver has turned them on or not, but it would also be moderately useful to be able to tell what lights are on (mains vs brights vs DRLs and so on) and whether or not any of the bulbs are out. I was under the impression that there were ways of figuring out whether the headlights were on over OBD-II, but I can't find anything to confirm that, and the API I'm using (the pires obd-java-api on Github) doesn't have anything in it either. Can I actually do any of this?

like image 340
wlyles Avatar asked Nov 29 '25 16:11

wlyles


1 Answers

All the standardized OBD PIDs are within ISO 15031-5 standard. Some part of it can be found in Wikipedia and here as well. All the other PIDs are vehicle specific PIDs which you cannot generalized (or even find) them.

The PIDs that you are searching for might not be standard or supported by every vehicle.

like image 184
mohsen_og Avatar answered Dec 02 '25 07:12

mohsen_og



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!