<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>Thanks Tom!</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-style: normal; background-color: transparent;"><span><br></span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Saturday, June 21, 2014 12:07 AM, Tom Saxton <tom@idleloop.com> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container">Hi Nikolay,<br
 clear="none"><br clear="none">I've attached a zip archive with three files. I changed the file extension<br clear="none">for email servers that filter out zip archives, so you'll need to change<br clear="none">.piz to .zip then unpack the archive.<br clear="none"><br clear="none">The three files are:<br clear="none"><br clear="none">ovms.pl - A Perl script that will download and display the most recent<br clear="none">charge status, the drive logs, the charge logs and/or the server's message<br clear="none">history. The records are decoded and shown in a slightly more human<br clear="none">readable form. Command line arguments determine which items it downloads.<br clear="none">It always gets the more recent charge status. To get the others, put<br clear="none">drive, charge or server on the command line. This script is just for<br clear="none">displaying the OVMS data, it doesn't store anything.<br clear="none"><br clear="none">Before using the script,
 you'll need to fill in your account and vehicle<br clear="none">info at the top of the file.<br clear="none"><br clear="none">ovms-log-archive.pl - This is the one that downloads all of the info and<br clear="none">dumps it out to text files. Again, it needs to be customized with your<br clear="none">account and vehicle info. It dumps all of the charge and drive logs into<br clear="none">one file (in ascending time order) and all of the stored messages to<br clear="none">another. The messages are saved in their raw format, no formatting is<br clear="none">done. I have this one set up to run once every 12 hours.<br clear="none"><br clear="none">com.idleloop.ovms-logs.plist - If you'll be running the log archive script<br clear="none">on OS X, this Launch Control script will set up the automation. You'll<br clear="none">want to open this file in a text editor and customize the three paths,<br clear="none">then copy it to ~/Library/LaunchAgents. From that
 directory, run this<br clear="none">command to enable the automation:<br clear="none"><br clear="none">launchctl load -w com.idleloop.ovms-logs.plist<br clear="none"><br clear="none">   Tom<br clear="none"><div class="yqt6569466307" id="yqtfd44187"><br clear="none">On 6/20/14, 1:11 PM, "Nikolay Shishkov" <<a shape="rect" ymailto="mailto:nshishkov@yahoo.com" href="mailto:nshishkov@yahoo.com">nshishkov@yahoo.com</a>> wrote:<br clear="none"><br clear="none"><br clear="none">Hi Tom ,<br clear="none"><br clear="none">Do you mind sharing that script?<br clear="none"><br clear="none">Nikolay<br clear="none"> <br clear="none"><br clear="none"><br clear="none">     On Thursday, June 19, 2014 7:07 PM, Tom Saxton <<a shape="rect" ymailto="mailto:tom@idleloop.com" href="mailto:tom@idleloop.com">tom@idleloop.com</a>><br clear="none">wrote:<br clear="none"><br clear="none"> I guess that means I should be running my script that downloads
 and<br clear="none">archives all of the records twice per day.<br clear="none"><br clear="none">   Tom<br clear="none"><br clear="none"></div><br><div class="yqt6569466307" id="yqtfd97364">_______________________________________________<br clear="none">OvmsDev mailing list<br clear="none"><a shape="rect" ymailto="mailto:OvmsDev@lists.teslaclub.hk" href="mailto:OvmsDev@lists.teslaclub.hk">OvmsDev@lists.teslaclub.hk</a><br clear="none"><a shape="rect" href="http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" target="_blank">http://lists.teslaclub.hk/mailman/listinfo/ovmsdev</a><br clear="none"></div><br><br></div>  </div> </div>  </div> </div></body></html>