Skip to content

DanyEarth/zero-log-parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zero log parser

This is a little decoder utility to parse Zero Motorcycle main bike board (MBB) logs.

Usage

Getting Logs

These may be extracted from the bike using the Zero mobile app: http://www.zeromotorcycles.com/app/help/ios/

  • Download the Zero mobile app.
  • Pair your motorcycle with it via bluetooth.
  • Once the pairing is working, select Support > Email bike logs and send the logs to yourself rather than / in addition to Zero Motorcycles support.

Running

You'll need to install Python 2 somehow from https://www.python.org/downloads/

$ python zero_log_parser.py <*.bin file> [-o output_file]

Development

Basic log documentation is at log_structure.md.

If you want to debug the script and contribute, it's helpful to be able to run the tests. These currently look at a suite of log files and just run the parser to look for errors.

Setup

$ python setup.py develop

Testing

$ python test.py <directory of log files>

Authors

Originally developed at https://github.com/KimBurgess/zero-log-parser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%