<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div></div><div><br><div><div>Am 05.04.2013 um 17:31 schrieb Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Patrick,</div><div><br></div><div>This version has 0x00 (SUV) also treated as 'charging'. It also has polling for the other possibly useful parameters, so we can get them in the log files. Please load and try.</div><div><br></div><div>While you have the logger/tool, it would be good if you could get logs for:</div><div><br></div><div><ul class="MailOutline"><li>Driving</li><li>Car sitting on, but idle</li><li>Car sitting off, but idle</li><li>Car sitting off, then charge starts (perhaps 1 minute before charging, and 1 minute during charging)</li><li>Car charging completes (the last minute or so of a charge, followed by the minute afterwards)</li><li>Car charging interrupted (the last minute or so of a charge, followed by an interruption, followed by the minute afterwards)</li></ul></div><div><br></div><div>Regards, Mark.</div><div><br></div><div>P.S. This is for Tazzari only - it has a bunch of other work-in-progress for Tesla Roadster, so please just use this firmware in Tazzari.</div><div><br></div></div><span><OVMS.X.production.hex></span><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><br><div><div>On 5 Apr, 2013, at 11:10 PM, Patrick Kapsch <<a href="mailto:patrick.kapsch@mac.com">patrick.kapsch@mac.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><span style="-webkit-text-size-adjust: auto;">Maybe the sheet I've sent wasn't clearly structured. </span><span style="-webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">0x00 is also a valid value (called SUV) as well as all the others you've mentioned and correctly implemented.</span></div><div><span style="-webkit-text-size-adjust: auto;"><br></span>Patrick</div><div style="-webkit-text-size-adjust: auto; "><br>Am 05.04.2013 um 17:01 schrieb Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>>:<br><br></div><blockquote type="cite" style="-webkit-text-size-adjust: auto; "><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div><br></div>Looking at the code, I have implemented (as a start):<div><br></div><div><ul class="MailOutline"><li>SOC</li><li>Battery Capacity</li><li>Charge Status</li><li>Drive / Park</li><li>GPS location (via in-built gps)</li></ul></div><div><br></div><div>The charge status is currently working of PID 0xF6E0. In your log, these seem to be coming in as:</div><div><br></div><div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">0x775<span class="Apple-tab-span" style="white-space:pre">     </span>11,7059<span class="Apple-tab-span" style="white-space:pre">     </span>0A<span class="Apple-tab-span" style="white-space:pre">  </span>A1<span class="Apple-tab-span" style="white-space:pre">  </span>F6<span class="Apple-tab-span" style="white-space:pre">  </span>E0<span class="Apple-tab-span" style="white-space:pre">  </span>00<span class="Apple-tab-span" style="white-space:pre">  </span>00<span class="Apple-tab-span" style="white-space:pre">  </span>00<span class="Apple-tab-span" style="white-space:pre">  </span>00</blockquote></div><div><br></div><div>ie; value is always 0x0000000.</div><div><br></div><div>But, code expects values:</div><div><br></div><div><ul class="MailOutline"><li>0x04: Charge completed</li><li>0x63: Charge done/failed (depending on where we came from)</li><li>0x01,0x02, 0x03: Charging</li></ul></div><div><br></div><div>I'll have to check my notes, but the log doesn't seem to match what we were expecting.</div><div><br></div><div>The log is while charging the car, right?</div><div><br></div><div>Good news is that polling seems to work, and the 0x267 trigger is there and working well.</div><div><br></div><div>Regards, Mark.</div><div><br></div><div><div><div>On 5 Apr, 2013, at 10:18 PM, Patrick Kapsch <<a href="mailto:patrick.kapsch@mac.com">patrick.kapsch@mac.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div>Bus looks okay - the charge state is asked correctly and answered as well. But in fact OVMS doesn't recognize it.</div><div>Please check the Log-File below.</div><div><br></div><div>Patrick<br><br>Am 05. April 2013 um 15:42 schrieb Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>>:<br><br></div><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch">Can you check can write 1 (one of the features).<br> <br> On 5 Apr, 2013, at 9:35 PM, Patrick Kapsch <<a href="mailto:patrick.kapsch@mac.com" data-mce-href="mailto:patrick.kapsch@mac.com">patrick.kapsch@mac.com</a>> wrote:<br> <br> > Mark,<br> > I've just had a look on the bus activity and there is nothing going out on 0x078A. The OVMS isn't sending anything. I'm sure it's connected correctly as the parking indicator works. I'll send you the log file later. Any idea what could cause that? "MODULE?" gives me what it should: <br> > Module:<br> > VehicleID:GTTG12212<br> > VehicleType:TZ<br> > Units:K<br> > Notifications:SMSIP<br> > <br> > Anything wrong with the Vehicle type maybe?<br> > <br> > Thanks,<br> > Patrick<br> > <br> > Am 02.04.2013 um 15:36 schrieb Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" data-mce-href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>>:<br> > <br> >> From the code point of view, I do something similar to the Volt/Ampera.<br> >> <br> >> I need a periodic reception of CAN ID 0x267 to tell the system the bus is 'alive'. This should be at least once a second.<br> >> <br> >> If the bus is alive, then I poll the bus for the PIDs suggested.<br> >> <br> >> A second routine handles poll replies (on CAN ID 0x775). That does the decode for SOC, etc.<br> >> <br> >> If you manage to T the bus, the things to look for are if you see a periodic 0x267 to signify the bus is alive. Then, if you see the polling activity from OVMS going out on 0x078A. And, finally do you see the poll replies coming in on 0x775? In particular, 0xF9EF (SOC).<br> >> <br> >> Regards, Mark.<br> >> <br> >> On 2 Apr, 2013, at 9:14 PM, Patrick Kapsch <<a href="mailto:patrick.kapsch@mac.com" data-mce-href="mailto:patrick.kapsch@mac.com">patrick.kapsch@mac.com</a>> wrote:<br> >> <br> >>> Mark,<br> >>> that could be the problem then. I'll swtich them and try again. If that gives me values from the car, I can dive into the GPRS/Server-Issue.<br> >>> <br> >>> <br> >>>>> On the Tazzari there is no value at all. What could be wrong?<br> >>>> Now, that is going to be hard. On my desktop simulator, it worked fine.<br> >>>> <br> >>>> Can you double check vehicle type is TZ?<br> >>> checked. There is no possibility of encoding problems? Z being Y on the german keyboard layout.<br> >>>> Do you have any way of getting a CAN bus dump while the OVMS module is connected? That would allow us to see if the polling is working or not.<br> >>> I would have to rewire the adapter I've done for logging before.<br> >>> <br> >>> Thanks,<br> >>> Patrick<br> >>> <br> >>> Am 02.04.2013 um 15:12 schrieb Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" data-mce-href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>>:<br> >>> <br> >>>> Patrick,<br> >>>> <br> >>>> Yes, CAN-H and CAN-L matter. They must be correct.<br> >>>> <br> >>>> For adaptor software, any terminal emulator should be ok. Set to 9600 baud. Type "ATE1" to turn on command echo and save a transcript. That should tell us what is going on.<br> >>>> <br> >>>> Regards, Mark.<br> >>>> <br> >>>> On 2 Apr, 2013, at 9:10 PM, Patrick Kapsch <<a href="mailto:patrick.kapsch@mac.com" data-mce-href="mailto:patrick.kapsch@mac.com">patrick.kapsch@mac.com</a>> wrote:<br> >>>> <br> >>>>> Yes I've got an adapter. Which software should I use with it?<br> >>>>> <br> >>>>> Another question: Is there a difference from CAN high / CAN low? Does it matter if they are switched? That could possibly be one problem with polling data from the car, because I'm not sure which is which on the car.<br> >>>>> <br> >>>>> Thanks for your help.<br> >>>>> Patrick<br> >>>>> <br> >>>>> <br> >>>>> Am 02.04.2013 um 14:37 schrieb Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" data-mce-href="mailto:mark@webb-johnson.net">mark@webb-johnson.net</a>>:<br> >>>>> <br> >>>>>> Car connected once, delivered some messages, then disconnected (timeout).<br> >>>>>> <br> >>>>>> Do you have a USB-RS232 adapter? If so, that on the diagnostic port is the easiest way of finding out what is going on.<br> >>>>>> <br> >>>>>> Regards, Mark.<br> >>>>>> <br> >>>>>> On 2 Apr, 2013, at 7:43 PM, Patrick Kapsch <<a href="mailto:patrick.kapsch@mac.com" data-mce-href="mailto:patrick.kapsch@mac.com">patrick.kapsch@mac.com</a>> wrote:<br> >>>>>> <br> >>>>>>> Mark,<br> >>>>>>> I've got major issues regarding the 2.2.5. I've not even been able to get the GSM to work properly. I've got three modules and it's all very weird. I've got one Module working now with 2.2.5 by previously configuring it on 2.2.2 and then updating. It now connects to the GSM network but not to the OVMS Server. I can't get it to do so.<br> >>>>>>> Maybe you can have a look at the Serverlogs? ID has been GTTG1221 and now is GTTG12212 because I deleted the first one which was then in use.<br> >>>>>>> <br> >>>>>>> Thanks,<br> >>>>>>> Patrick<br> >>>>>>> _______________________________________________<br> >>>>>>> OvmsDev mailing list<br> >>>>>>> <a href="mailto:OvmsDev@lists.teslaclub.hk" data-mce-href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br> >>>>>>> <a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" data-mce-href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br> >>>>>> <br> >>>>>> _______________________________________________<br> >>>>>> OvmsDev mailing list<br> >>>>>> <a href="mailto:OvmsDev@lists.teslaclub.hk" data-mce-href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br> >>>>>> <a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" data-mce-href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br> >>>>> <br> >>>>> _______________________________________________<br> >>>>> OvmsDev mailing list<br> >>>>> <a href="mailto:OvmsDev@lists.teslaclub.hk" data-mce-href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br> >>>>> <a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" data-mce-href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br> >>>> <br> >>>> _______________________________________________<br> >>>> OvmsDev mailing list<br> >>>> <a href="mailto:OvmsDev@lists.teslaclub.hk" data-mce-href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br> >>>> <a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" data-mce-href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br> >>> <br> >>> _______________________________________________<br> >>> OvmsDev mailing list<br> >>> <a href="mailto:OvmsDev@lists.teslaclub.hk" data-mce-href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br> >>> <a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" data-mce-href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br> >> <br> >> _______________________________________________<br> >> OvmsDev mailing list<br> >> <a href="mailto:OvmsDev@lists.teslaclub.hk" data-mce-href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br> >> <a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" data-mce-href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br> > _______________________________________________<br> > OvmsDev mailing list<br> > <a href="mailto:OvmsDev@lists.teslaclub.hk" data-mce-href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br> > <a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" data-mce-href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br> _______________________________________________<br> OvmsDev mailing list<br> <a href="mailto:OvmsDev@lists.teslaclub.hk" data-mce-href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br> <a href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" data-mce-href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br></div></div></blockquote></div></div><span><ovms_attached_charging.CSV></span>_______________________________________________<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></blockquote><blockquote type="cite" style="-webkit-text-size-adjust: auto; "><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>