{"id":17872057,"url":"https://github.com/moritzsternemann/acaia-swift","last_synced_at":"2025-09-29T07:06:52.152Z","repository":{"id":221843272,"uuid":"755188266","full_name":"moritzsternemann/acaia-swift","owner":"moritzsternemann","description":"Interact with Acaia smart scales via Bluetooth in Swift","archived":false,"fork":false,"pushed_at":"2024-02-19T11:44:29.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T13:42:39.098Z","etag":null,"topics":["acaia","bluetooth","coffee","smart-scale","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moritzsternemann.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}},"created_at":"2024-02-09T15:57:24.000Z","updated_at":"2024-10-07T17:16:09.000Z","dependencies_parsed_at":"2024-10-31T23:32:32.527Z","dependency_job_id":null,"html_url":"https://github.com/moritzsternemann/acaia-swift","commit_stats":null,"previous_names":["moritzsternemann/acaia-swift"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moritzsternemann%2Facaia-swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moritzsternemann%2Facaia-swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moritzsternemann%2Facaia-swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moritzsternemann%2Facaia-swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moritzsternemann","download_url":"https://codeload.github.com/moritzsternemann/acaia-swift/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246907697,"owners_count":20853134,"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","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":["acaia","bluetooth","coffee","smart-scale","swift"],"created_at":"2024-10-28T10:40:11.130Z","updated_at":"2025-09-29T07:06:47.132Z","avatar_url":"https://github.com/moritzsternemann.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# acaia-swift\n\n*Interact with [Acaia smart scales](https://acaia.co/collections/coffee-scales) via Bluetooth in Swift*\n\n\u003e ⚠️ This project is a work in progress and not recommended for production use. It is only tested with a 2021 Acaia Lunar and currently doesn't support older generation scales.\n\n## Overview\n\nThe `AcaiaProtocol` library implements decoding of received values and encoding of commands. Note that the Bluetooth communication itself is not implemented yet.\n\nThe following values can be decoded:\n- Scale status (battery level, weight unit, weighing mode, etc.)\n- Weight (including stable-indicator)\n- Battery level update\n- Timer update\n- Actions (start timer, reset timer, pause timer)\n\nThe following commands can be encoded:\n- Heartbeat (keeps connection alive)\n- Authenticate\n- Notification request\n- Status request\n- Tare\n- Start timer\n- Pause timer\n- Reset timer\n\n## Credits\n\nThis project is heavily inspired by [lucapinello/pyacaia](https://github.com/lucapinello/pyacaia) and extended with my own findings from reverse-engineering the protocol.\n\n## Contribute\n\nDo you know anything more about the protocol? Have you found a bug? I am happy about all code contributions. Or just open an issue with a short description of your findings.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoritzsternemann%2Facaia-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoritzsternemann%2Facaia-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoritzsternemann%2Facaia-swift/lists"}