This is a little decoder utility to parse Zero Motorcycle main bike board (MBB) 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.
You'll need to install Python 2 somehow from https://www.python.org/downloads/
$ python zero_log_parser.py <*.bin file> [-o output_file]
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.
$ python setup.py develop
$ python test.py <directory of log files>
Originally developed at https://github.com/KimBurgess/zero-log-parser
- Kim Burgess - Initial Work, Inactive - @KimBurgess
- Brian Rice - Maintainer - @BrianTRice
- Keith Thomas - Contributor - @keithxemi