Skip to content

ATH1 did not return 'OK', or echoing is still ON #277

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

Open
sjsyed opened this issue May 4, 2024 · 0 comments
Open

ATH1 did not return 'OK', or echoing is still ON #277

sjsyed opened this issue May 4, 2024 · 0 comments

Comments

@sjsyed
Copy link

sjsyed commented May 4, 2024

I recently bought an OBD2 ELM327 V1.5 USB device.

When I connected it with my windows laptop, it works fine. I used some OBD scanner softwares and it displayed the RPM values and DTC values without any issues.

But, when I try it with python's obd library in ubuntu, I get the following error.
"ATH1 did not return 'OK', or echoing is still ON"

Following is my Debug log:
[obd.obd] Explicit port defined
[obd.elm327] Initializing ELM327: PORT=/dev/ttyUSB2 BAUD=9600 PROTOCOL=auto
[obd.elm327] write: b'ATZ\r'
[obd.elm327] wait: 1 seconds
[obd.elm327] Failed to read port
[obd.elm327] read: b'ATZ\r\r\nOK\r\n'
[obd.elm327] write: b'ATE0\r'
[obd.elm327] wait: 20 seconds
[obd.elm327] Failed to read port
[obd.elm327] read: b'ATE0\r\r\nOK\r\n'
[obd.elm327] write: b'ATH1\r'
[obd.elm327] wait: 20 seconds
[obd.elm327] Failed to read port
[obd.elm327] read: b'\r\nERROR\r\n'
[obd.elm327] closing port
[obd.elm327] write: b'ATZ\r'
[obd.elm327] ATH1 did not return 'OK', or echoing is still ON
[obd.obd] Closing connection
[obd.obd] Cannot load commands: No connection to car
[obd.obd] ===================================================================
[obd.obd] Query failed, no connection available
[obd.obd] Query failed, no connection available

I also added delay to the elm.py file. I still face this issue when accessing data using python.

I really need this to get resolved ASAP.

Thank you for any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant