ElectricMotorcycleForum.com

Makes And Models => Zero Motorcycles Forum | 2013+ => Topic started by: atomicdog on March 18, 2026, 12:34:46 PM

Title: Log files for SR/S and SR/F wanted
Post 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)
Title: Re: Log files for SR/S and SR/F wanted
Post by: KuRi on March 18, 2026, 04:06:55 PM
Hi!

I have logs for the DSR/X, do they work for you? If so, please let me know how to share.
Title: Re: Log files for SR/S and SR/F wanted
Post by: Specter on March 18, 2026, 08:57:51 PM
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
Title: Re: Log files for SR/S and SR/F wanted
Post by: atomicdog on March 18, 2026, 09:38:59 PM
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.
Title: Re: Log files for SR/S and SR/F wanted
Post by: atomicdog on March 18, 2026, 09:50:39 PM
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.
Title: Re: Log files for SR/S and SR/F wanted
Post by: eglatzer on March 19, 2026, 04:37:34 PM
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.
Title: Re: Log files for SR/S and SR/F wanted
Post by: atomicdog on March 26, 2026, 10:19:30 AM
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.