{"id":28667840,"url":"https://github.com/relan/millet","last_synced_at":"2025-07-23T17:05:42.104Z","repository":{"id":87336161,"uuid":"87149211","full_name":"relan/millet","owner":"relan","description":"Command line tool for Xiaomi Mi Band","archived":true,"fork":false,"pushed_at":"2018-01-07T19:36:10.000Z","size":13,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-13T16:11:37.087Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/relan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-04-04T04:53:18.000Z","updated_at":"2024-06-12T10:34:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"326100b2-b970-4d13-9537-ba9bef663b91","html_url":"https://github.com/relan/millet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/relan/millet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relan%2Fmillet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relan%2Fmillet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relan%2Fmillet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relan%2Fmillet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/relan","download_url":"https://codeload.github.com/relan/millet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/relan%2Fmillet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266717691,"owners_count":23973382,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":"2025-06-13T16:10:46.696Z","updated_at":"2025-07-23T17:05:42.096Z","avatar_url":"https://github.com/relan.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"About\n-----\n\nMillet is a command line tool for\n[Xiaomi Mi Band](https://en.wikipedia.org/wiki/Xiaomi_Mi_Band). It was created\nto reverse engineer the protocol but can also be useful for end users. Requires\n[BlueZ](http://www.bluez.org) and [expect](http://expect.sourceforge.net).\n\nUsage\n-----\n\nFirst of all you need to find out the Bluetooth MAC address of your band:\n\n    $ sudo hcitool lescan\n    LE Scan ...\n    88:0F:10:EC:70:22 (unknown)\n    88:0F:10:EC:70:22 MI\n\nThen use it to connect:\n\n    $ ./millet 88:0F:10:EC:70:22\n    spawn gatttool -I -b 88:0F:10:EC:70:22\n    connect\n    [88:0F:10:EC:70:22][LE]\u003e connect\n    Attempting to connect to 88:0F:10:EC:70:22\n    Connection successful\n    [88:0F:10:EC:70:22][LE]\u003e char-read-uuid ff01\n    handle: 0x0012 \t value: 88 9d 87 b8 00 00 02 8e 00 06 00 02 0e 0a 00 01 \n    [88:0F:10:EC:70:22][LE]\u003e Firmware: 1.0.10.14\n    char-read-uuid ff0c\n    handle: 0x002c \t value: 33 11 0a 19 11 02 34 0c 00 04 \n    [88:0F:10:EC:70:22][LE]\u003e Battery: 51%, 12 cycles, last charge 2017-11-25\n    char-read-uuid ff06\n    handle: 0x001d \t value: b7 30 00 00 \n    [88:0F:10:EC:70:22][LE]\u003e Steps: 12471\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelan%2Fmillet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frelan%2Fmillet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelan%2Fmillet/lists"}