<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Developers guide is here:<div><br></div><div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><a href="https://github.com/markwj/Open-Vehicle-Monitoring-System/blob/master/docs/OVMS_Development.pdf?raw=true">https://github.com/markwj/Open-Vehicle-Monitoring-System/blob/master/docs/OVMS_Development.pdf?raw=true</a></blockquote></div><div><br></div><div>I would rather the actual development discussions take place here on this list. A lot of smart people here, with experience getting these vehicle modules working.</div><div><br></div><div>The biggest concern for me is whether we can get everything we need off one CAN bus (the car CAN that is on the standard OBD-II pins). Every time this is raised, the response is 'oh, no, you need to see all 4 vehicle buses (and Chademo bus included)'. I don't believe that. In most cases I've seen, the common useful information is gatewayed onto the primary CAN bus used for OBD-II comms - either directly as repeated CAN messages, or indirectly via PID polling. Sure, in an ideal world the OVMS module would support 10 individual CAN buses, the legacy OBD-II buses, plus methane sensors for cabin pollution, but for what we need to do I really don't think it is necessary.</div><div><br></div><div>I think what the Leaf Spy people have done really shows what is possible with that primary CAN bus. Sure, they could also be accessing the legacy OBD-II buses as well, but I doubt it. We can even see what Leaf Spy is accessing, as they have a trace function:</div><div><br></div><div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><span style="color: rgb(50, 61, 79); font-family: 'Lucida Grande', 'Trebuchet MS', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; background-color: rgb(236, 236, 236);">What I will need is an ELM trace to see if I can determine what the problem is.</span><br style="margin: 0px; padding: 0px; color: rgb(50, 61, 79); font-family: 'Lucida Grande', 'Trebuchet MS', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; background-color: rgb(236, 236, 236);"><br style="margin: 0px; padding: 0px; color: rgb(50, 61, 79); font-family: 'Lucida Grande', 'Trebuchet MS', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; background-color: rgb(236, 236, 236);"><span style="color: rgb(50, 61, 79); font-family: 'Lucida Grande', 'Trebuchet MS', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; background-color: rgb(236, 236, 236);">1. Start the app and go to the bottom of the Settings menu (Debug) and check the "Trace ELM" check box, then exit the app. The trace starts on the next app startup.</span><br style="margin: 0px; padding: 0px; color: rgb(50, 61, 79); font-family: 'Lucida Grande', 'Trebuchet MS', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; background-color: rgb(236, 236, 236);"><span style="color: rgb(50, 61, 79); font-family: 'Lucida Grande', 'Trebuchet MS', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; background-color: rgb(236, 236, 236);">2. Start up the app and let it run for 20 seconds then exit. The "Trace ELM" flag is automatically turned off. A logging message will flash bottom center while logging is active.</span><br style="margin: 0px; padding: 0px; color: rgb(50, 61, 79); font-family: 'Lucida Grande', 'Trebuchet MS', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; background-color: rgb(236, 236, 236);"><span style="color: rgb(50, 61, 79); font-family: 'Lucida Grande', 'Trebuchet MS', Helvetica, Arial, sans-serif; font-size: 13px; line-height: 18px; background-color: rgb(236, 236, 236);">3. Using the email address in the About screen send me the TRC_******.txt file located in the LEAF_BT_CAN folder.</span></div></blockquote></div><div><br></div><div>Can someone with that program try it, and send me the trace output?</div><div><br></div><div>Also, are there any CAN bus dump files out there for the CAR CAN bus? It would be good to see the volume of data, as well as some examples.</div><div><br></div><div>Later today, I'll prepare a list of what OVMS needs, and let's try to map that to CAR CAN data messages and PID requests. Let's see if this is feasible first.</div><div><br></div><div>Regards, Mark.</div><div><br><div><div>On 14 Oct, 2013, at 10:01 pm, Robert Sharpe <<a href="mailto:robert.sharpe@evergreen-consulting.co.uk">robert.sharpe@evergreen-consulting.co.uk</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Kevin,<div><br></div><div>Thanks a lot for your kind offer.</div><div><br></div><div>I should set expectations that I am an out of practice and slow coder, but I will do what I can to help.  I can probably help more with test, debug and coordination.</div><div><br></div><div>So if you are still happy then, as I dont have any OVMS kit, I will need an OVMS and correct cable.</div><div><br></div><div>Can someone point me to a developer beginner's instructions for what else is required to develop/test, e.g. programmer, sniffer, code repository login, CM procedures, etc</div><div><br></div><div>It helps me, and hopefully anyone else working on the project, if we can agree the breakdown of work.  As you may have already seen I have suggested a post for the Leaf development at <a href="http://www.openvehicles.com/node/111">http://www.openvehicles.com/node/111</a> </div><div><br></div><div>Nikki/Mark shall we use that as a way of planning and tracking the work ?</div><div><br></div><div>Regards,</div><div>Rob</div><br><br><span id="signaturePlaceholder"></span><div style="color:#898989;">On Oct 14, 2013, at 2.21PM, Nikki Gordon-Bloomfield wrote:</div><blockquote style="border-left: solid 2px #336699;padding-left: 5px; margin-left: 20px;">Hi Kevin, <div><br></div><div>That's very generous. Happy to test OVMS in my LEAF, so I guess another OVMS kit with a righty cable? </div><div><br></div><div>Nikki. </div><div><br><div><div>On 14 Oct 2013, at 13:47, Kevin Sharpe ZCW <<a href="mailto:kevin.sharpe@zerocarbonworld.org"></a><a href="mailto:target=" _blank"="">kevin.sharpe@zerocarbonworld.org">target="_blank">kevin.sharpe@zerocarbonworld.org</a>> wrote:</div><br><blockquote>



