python-OBD icon indicating copy to clipboard operation
python-OBD copied to clipboard

Help in commands

Open zeesh1979 opened this issue 5 years ago • 3 comments

First I am sorry of this question doesnt fit in the categor of reporting issues... i wanted to know if i can use this package to control stuff in car like door lock/unlock, turn on/off headlights/indicators etc etc i am currently having Honda Civic 2011 to test these on

zeesh1979 avatar Oct 05 '20 13:10 zeesh1979

default obd (on board diagnostics) doesnt support that. Often cars implement those things on other busses which sometimes can be accessed through obd communication but that's really brand specific. I know for example on the BMW this is handled on what they call the K-Bus

maybe read up here https://python-obd.readthedocs.io/en/latest/Command%20Tables/ on the supported commands.

for your project maybe look here for more info https://www.giac.org/paper/gcia/9927/hacking-bus-basic-manipulation-modern-automobile-bus-reverse-engineering/133228

studioj avatar Nov 23 '20 18:11 studioj

can you tell me how i can get values without units from this library? when i run RPM it gives me value with revolutions per minute ( i just need value). same with speed


From: studioj [email protected] Sent: Monday, November 23, 2020 9:01 PM To: brendan-w/python-OBD [email protected] Cc: zeesh1979 [email protected]; Author [email protected] Subject: Re: [brendan-w/python-OBD] Help in commands (#202)

default obd (on board diagnostics) doesnt support that. Often cars implement those things on other busses which sometimes can be accessed through obd communication but that's really brand specific. I know for example on the BMW this is handled on what they call the K-Bus

maybe read up here https://python-obd.readthedocs.io/en/latest/Command%20Tables/ on the supported commands.

for your project maybe look here for more info https://www.giac.org/paper/gcia/9927/hacking-bus-basic-manipulation-modern-automobile-bus-reverse-engineering/133228

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/brendan-w/python-OBD/issues/202#issuecomment-732328832, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE5TO4HUVLS47MBUH3FU5NTSRKPQDANCNFSM4SEVTCDA.

zeesh1979 avatar Nov 26 '20 11:11 zeesh1979

to be honest I'd replace them pseudocode value.replace("rpm","")

you can also have a look at pint which is a grrat lib for units https://pypi.org/project/Pint/

studioj avatar Dec 05 '20 12:12 studioj