Преминете към основното съдържание

Tire Pressure values that come from the Geotab API

SFlee-2132
Оригинален плакат

Hi Team,

I've recently been successful in getting the tyre pressure out via an API call. The value returned as an example was 248000 and wanted to know how to turn this number into PSI/kPa/BAR? Is it just missing a decimal point somewhere? thanks

Присъединете се към разговора

You need to be logged in to reply to this post and participate in the Geotab Community discussions.

Най-популярни отговори

Hey @SFlee-2132​,

 

Assuming you're using the built in Geotab Diagnostics like DiagnosticTirePressureFrontLeftId, then the result will be in Pascals. So 248000 would convert to ~36 PSI.

 

Thanks,

Tucker

4 отговора

EishiFUN
Администратор на общността

Hello @SFlee-2132​ ,

 

Thank you for asking your question in our community. Let me see what I can find about this internally if there is some kind of conversion needed. Maybe @TuckerBA-1087​  has done this before and he already knows about it and can share with us.

 

I will let you know what I hear from me team as well.

 

Have a good one!

Eishi FUN

Hey @SFlee-2132​,

 

Assuming you're using the built in Geotab Diagnostics like DiagnosticTirePressureFrontLeftId, then the result will be in Pascals. So 248000 would convert to ~36 PSI.

 

Thanks,

Tucker

EishiFUN
Администратор на общността

Thanks Tucker. I figured you would know this one!

 

I did also find this doc that shows what all the values of the measurements are coming over as: https://docs.google.com/spreadsheets/d/1sy7IOhWmFoo40_I-ruOJO8bVTMLXqHa11d0oJtaoIcE/edit?gid=1666400940#gid=1666400940

 

Let us know if you have any other questions

Oh even better, we usually have to use the API to get the Diagnostic which shows the unit of measurement. We'll use this from now on.

Все още имате въпроси?