<div style="font-size: 12px; font-family: 'Helvetica Neue', sans-serif; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>
<div>
<div>Rob, Mark (C), Nikki,</div>
<div><br>
</div>
<div>If it helps, I'm happy to provide each of you with OVMS hardware FOC in return for your efforts on the Leaf development :-)</div>
<div><br>
</div>
<div>Let me know what you need,</div>
<div>
<div>
<table border="0" width="661" cellspacing="0" cellpadding="0" style="font-family: Times; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<tbody>
<tr>
<td width="1" rowspan="2" style="font-family: Arial, Helvetica, sans-serif; color: rgb(2, 112, 210); ">
<img src="http://www.zerocarbonworld.org/images/email-signatures_03.gif" alt="" width="1" height="158"></td>
<td width="136" style="font-family: Arial, Helvetica, sans-serif; color: rgb(2, 112, 210); ">
<img src="http://www.zerocarbonworld.org/images/logo.png" alt="" width="124" height="60"></td>
<td width="524" style="font-family: Arial, Helvetica, sans-serif; color: rgb(2, 112, 210); ">
<span style="font-weight: bold; color: rgb(118, 118, 118); font-size: 13px; ">Kevin Sharpe | Founder & Patron</span><br>
<div style="height: 8px; font-size: 1px; "></div>
<span style="color: rgb(118, 118, 118); font-size: 11px; ">Tel: +44 122 566 7544 ext: 800 | Skype: zerocarbonworld</span><br>
<div style="height: 8px; font-size: 1px; "></div>
<span style="font-size: 11px; "><a href="mailto:kevin.sharpe@zerocarbonworld.org" target="_blank" style="color: rgb(2, 112, 210); ">kevin.sharpe@zerocarbonworld.org </a>| <a href="http://www.zerocarbonworld.org/" target="_blank" style="color: rgb(2, 112, 210); ">www.zerocarbonworld.org</a> | <a href="http://twitter.com/ZCWcharlie" target="_blank" style="color: rgb(2, 112, 210); ">twitter.com/zerocarbonworld</a></span></td>
</tr>
<tr>
<td valign="top" colspan="2" style="font-family: Arial, Helvetica, sans-serif; color: rgb(2, 112, 210); ">
<img src="http://www.zerocarbonworld.org/images/email-signatures_06.png" alt="" width="653" height="49"><br>
<span style="font-weight: bold; color: rgb(118, 118, 118); font-size: 11px; ">Zero Carbon World is a UK Registered Charity #1141347</span></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<span>
<div style="font-family: Calibri; font-size: 11pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223); ">
<span style="font-weight:bold">From: </span>Robert Sharpe <<a href="mailto:robert.sharpe@evergreen-consulting.co.uk"></a><a href="mailto:target=" _blank"="">robert.sharpe@evergreen-consulting.co.uk">target="_blank">robert.sharpe@evergreen-consulting.co.uk</a>><br>
<span style="font-weight:bold">Reply-To: </span>OVMS Developers <<a href="mailto:ovmsdev@lists.teslaclub.hk"></a><a href="mailto:target=" _blank"="">ovmsdev@lists.teslaclub.hk">target="_blank">ovmsdev@lists.teslaclub.hk</a>><br>
<span style="font-weight:bold">Date: </span>Monday, 14 October 2013 13:41<br>
<span style="font-weight:bold">To: </span>OVMS Developers <<a href="mailto:ovmsdev@lists.teslaclub.hk"></a><a href="mailto:target=" _blank"="">ovmsdev@lists.teslaclub.hk">target="_blank">ovmsdev@lists.teslaclub.hk</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Ovmsdev] OVMS Leaf Support<br>
</div>
<div><br>
</div>
<div>
<div>
<div style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;"><span style="font-size: 11.818181991577148px; background-color: rgb(255, 255, 255); font-family: arial, sans-serif; ">Hi Mark,</span>
<div style="font-size: 11.818181991577148px; font-family: arial, sans-serif; background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-size: 11.818181991577148px; font-family: arial, sans-serif; background-color: rgb(255, 255, 255);">
This looks very interesting.</div>
<div style="font-size: 11.818181991577148px; font-family: arial, sans-serif; background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-size: 11.818181991577148px; font-family: arial, sans-serif; background-color: rgb(255, 255, 255);">
I am out today but will look in more depth tomorrow.</div>
<div style="font-size: 11.818181991577148px; font-family: arial, sans-serif; background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-size: 11.818181991577148px; font-family: arial, sans-serif; background-color: rgb(255, 255, 255);">
Regards,</div>
<div style="font-size: 11.818181991577148px; font-family: arial, sans-serif; background-color: rgb(255, 255, 255);">
Rob</div>
<br>
<div><br>
---- On Mon, 14 Oct 2013 10:08:41 +0100 <b>Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net"></a><a href="mailto:target=" _blank"="">mark@webb-johnson.net">target="_blank">mark@webb-johnson.net</a>></b> wrote ----
<br>
</div>
<br>
<blockquote style="border-left: 1px solid #0000FF; padding-left: 6px; margin:0 0 0 5px">
<div>
<div>I think the leaf spy app shows what can be done. It only uses standard OBDII, with just one can bus. It could also be using the other non-can OBDII buses, but I doubt it.</div>
<div><br>
</div>
<div>Shame it is not open source, but the leaf codes are pretty well documented now.</div>
<div><br>
</div>
<div>Regards, Mark</div>
<div><br>
On 14 Oct, 2013, at 4:00 pm, Nikki Gordon-Bloomfield <<a href="mailto:nikki@aminorjourney.com"></a><a href="mailto:target=" _blank"="">nikki@aminorjourney.com">target="_blank">nikki@aminorjourney.com</a>> wrote:<br>
<br>
</div>
<blockquote>
<div>Oh yes, there are multiple CAN busses on the LEAF. The standard one, which is where all the data below comes from, an the EV can -- that would require some clever doodads, since both are on the same physical connector -- just different pins. 
<div><br>
</div>
<div>Nikki. </div>
<div><br>
</div>
<div><br>
<div><br>
</div>
<div><br>
<div>
<div>On 14 Oct 2013, at 04:50, Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net"></a><a href="mailto:target=" _blank"="">mark@webb-johnson.net">target="_blank">mark@webb-johnson.net</a>> wrote:</div>
<br>
<blockquote>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Robert,
<div><br>
</div>
<div>Sorry for the delay in response - I’ve been off grid parenting for the past 24 hours.</div>
<div><br>
</div>
<div>I think @Nufkin has done some preparation work, and we have a stub vehicle support file (vehicle_nissanleaf.c), but nothing working yet.</div>
<div><br>
</div>
<div>This App shows what can be done:</div>
<div><br>
</div>
<div>
<blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div><a href="https://play.google.com/store/apps/details?id=com.Turbo3.Leaf_Spy_Pro" target="_blank">https://play.google.com/store/apps/details?id=com.Turbo3.Leaf_Spy_Pro</a></div>
<div><br>
</div>
<div>
<div style="margin: 0px;"><span><p8xv6n5_ramwf7ep4eaioqj6vzripkrr9piegql_w-2ofbsxukbkjelb9tjbj1e4jsy=h310.png></p8xv6n5_ramwf7ep4eaioqj6vzripkrr9piegql_w-2ofbsxukbkjelb9tjbj1e4jsy=h310.png></span></div>
</div>
<div style="margin: 0px;">
<div style="margin: 0px;"><span><jcbfvbo5nvin3mdrfw5hqml-_gbqqugbflgha_9ajq3pm5nuqvv3spblbxhgib0vyr0=h310.png></jcbfvbo5nvin3mdrfw5hqml-_gbqqugbflgha_9ajq3pm5nuqvv3spblbxhgib0vyr0=h310.png></span></div>
<div style="margin: 0px;">
<div style="margin: 0px;"><span><n7hljo_4pxwxvxefz91_lre2r_qehldxtrlyzcw9zoleyviqunqodqpfn-l2mzqi9j8=h310.png></n7hljo_4pxwxvxefz91_lre2r_qehldxtrlyzcw9zoleyviqunqodqpfn-l2mzqi9j8=h310.png></span><span><q8vjl1pifdbr0df9vczjwxw5x7cfsq-edtpzzrwqtqyg5a5zpmsstvrynsy3kgi3pde=h310.png></q8vjl1pifdbr0df9vczjwxw5x7cfsq-edtpzzrwqtqyg5a5zpmsstvrynsy3kgi3pde=h310.png></span></div>
</div>
</div>
</blockquote>
</div>
<div><br>
</div>
<div>using just the OBD-II port (I assume all the single master CAN bus, but perhaps also other buses on OBD-II).</div>
<div><br>
</div>
<div>I’m very excited by this, and more than willing to help, but I don’t have the car here so am limited in what I can do.</div>
<div><br>
</div>
<div>Can you work with @nufkin (and his other half) on this?</div>
<div><br>
</div>
<div>You would need some sort of CAN bus decoder (perhaps just an OBD-II dongle, or CAN-USB adaptor), plus an OVMS module and PICKIT for firmware download. If you use MAC OSX, the development environment is simple to setup - for windows there are a few more
 hoops to jump through. Lastly, a RS232-USB adaptor is useful (but not essential).</div>
