<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 3 Nov 2019, at 13:27, Timo Penttilä <<a href="mailto:timo.penttila@codetap.se" class="">timo.penttila@codetap.se</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi Pete<br class="">I think the ODO can be solved with the VIN as you describe.<br class=""></div></div></blockquote><div><br class=""></div>Thanks.</div><div><br class=""></div><div><br class=""></div><div><blockquote type="cite" class=""><div class=""><div class="">Is the issue with the doors for both locked/unlocked and open/closed doors?<br class=""></div></div></blockquote><div><br class=""></div><div><br class=""></div>The app only shows car locked and unlocked, but I see :</div><div><br class=""></div><div><br class=""></div><div><img apple-inline="yes" id="A8442E11-47C7-44C0-A4DD-C86F920E0FB7" src="cid:F2C84257-16E1-4C22-8BBC-F6952C8A730D@plord.co.uk" class=""></div><div><br class=""></div><div><br class=""></div><div>With the right hand side ( drivers side ) door open and the car unlocked.</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class=""><div class="">For the doors and Miles/Km I think it would be best to have a config value.<br class=""></div></div></blockquote><div><br class=""></div><div><br class=""></div>Okay, thanks. I'll try and figure out how that works :-)</div><div><br class=""></div><div>Cheers,</div><div><br class=""></div><div>Pete</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class=""><br class="">Med Vänlig Hälsning<br class=""> <br class="">TIMO PENTTILÄ<br class=""><br class=""><br class=""><br class=""><br class="">-----Original Message-----<br class="">From: OvmsDev <<a href="mailto:ovmsdev-bounces@lists.openvehicles.com" class="">ovmsdev-bounces@lists.openvehicles.com</a>> On Behalf Of Peter Lord<br class="">Sent: den 2 november 2019 10:47<br class="">To: <a href="mailto:OvmsDev@lists.openvehicles.com" class="">OvmsDev@lists.openvehicles.com</a><br class="">Subject: [Ovmsdev] Distinguishing between eNiro and Kona<br class=""><br class="">Hi All,<br class=""><br class="">In trying to get my UK Kona Electric working I've realised that in the eNiro code we need to distinguish between :<br class=""><br class="">* Kia eNero and Hyundai Kona ( console odometer is different PID location )<br class="">* Country ( console odometer can be in Miles or Kilometres )<br class="">* Left hand drive and right hand drive ( door PID's are associated with driver position not fixed left/right )<br class=""><br class="">I'm wondering whats the best way to do this.<br class=""><br class="">I believe the VIN number can tell us the first one - Hyundai is KMH and Kia KN, so the odometer code could look at the VIN number to choose where to extract the odometer info.<br class=""><br class="">However I'm not sure on the others. I can't tell if the VIN number gives this level of detail.<br class=""><br class="">My UK Kona ( right hand dive, uses miles ) VIN starts with KMHK581GUKU - but I've not found a definitive way to fully decode the VIN for eNiro and Kona Electric.<br class=""><br class="">I guess the other option is to add some car specific features.<br class=""><br class="">Any ideas ?<br class=""><br class="">Thanks,<br class=""><br class="">Pete<br class=""><br class="">_______________________________________________<br class="">OvmsDev mailing list<br class=""><a href="mailto:OvmsDev@lists.openvehicles.com" class="">OvmsDev@lists.openvehicles.com</a><br class="">http://lists.openvehicles.com/mailman/listinfo/ovmsdev<br class="">_______________________________________________<br class="">OvmsDev mailing list<br class="">OvmsDev@lists.openvehicles.com<br class="">http://lists.openvehicles.com/mailman/listinfo/ovmsdev<br class=""></div></div></blockquote></div><br class=""></body></html>