brendan-w / python-OBD

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

Is Mode 01 Command 5E FUEL_RATE supported and tested? #176

Closed wallem89 closed 4 years ago

wallem89 commented 4 years ago

When using this awesome library I can read a lot of signals but if I request the fuel rate (Mode 01 Command 5E FUEL_RATE) there is no (valid) response. If I request all supported commands I get a list of around 40 supported commands for mode 01 but FUEL_RATE is not one of them.

In TorquePro I can read the fuel rate of my 2011 Ford Focus so it looks like this library is not supporting this PID (correctly)? Does anyone have an other experience?

If I look in the code in commands.py on line 151 the configuration seems correct.

I haven't tried (yet) to add the command manually as a custom command and check if it works but I suspect some issue.

alistair23 commented 4 years ago

It's possible that the TorquePro is not using the standard FUEL_RATE PID and is instead using a custom PID.

I think the main thing would be to check to see what the TorquePro is doing.