[SOLVED] Convert PSI to bar

Hi,

I am using the outrider tire pressure sensors and I am able to display the custom stream.

How can I convert the tire pressures to bar?
I tried a bit with perplexity but without luck :frowning:
Thanks.

I don’t have those fields to test but does this work?

{
  for (let m of icu.fit.record) {
    data.setAt(m.timestamp.value, m.front_tyre_pressure?.value/14.50377)
  }
}

See here

1 Like

Thanks a lot, it worked. :slight_smile:

Any idea how I can display 2 decimals?

1 Like

In your Dialog posted above set format to .2f

Many thanks. :slight_smile: