Closed zaneclaes closed 4 years ago
Can you diff the working output and the non working one?
@alistair23 I'm not quite sure what you mean. To reiterate: there is only one ELM327 device. The pyobd-pi
repository works with that device, but the pythod-obd
(this) repository does not (nor has it ever). Are you asking for some kind of logs from the pyobd-pi
repository? I'm not sure what I'm supposed to be diffing.
You have one setup that does work pyobd-pi
and one that doesn't pythond-obd
. You should run both (not at the same time) and save the debug logs. Then you can compare the logs to see what is different. There must be some difference, if you can find out the difference then you can figure out what is wrong.
What I don't understand is what "logs" you mean, per my question: "are you asking for some kind of logs from the pyodb-pi
repository?" Perhaps you're asking for some sort of system logs..?
I achieved the above logs by enabling the pythod-obd
DEBUG logs, which appear to be specific to this implementation (per the README: obd.logger.setLevel(obd.logging.DEBUG)
, which appears namespaced to this package). I see no such corresponding documentation for outputting debug logs in the pyodb-pi
repository, nor am I clear if those are the specific logs you are suggesting to diff.
Ah, so pyobd-pi
doesn't have debug log like python-obd
does?
In which case that makes things harder. The next step would be to look at the failing code and compare that to the same part in pyobd-pi
.
Also doesn't work for me, on Arch linux mounted the Bluetooth ELM327 to /dev/rfcomm0 . Even with the fixes above.
I finally got a chance to look in to this today. I have a fix open here: https://github.com/brendan-w/python-OBD/pull/162 // cc @alistair23 @ajalberd
Confirmed w/ latest.
I am using a new Raspberry Pi 4B with a bluetooth ELM327 dongle. I have been able to successfully use other python obd packages, such as
pyobd-pi
(from which this repo purports to be forked). However, when I try to usepython-obd
I encounter the following error (DEBUG turned on, fwiw). I have also tried usingfast=False, timeout=30
per the README, with the same results.