brendan-w / python-OBD

OBD-II serial module for reading engine data
GNU General Public License v2.0
1.02k stars 360 forks source link

ATH1 did not return 'OK', or echoing is still ON ELM327.py #227

Closed Diegofdez1 closed 2 years ago

Diegofdez1 commented 2 years ago

I was getting the following error:

elm327-bug

And I have solved it by adding delays in the following lines of elm327.py:

157: r = self.send(b"ATE0", delay=1) 163: r = self.send(b"ATH1", delay=1) 169: r = self.__send(b"ATL0", delay=1)

ddowling commented 2 years ago

I think this is the same issue that I reported in https://github.com/brendan-w/python-OBD/issues/226. If you want try my fix and let me know how it goes.