ATH1 did not return 'OK', or echoing is still ON
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.