<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr" style="-webkit-text-size-adjust: auto; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">Short story:</div><div dir="ltr" style="-webkit-text-size-adjust: auto; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><br></div><div dir="ltr" style="-webkit-text-size-adjust: auto; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"><p dir="ltr" id="docs-internal-guid-1ebaab7c-7fff-d39a-b0cb-5458ebc62c41" style="line-height: 1.38; margin-left: 36pt; margin-top: 0pt; margin-bottom: 0pt;"></p><p dir="ltr" id="docs-internal-guid-eeb3f9db-7fff-a08e-e234-c49ed622d760" style="line-height: 1.38; margin-left: 36pt; margin-top: 0pt; margin-bottom: 0pt;"></p><blockquote type="cite"><p dir="ltr" id="docs-internal-guid-eeb3f9db-7fff-a08e-e234-c49ed622d760" style="color: rgb(0, 0, 0); line-height: 1.38; margin-left: 36pt; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 7pt; font-family: "Source Code Pro"; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; vertical-align: baseline; white-space: pre-wrap;">OVMS# tpms list</span></p><br style="color: rgb(0, 0, 0);"><p dir="ltr" style="color: rgb(0, 0, 0); line-height: 1.38; margin-left: 36pt; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 7pt; font-family: "Source Code Pro"; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; vertical-align: baseline; white-space: pre-wrap;">Tyre Sets:</span></p><p dir="ltr" style="color: rgb(0, 0, 0); line-height: 1.38; margin-left: 36pt; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 7pt; font-family: "Source Code Pro"; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; vertical-align: baseline; white-space: pre-wrap;"> canada: 01010fd3,01010fdb,01010f8a,01011c14</span></p><p dir="ltr" style="color: rgb(0, 0, 0); line-height: 1.38; margin-left: 36pt; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 7pt; font-family: "Source Code Pro"; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; vertical-align: baseline; white-space: pre-wrap;"> testing: a1a2a3a4,b1b2b3b4,c1c2c3c4,d1d2d3d4</span></p><br style="color: rgb(0, 0, 0);"></blockquote><blockquote type="cite"><p dir="ltr" id="docs-internal-guid-1ebaab7c-7fff-d39a-b0cb-5458ebc62c41" style="color: rgb(0, 0, 0); line-height: 1.38; margin-left: 36pt; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 7pt; font-family: "Source Code Pro"; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; vertical-align: baseline; white-space: pre-wrap;">OVMS# tpms read</span></p></blockquote><blockquote type="cite"><p dir="ltr" style="color: rgb(0, 0, 0); line-height: 1.38; margin-left: 36pt; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 7pt; font-family: "Source Code Pro"; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; vertical-align: baseline; white-space: pre-wrap;">TPMS read as a1a2a3a4,b1b2b3b4,c1c2c3c4,d1d2d3d4</span></p></blockquote><blockquote type="cite"><p dir="ltr" style="color: rgb(0, 0, 0); line-height: 1.38; margin-left: 36pt; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 7pt; font-family: "Source Code Pro"; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; vertical-align: baseline; white-space: pre-wrap;">OVMS# tpms write canada</span></p><p dir="ltr" style="color: rgb(0, 0, 0); line-height: 1.38; margin-left: 36pt; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 7pt; font-family: "Source Code Pro"; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; vertical-align: baseline; white-space: pre-wrap;">Tyre set 'canada' written to vehicle TPMS successfully</span></p></blockquote><blockquote type="cite"><p dir="ltr" style="color: rgb(0, 0, 0); line-height: 1.38; margin-left: 36pt; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 7pt; font-family: "Source Code Pro"; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; vertical-align: baseline; white-space: pre-wrap;">OVMS# tpms read</span></p><p dir="ltr" style="color: rgb(0, 0, 0); line-height: 1.38; margin-left: 36pt; margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 7pt; font-family: "Source Code Pro"; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; vertical-align: baseline; white-space: pre-wrap;">TPMS read as 01010fd3,01010fdb,01010f8a,01011c14</span></p></blockquote></div></div><div dir="ltr"><br></div><div dir="ltr">Code is committed, and in edge release now.</div><div dir="ltr"><br></div><div dir="ltr">Now to start building production K-line expansion boards (to replace my hand-built breadboard kludge).</div><div dir="ltr"><br></div><div dir="ltr">Regards, Mark</div><div dir="ltr"><br><blockquote type="cite">On 14 May 2020, at 4:36 PM, Mark Webb-Johnson <mark@webb-johnson.net> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>So long as it is a v3.1 or v3.2 module it should be fine. The older ones will need one wire between the DB9 and DA26 connector, which is trivial to add. You will need an OVT1 cable (if you don’t already have one).</span><br><span></span><br><span>I’m hoping to be able to nail this down this coming weekend.</span><br><span></span><br><span>Regards, Mark.</span><br><span></span><br><blockquote type="cite"><span>On 14 May 2020, at 3:23 PM, HONDA S-2000 <s2000@audiobanshee.com> wrote:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Oh! - This is great!</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I could really use an easy way to switch between summer and winter wheels without traveling to the Tesla dealership to wait in line for one of their techs to use their tool.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>If you need any help testing, I will buy any boards needed (or make my own prototype, if that makes sense). I have one Tesla Roadster 2.5 and eight wheels that should have working TPMS sensors. We also have PCB fab and assembly shops that are still working here, so I might even be able to make boards locally.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I’ll have to check which version of OVMS that I have. I bought a few versions of them, but I may not have the latest version.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Brian</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>p.s. I haven’t been following this list for a while. In fact, my email server went down after fourteen years of constant service, so I think I got kicked off the list and had to rejoin. So, I’m very glad to see this feature being worked on. I may need to reconnect, upgrade to the latest firmware releases, and all of that.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>On May 10, 2020, at 5:56 PM, Mark Webb-Johnson <mark@webb-johnson.net> wrote:</span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span>I’ve been spending the last month or so hacking away at TPMS. This has been an ongoing project for the Tesla Roadster that is finally coming to fruition.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>About a year or so ago, we already made changes to:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> • Modify the Tesla Roadster cable to connect the k-line pin on the diagnostic connector through to the DB9 connector on OVMS. We labelled this cable ‘OVT1’.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> • Modify the OVMS module to connect that k-line pin to GEP7.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>I’m now working on an optional expansion board that will include a little TJA1027T transceiver and map it to EXP1 and EXP2 (for async comms) and EGPIO8 (for enable/disable) on the ESP32 and MAX. This board will include a jumpered option for K-line master (one diode + one resistor), as well as jumpered powered selection (5v from usb, 5v regulated from car 12v, or direct car 12v) for the K-line bus.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>The hand-soldered prototype, using our breakout boards, works well and the K-line async comms works. The screenshot shows OVMS sending a 19 byte request to the ECU (0x0f 0x04 .... 0xf0) and the ECU responding 19 bytes (0x0f 0x05 ... 0xf0) with the 4 tyre IDs. There is a similar command to re-program the ECU with new IDs.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>On the firmware side, I am implementing a new vehicle independent ’tpms’ subsystem within OVMS (enabled via configureable option). This will allow sets of tyres to be maintained in the config and read/written to the car's TPMS ECU. The following commands will be available:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> • tpms status - show status of the system</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> • tpms list - list tyre id sets in config</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> • tpms read <set> - read IDs from tpms ecu and store in config tyre set</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> • tpms write <set> - write IDs to toms ecu from config tyre set</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> • tpms set <set> {<id>} - config a set of IDs manually</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span> • tpms delete <set> - delete the specified tyre set</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>The initial version will support Tesla Roadster, but the functionality is there for other vehicles to use if they need it (in particular for standard K-line implementations).</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Comments/suggestions welcome.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Regards, Mark.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>OvmsDev mailing list</span><br></blockquote><blockquote type="cite"><span>OvmsDev@lists.openvehicles.com</span><br></blockquote><blockquote type="cite"><span>http://lists.openvehicles.com/mailman/listinfo/ovmsdev</span><br></blockquote><span></span><br></div></blockquote></body></html>