<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; ">As soon as I have a spare piece of hardware, I'll give it a go. Kevin? <div><br></div><div>Nikki. </div><div><br></div><div><br><div><div>On 16 Oct 2013, at 15:31, Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><br></div>Anyone feeling brave?<div><br></div><div>I’ve just committed a nissan leaf module (set vehicle id to NL) that will monitor the can bus and pickup the SOC%. That is all it does at the moment, but it should work.</div><div><br></div><div>Regards, Mark.</div><div><br><div><div>On 16 Oct, 2013, at 2:49 pm, Nikki Gordon-Bloomfield <<a href="mailto:nikki@littlecollie.com">nikki@littlecollie.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="auto"><div>I've already messages mark C. Let's hope he has it :) I know he and his husband have done a lot of logging. <br><br>Sent from my iPhone</div><div><br>On 16 Oct 2013, at 07:02, Robert Sharpe <<a href="mailto:robert.sharpe@evergreen-consulting.co.uk">robert.sharpe@evergreen-consulting.co.uk</a>> wrote:<br><br></div><blockquote type="cite">Hi Mark,<div><br></div><div>>I think the fastest way to get this done is for me to do it with a local Leaf owner.</div><div>That sounds like a good idea.</div><div><br></div><div><div>>Can someone tell me which CarCAN bus message to look for, which byte(s) to access, and how to convert to percentage SOC?</div><div>>The document at <a href="https://docs.google.com/spreadsheet/ccc?key=0An7gtcYL2Oy0dGRaSWl6VTV2eXBQMy1ON2xZSzlMUXc#gid=5" target="_blank">https://docs.google.com/spreadsheet/ccc?key=0An7gtcYL2Oy0dGRaSWl6VTV2eXBQMy1ON2xZSzlMUXc#gid=5</a> suggests ID 5B3 tracks SOH and Gids. But how to convert to percentage SOC?</div></div><div><br></div><div>Is @nufkin (Mark C) on this list? He has done some analysis of codes.</div><div>There is always the authors of the other projects that read Leaf data.</div><div><br></div><div>Regards,</div><div>Rob<br><br><br><span id="signaturePlaceholder"></span><div style="color:#898989;">On Oct 16, 2013, at 6.33AM, Mark Webb-Johnson wrote:</div><blockquote style="border-left: solid 2px #336699;padding-left: 5px; margin-left: 20px;"><div><br></div>I think the fastest way to get this done is for me to do it with a local Leaf owner.<div><br></div><div>If I can get basic support working, then perhaps someone else (or others) with better knowledge of the Leaf scene, can take over to get the advanced stuff working.</div><div><br></div><div>So, I'm going to try to get some Leaf Spy traces, as well as CAN bus logs for parked, charging and driving. Then, get the basic module working with SOC%, GPS location, door status, drive/park and charge monitor.</div><div><br></div><div>My biggest confusion at the moment is SOC% in the Leaf. There is a lot of talk about gids, etc, but I've never gone into it too deeply.</div><div><br></div><div>Can someone tell me which CarCAN bus message to look for, which byte(s) to access, and how to convert to percentage SOC?</div><div><br></div><div>The document at <a href="https://docs.google.com/spreadsheet/ccc?key=0An7gtcYL2Oy0dGRaSWl6VTV2eXBQMy1ON2xZSzlMUXc#gid=5" target="_blank">https://docs.google.com/spreadsheet/ccc?key=0An7gtcYL2Oy0dGRaSWl6VTV2eXBQMy1ON2xZSzlMUXc#gid=5</a> suggests ID 5B3 tracks SOH and Gids. But how to convert to percentage SOC?</div><div><br></div><div>Regards, Mark.</div><div><br><div><div>On 16 Oct, 2013, at 1:03 pm, Evergreen <<a href="mailto:robert.sharpe@evergreen-consulting.co.uk"><a="" _blank"="">robert.sharpe@evergreen-consulting.co.uk">target="_blank">robert.sharpe@evergreen-consulting.co.uk</a=""></a>> wrote:</div><br><blockquote><div><div>That's great news.</div><div><br></div><div>Regards,</div><div>Rob</div><div><br>On 16 Oct 2013, at 06:00, Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net"><a="" _blank"="">mark@webb-johnson.net">target="_blank">mark@webb-johnson.net</a=""></a>> wrote:<br><br></div><blockquote><div><br></div><blockquote><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">P.S. I'm trying to find a friendly Leaf owner in Hong Kong to co-operate with this. There are 200+ Leafs here, and no carwings coverage at all, but most are in government service and relatively few in private hands.</div></blockquote><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br></div></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I think my fishing expedition on the forums may have come up with a bite. A Hong Kong Leaf owner who is willing to help.</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I'll let you know how it pans out (over the next couple of days), but if I can get access to a local Leaf, getting the basic support working should be much faster.</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Regards, Mark.</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br></div><div><div>On 15 Oct, 2013, at 1:00 pm, Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net"><a="" _blank"="">mark@webb-johnson.net">target="_blank">mark@webb-johnson.net</a=""></a>> wrote:</div><br><blockquote><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Barry,<div><br></div><div>Thanks for the history. I really think we can get what we need from the single car CAN bus.</div><div><br></div><div>I'll extract the relevant sections from the developers guide tonight, and post them here. The first step is to see which of those 'virtual car' pieces of information are available on the car CAN bus, and see if they match-up.</div><div><br></div><div>I really would like to see a dump (and dump) of the car CAN bus, as well as a trace from the leaf spy program. The captioned google docs spreadsheet for leaf can bus messages is quite confusing - it would be good to be able to compare that against what is actually seen on the bus.</div><div><br></div><div>Regards, Mark.</div><div><br></div><div>P.S. I'm trying to find a friendly Leaf owner in Hong Kong to co-operate with this. There are 200+ Leafs here, and no carwings coverage at all, but most are in government service and relatively few in private hands.</div><div><br></div><div><div><div>On 15 Oct, 2013, at 11:45 am, Barry Gershenfeld <<a href="mailto:gbarry42@gmail.com"><a="" _blank"="">gbarry42@gmail.com">target="_blank">gbarry42@gmail.com</a=""></a>> wrote:</div><br><blockquote><div><div>Early development assumed you had to get the EV info from the EV-CAN buss. Somewhere during the development of Leaf Spy they kept finding desirable info on the car-CAN buss and so eventually determined that all if could be gotten from the car-CAN. As a bonus, the ELM dongle no longer has to be modified to read the EV buss.<br>
<br></div>The original reporting efforts started with the "GID" meter, and the early work involved Gary G. building a data recorder as well as a program to analyze the logs. I'm sure that's precisely what you have in mind as well. There were downloadable logs--he invited others to install the analyzer and try to find meaningful messages therein. But as it was early development, they were probably gotten from the EV-CAN. I don't know if any more recent logs from the car CAN buss are posted.<br>
<div><br></div><div>As a matter of fact, I suspect Gary would be happy to have his analyzing program used. It would be nice output the data into the same format that it uses. Or at least write a converter.<br>
</div><div><br></div><div>I naturally have some interest, being a LEAF owner and PIC hacker. I'll see if I can make head or tail of the developer's guide.<br><br> * * *<br>
<br></div><div>On Mon, Oct 14, 2013 at 7:04 PM, Mark Webb-Johnson <span><<a href="mailto:mark@webb-johnson.net"><a="" _blank"="">mark@webb-johnson.net">target="_blank">mark@webb-johnson.net</a=""></a>></span> wrote:<br>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">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" target="_blank">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...<br>
</div></div></blockquote></div></div>
_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk"><a="" _blank"="">OvmsDev@lists.teslaclub.hk">target="_blank">OvmsDev@lists.teslaclub.hk</a=""></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="" _blank"="">OvmsDev@lists.teslaclub.hk">target="_blank">OvmsDev@lists.teslaclub.hk</a=""></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></blockquote><blockquote><span>_______________________________________________</span><br><span>OvmsDev mailing list</span><br><span><a href="mailto:OvmsDev@lists.teslaclub.hk"><a="" _blank"="">OvmsDev@lists.teslaclub.hk">target="_blank">OvmsDev@lists.teslaclub.hk</a=""></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></blockquote></div>_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk"><a="" _blank"="">OvmsDev@lists.teslaclub.hk">target="_blank">OvmsDev@lists.teslaclub.hk</a=""></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></div></blockquote><blockquote type="cite"><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></blockquote></div>_______________________________________________<br>OvmsDev mailing list<br><a href="mailto:OvmsDev@lists.teslaclub.hk">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></div>_______________________________________________<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>