BlueWave Studio forum
Changing OBD readings to US units - Printable Version

+- BlueWave Studio forum (https://bluewavestudio.io/community)
+-- Forum: OpenAuto Pro (https://bluewavestudio.io/community/forum-86.html)
+--- Forum: OBD-II (https://bluewavestudio.io/community/forum-103.html)
+--- Thread: Changing OBD readings to US units (/thread-1887.html)



Changing OBD readings to US units - eruji - 08-14-2020

K to M

C to F

i know, i might be in the minority here.


RE: changing OBD readings to US units - BlueWave - 08-14-2020

You can modify the formula of particular PID. In /home/pi/.openauto/config/openauto_obd_pid_info.ini file you can find already prepared formulas for F and M but they are commented out by default. Just uncomment them, e.g.

Query=0105
MinValue=-40
MaxValue=215
Limit=90
Formula=a-40
Label=Temp °C
;Formula=((a-40)*1.8)+32
;Label=Temp °F
Precision=0

change to

Query=0105
MinValue=-40
MaxValue=215
Limit=90
;Formula=a-40
;Label=Temp °C
Formula=((a-40)*1.8)+32
Label=Temp °F
Precision=0

; mark indicates a comment - it means that line will be ignored by OpenAuto Pro.


RE: changing OBD readings to US units - frankpintosr - 08-14-2020

(08-14-2020, 05:08 PM)BlueWave Wrote: You can modify the formula of particular PID. In /home/pi/.openauto/config/openauto_obd_pid_info.ini file you can find already prepared formulas for F and M but they are commented out by default. Just uncomment them, e.g.

Query=0105
MinValue=-40
MaxValue=215
Limit=90
Formula=a-40
Label=Temp °C
;Formula=((a-40)*1.8)+32
;Label=Temp °F
Precision=0

change to

Query=0105
MinValue=-40
MaxValue=215
Limit=90
;Formula=a-40
;Label=Temp °C
Formula=((a-40)*1.8)+32
Label=Temp °F
Precision=0

; mark indicates a comment - it means that line will be ignored by OpenAuto Pro.

+1 You are not alone @eruji! Thanks Bluewave this is great