<div><br>
</div>
<div>Regards, Mark.</div>
<div><br>
</div>
<div>
<div>
<div>On 13 Oct, 2013, at 4:00 pm, Robert Sharpe <<a href="mailto:robert.sharpe@evergreen-consulting.co.uk"></a><a href="mailto:target=" _blank"="">robert.sharpe@evergreen-consulting.co.uk">target="_blank">robert.sharpe@evergreen-consulting.co.uk</a>> wrote:</div>
<br>
<blockquote>Hi,<br>
< <a href="mailto:ovmsdev-request@lists.teslaclub.hk"></a><a href="mailto:target=" _blank"="">ovmsdev-request@lists.teslaclub.hk">target="_blank">ovmsdev-request@lists.teslaclub.hk</a>>
<div><br>
</div>
<div>Is anyone working on Leaf support?</div>
<div><br>
</div>
<div>I am interested in helping if I can and have started a discussion at <a href="http://openvehicles.com/comment/220#comment-220" target="_blank">http://openvehicles.com/comment/220#comment-220</a> to capture were we are with the Leaf.</div>
<br>
<br>
Regards,<br>
Robert Sharpe (Technical Director)<br>
07711 252971<br><p><a href="http://www.facebook.com/EvergreenConsultingLtd" target="_blank">http://www.facebook.com/EvergreenConsultingLtd</a><br>
<a href="http://twitter.com/EGCtechnical" target="_blank">http://twitter.com/EGCtechnical</a><br>
<a href="http://uk.linkedin.com/in/arsharpe" target="_blank"></a><a href="http://uk.linkedin.com/in/arsharpe" target="_blank">http://uk.linkedin.com/in/arsharpe</a></p>
<img src="https://crm.zoho.com/crm/viewCompanyLogo?fileId=2018022000000016001&zgId=19719543" alt="Evergreen Consulting"><p><a href="http://www.evergreen-consulting.co.uk/?utm_source=OVMSdevList&utm_medium=Email&utm_campaign=LeafOVMS" target="_blank"><font>www.evergreen-consulting.co.uk</font></a></p><p><i>Your Plugged-in Partner</i></p><p>Support the future and switch to a renewable energy supplier such as <a href="http://www.goodenergy.co.uk/affiliates/evergreen-consulting" target="_blank">
Good Energy</a></p><p><small>Evergreen Consulting is the trading name of Sharpe Consultants Ltd</small></p>
<br>
< <a href="mailto:/ovmsdev-request@lists.teslaclub.hk"></a><a href="mailto:target=" _blank"="">/ovmsdev-request@lists.teslaclub.hk">target="_blank">/ovmsdev-request@lists.teslaclub.hk</a>>_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.teslaclub.hk"></a><a href="mailto:target=" _blank"="">OvmsDev@lists.teslaclub.hk">target="_blank">OvmsDev@lists.teslaclub.hk</a><br>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
</blockquote>
</div>
<br>
</div>
</div>
_______________________________________________<br>
OvmsDev mailing list<br>
<a href="mailto:OvmsDev@lists.teslaclub.hk"></a><a href="mailto:target=" _blank"="">OvmsDev@lists.teslaclub.hk">target="_blank">OvmsDev@lists.teslaclub.hk</a><br>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
<blockquote>
<div><span>_______________________________________________</span><br>
<span>OvmsDev mailing list</span><br>
<span><a href="mailto:OvmsDev@lists.teslaclub.hk"></a><a href="mailto:target=" _blank"="">OvmsDev@lists.teslaclub.hk">target="_blank">OvmsDev@lists.teslaclub.hk</a></span><br>
<span><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a></span><br>
</div>
</blockquote>
_______________________________________________ <br>
OvmsDev mailing list <br>
<a href="mailto:OvmsDev@lists.teslaclub.hk"></a><a href="mailto:target=" _blank"="">OvmsDev@lists.teslaclub.hk">target="_blank">OvmsDev@lists.teslaclub.hk</a><br>
<a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</span>
</div>

_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk"></a><a href="mailto:target=" _blank"="">OvmsDev@lists.teslaclub.hk">target="_blank">OvmsDev@lists.teslaclub.hk</a><br><a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br></blockquote></div><br></div></blockquote><br><br>_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br>http://lists.teslaclub.hk/mailman/listinfo/ovmsdev<br></blockquote></div><br></div></body></html>