-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi i am the guys that asking you for help on youtube. #4
Comments
Why did you post a page of source code here? |
oops i'm so sorry that misunderstood you. Here is the output of the debug. DEBUG SENDING [6] b'AT E0\r' DEBUG SENDING [6] b'AT L0\r' DEBUG SENDING [6] b'AT R1\r' DEBUG SENDING [6] b'AT H0\r' DEBUG SENDING [6] b'AT S0\r' DEBUG SENDING [8] b'AT SP 6\r' DEBUG SENDING [9] b'AT IB 10\r' DEBUG SENDING [5] b'0101\r' DEBUG SENDING [5] b'0100\r' DEBUG SENDING [5] b'0120\r' DEBUG SENDING [5] b'0140\r' DEBUG SENDING [5] b'0160\r' DEBUG SENDING [5] b'0180\r' DEBUG SENDING [5] b'01A0\r' DEBUG SENDING [5] b'01C0\r' DEBUG SENDING [7] b'050100\r' invalid literal for int() with base 16: ''
|
thanh sơn thái |
For the commands that work like this: For the command that failed: Does it always respond in exactly the same way in the debug data if you do it several times? If it does, then the ELM device probably has an issue. I will think if there is a way around this. |
OK, the 050100 command, I can put in a check and resolve this issue if not enough data is returned. I will do this later today. |
I really don't know what to say, sorry for disturbing you all the time ! |
my elm device crashes on: DEBUG SENDING [5] b'0101\r' any clue? i can't connect to it using minicom or screen! advice needed! :) |
I know it's been almost 2 years since the original post, but I found these errors are still present. Maybe this will help those still experiencing the issue. The issue I found is that many of the OBD II adapters are now returning the phrase "SEARCHING..." before supplying a valid pair of numbers for the 0101 message. I fixed this by adding the following before line 396 (which is the line that tries to use the int() function) of ELM327.py: I have 2 different bluetooth OBD II units and I tried them in two different vehicles. Although I can use a terminal program (like screen) and use AT commands to access information from each of these units, neither of them will work with Python-OBD, or with PyOBDII. Both OBD II units issue the "SEARCHING..." phrase. Fortunately the DEBUG mode of PyOBDII and a few extra print commands helped find this issue. I now have two cars working with two different OBD II bluetooth adapters and PyOBDII. |
This worked wonders for me, cheers! |
this is my ELM327.py code
...
THANKS A LOT !!!
The text was updated successfully, but these errors were encountered: