ElectricMotorcycleForum.com
Makes And Models => Zero Motorcycles Forum | 2013+ => Topic started by: atomicdog on March 18, 2026, 12:34:46 PM
-
I'm working on a parser for the MBB/BMS/BMU log files.
I'd appreciate it if anyone's willing to share log files they have so I can improve the parsing ability.
The log entries aren't consistent and have many 'corner cases'.
Thanks
Update: email (zkemwcsg3@relay.firefox.com)
-
Hi!
I have logs for the DSR/X, do they work for you? If so, please let me know how to share.
-
atomic perhaps i am totally misunderstanding what you are saying, but you are having parsing issues and 'cornering issues'
try saving as a text file, or work it as such and disable word wrap. another trick sometimes is find and replace <CR> with , or something and then deliniate on that for a csv output.
it might help, just saying
Aaron
-
Hi!
I have logs for the DSR/X, do they work for you? If so, please let me know how to share.
Hi, I'm not sure if those have the same format but, yes I'd be interested in those too.
You can send me an email (zkemwcsg3@relay.firefox.com).
Thanks.
-
atomic perhaps i am totally misunderstanding what you are saying, but you are having parsing issues and 'cornering issues'
try saving as a text file, or work it as such and disable word wrap. another trick sometimes is find and replace <CR> with , or something and then deliniate on that for a csv output.
it might help, just saying
Aaron
I use a hex editor to inspect the files so I can read them fine. The log files are a mix of binary and text, so text editors wouldn't display a lot of the info.
What I meant by parsing, is creating an algorithm to parse the log entries and extract the info.
-
Have a look at https://ernstgl.github.io/ZeroGen3LogParser/
You can download it and look at the javascript inside - it has comments.
Maybe you find a better solution.
The logfiles of all FST platform bikes (SR/S, SR/F DSR/X and newer S, SR, DSR) should be of the same format.
-
The DSR/X BMU log was very similar but not exact. Zero seems to randomly change parts of the encoding with different FW version, model numbers, and years.