BlueWave Studio forum
Missing oil temperature - Printable Version

+- BlueWave Studio forum (
+-- Forum: OpenAuto Pro (
+--- Forum: OBD-II (
+--- Thread: Missing oil temperature (/showthread.php?tid=2210)

Missing oil temperature - peetereczek - 11-22-2020

I setup PID querry and gauge as it's documented:


Label=Oil *C

Which aim was to query for engine oil temperature, which according to ELM documentation should be avaliable under service 01 PID 5C

But gauge is not working, with such errors in the log:
[2020-11-22 19:54:17.091649] [0x982d0140] [error]   [OpenAuto] [ObdGetPidValueFunction] empty values, query: 015C
[2020-11-22 19:54:17.092162] [0x982d0140] [error]   [OpenAuto] [ObdManager] gauge evaluation failed, formula: getPidValue(10), what: Unable to parse values for PID with query: 015C

I have tested ELM dongle with Android application and I'm sure car is returning the value for engine oil temperature, so the PID is supported

Any help will be appreaciated,

RE: Missing oil temperature - BlueWave - 11-22-2020

Could you please post the exact query and response from your Android application? Oil temperature may not be available in default ECU and querying it may require additional AT command to switch ECU ID (PreCommands and PostCommands entries in PID configuration). More details about switching ECU can be found in document at page 24 (AT SH command).

RE: Missing oil temperature - peetereczek - 11-22-2020

Aha, it looks like it requires such action

With simple querry 015C typed in command line returns: NO DATA
And 0140 querry says that PIDs from 50 to 5F ale not supported.

In the app parameter name has [ECM] prefix and provides value.

I need to investigate it futher

RE: Missing oil temperature - peetereczek - 11-22-2020

Ok, I found that command AT SH 00 07 E0 will switch communictaion to 7E8 can ID ECU and PID 015C returned value 7E8037F0112

Little step in the understanding Big Grin

And with below config
PreCommands=AT SH 00 07 E0

Unfortunately value is not being returned correctly :|

There are no errors in the log, gauge display constant value 18, which is not true

Edit: ah, so module is responding with 7F code, which means that it doesn't understood the request...

RE: Missing oil temperature - peetereczek - 11-24-2020

I have found on some forum, that in VW CAN you can find

Calculate Speed.
ID 0x351. Speed is contained in Byte 2. Calculation is (Speed = (buf[2] * 256) + (buf[3]-1)) / 190; )

Oil Temp.
ID 0x35B Byte 4

Water Temp
ID 0x35B Byte 3. Calculation is (waterTemp = (buf[3]-64); )

ID 0x571 Byte 0. Calculation is (Voltage = (((float)buf[0] / 2.00) + 50.00) / 10.00; )

So I'm about to test them