<html><head></head><body bgcolor="#FFFFFF"><div>To My knowledge both are used in europe so you can leave the pressure in PSI but someone else might think differently........<br><br>Sent from my iPad somewhere in our beautiful universe.......</div><div><br>On 9 May, 2012, at 8:16, Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><div><br></div><div>In the car module, and protocol, there is a setting for Miles vs Kilometers and all the distance based measurements (speed, ideal and estimated ranges) are sent from the module in those units.</div><div><br></div><div>The protocol states that temperatures (pem, motor, battery, ambient and tpms) should be sent in celcius, and tpms pressures in PSI - and that is what is currently done.</div><div><br></div><div>We don't currently convert these to user-suitable units in the iOS App. We leave them in celcius and psi.</div><div><br></div><div>Doing the conversion in the App is certainly possible, but my question is how to control this and what to do?</div><div><br></div><div>Options I see:</div><div><br></div><div><ol class="MailOutline"><li>Use the Miles/Kilometer value coming from the car.</li><li>Use the iOS NSLocale system to read user preferences from the device itself, and convert _everything_ to that.</li><li>Use the iOS NSLocale system to read user preferences from the device itself, and convert just temperatures/pressures to that.</li></ol></div><div><br></div><div>I've left out [4] "have individual settings in the app for each of temperatures, distance and pressure" as it is overly complicated.</div><div><br></div><div>We could convert temperatures from celcius to fahrenheit (using Tf = (9/5)*Tc+32).</div><div>We could convert pressures from PSI to kPa (using Pkpa = Ppsi * 6.895).</div><div><br></div><div>For tire pressures, what is currently used in Europe? I still see PSI used here in Hong Kong, even thought we use Kilometers for distance, but do we need to convert this to something else? I notice the roadster still shows pressures in PSI even though the car is metric and shows kilometers. Is it OK to leave this in PSI?</div><div><br></div><div>What do US cars show for ambient and tpms temperatures on the in-car VDS? Celcius / Fahrenheit?</div><div><br></div><div>Regards, Mark.</div><div><br></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>OvmsDev mailing list</span><br><span><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a></span><br><span><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a></span><br></div></blockquote></body></html>