{"id":22761688,"url":"https://github.com/jakeler/bms-parser","last_synced_at":"2025-10-10T18:06:01.171Z","repository":{"id":44414217,"uuid":"226551952","full_name":"Jakeler/bms-parser","owner":"Jakeler","description":"Binary protocol parser for the smart BMS from LTT Power","archived":false,"fork":false,"pushed_at":"2022-10-18T13:21:02.000Z","size":404,"stargazers_count":53,"open_issues_count":3,"forks_count":13,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T19:41:47.729Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jakeler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-07T17:34:17.000Z","updated_at":"2024-11-28T22:52:09.000Z","dependencies_parsed_at":"2022-09-13T00:11:37.768Z","dependency_job_id":null,"html_url":"https://github.com/Jakeler/bms-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Jakeler/bms-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jakeler%2Fbms-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jakeler%2Fbms-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jakeler%2Fbms-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jakeler%2Fbms-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jakeler","download_url":"https://codeload.github.com/Jakeler/bms-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jakeler%2Fbms-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004906,"owners_count":26083802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-11T09:14:33.259Z","updated_at":"2025-10-10T18:06:01.147Z","avatar_url":"https://github.com/Jakeler.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BMS parser\nDefinitions for the generic smart battery managment system protocol. \nIt is written with [Kaitai Struct](https://kaitai.io/), which can used to export parsers in different languages, some examples are in `py` for Python. `main.py` allows logging to a file or MongoDB instance, see the parameters.\n\n`py/tui` contains a terminal based UI:\n![overview TUI animated](tui.gif)\n\nIt depends on `rich`, `pyserial` and `kaitaistruct` (runtime) module. \nAll of them can be installed with `pip install -r py/requirements.txt`, then it can be launched with:\n```\npython -m py.tui.main /path/to/tty\n```\n\n### Non Python Parsing\nFor other languages you can use the compiler, for example:\n```terminal\n$ cd kaitai\n$ kaitai-struct-compiler -t java battery_management_system_protocol.ksy\n```\n(Options for -t: graphviz, csharp, rust, all, perl, java, go, cpp_stl, php, lua, python, nim, html, ruby, construct, javascript)\n\n`dumps` contains DSView logic analyzer captures of the protocol. In `decoder/bms` includes a protocol decoder for DSView or sigrok Pulseview, you can try it out with the captures.\n\nRead more about the protocol: https://blog.ja-ke.tech/2020/02/07/ltt-power-bms-chinese-protocol.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakeler%2Fbms-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakeler%2Fbms-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakeler%2Fbms-parser/lists"}