{"id":16769525,"url":"https://github.com/cmur2/miflorad","last_synced_at":"2025-03-21T23:34:02.053Z","repository":{"id":34132318,"uuid":"159222440","full_name":"cmur2/miflorad","owner":"cmur2","description":"Tools written in Go for interfacing with Xiaomi Flora sensors for IoT use cases.","archived":false,"fork":false,"pushed_at":"2025-02-06T00:46:37.000Z","size":100,"stargazers_count":7,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T04:18:00.510Z","etag":null,"topics":["bluetooth-le","bluetooth-low-energy","iot","plant-monitoring","plants","xiaomi","xiaomi-flora-sensors"],"latest_commit_sha":null,"homepage":"https://mycroba.se/mirror-redirect/miflorad","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cmur2.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":"2018-11-26T19:35:34.000Z","updated_at":"2024-11-28T12:56:27.000Z","dependencies_parsed_at":"2024-03-14T09:54:43.507Z","dependency_job_id":"2cc171a2-dbda-4c38-b4f8-071b7e390b67","html_url":"https://github.com/cmur2/miflorad","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmur2%2Fmiflorad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmur2%2Fmiflorad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmur2%2Fmiflorad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmur2%2Fmiflorad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmur2","download_url":"https://codeload.github.com/cmur2/miflorad/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244166746,"owners_count":20409179,"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":["bluetooth-le","bluetooth-low-energy","iot","plant-monitoring","plants","xiaomi","xiaomi-flora-sensors"],"created_at":"2024-10-13T06:14:19.454Z","updated_at":"2025-03-21T23:34:01.790Z","avatar_url":"https://github.com/cmur2.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# miflorad\n\n![Build Status](https://github.com/cmur2/miflorad/workflows/ci/badge.svg)\n\nThis project aims to produce tools written in Go for interfacing with Xiaomi Flora sensors for IoT use cases.\n\n## Misc\n\nIf the Intel Wireless Bluetooth 8265 chip gets stuck ([source](https://bbs.archlinux.org/viewtopic.php?id=193813)):\n\n```bash\n# pip install pyusb\nsudo python utils/reset.py\n```\n\nThe output of `gatttool` listing all characteristics of a Xiaomi Flora sensor (firmware version 2.7.0):\n\n```\n$ gatttool -b C4:7C:8D:xx:xx:xx --characteristics\nhandle = 0x0002, char properties = 0x02, char value handle = 0x0003, uuid = 00002a00-0000-1000-8000-00805f9b34fb\nhandle = 0x0004, char properties = 0x02, char value handle = 0x0005, uuid = 00002a01-0000-1000-8000-00805f9b34fb\nhandle = 0x0006, char properties = 0x0a, char value handle = 0x0007, uuid = 00002a02-0000-1000-8000-00805f9b34fb\nhandle = 0x0008, char properties = 0x02, char value handle = 0x0009, uuid = 00002a04-0000-1000-8000-00805f9b34fb\nhandle = 0x000d, char properties = 0x22, char value handle = 0x000e, uuid = 00002a05-0000-1000-8000-00805f9b34fb\nhandle = 0x0011, char properties = 0x1a, char value handle = 0x0012, uuid = 00000001-0000-1000-8000-00805f9b34fb\nhandle = 0x0014, char properties = 0x02, char value handle = 0x0015, uuid = 00000002-0000-1000-8000-00805f9b34fb\nhandle = 0x0016, char properties = 0x12, char value handle = 0x0017, uuid = 00000004-0000-1000-8000-00805f9b34fb\nhandle = 0x0018, char properties = 0x08, char value handle = 0x0019, uuid = 00000007-0000-1000-8000-00805f9b34fb\nhandle = 0x001a, char properties = 0x08, char value handle = 0x001b, uuid = 00000010-0000-1000-8000-00805f9b34fb\nhandle = 0x001c, char properties = 0x0a, char value handle = 0x001d, uuid = 00000013-0000-1000-8000-00805f9b34fb\nhandle = 0x001e, char properties = 0x02, char value handle = 0x001f, uuid = 00000014-0000-1000-8000-00805f9b34fb\nhandle = 0x0020, char properties = 0x10, char value handle = 0x0021, uuid = 00001001-0000-1000-8000-00805f9b34fb\nhandle = 0x0024, char properties = 0x0a, char value handle = 0x0025, uuid = 8082caa8-41a6-4021-91c6-56f9b954cc34\nhandle = 0x0026, char properties = 0x0a, char value handle = 0x0027, uuid = 724249f0-5ec3-4b5f-8804-42345af08651\nhandle = 0x0028, char properties = 0x02, char value handle = 0x0029, uuid = 6c53db25-47a1-45fe-a022-7c92fb334fd4\nhandle = 0x002a, char properties = 0x0a, char value handle = 0x002b, uuid = 9d84b9a3-000c-49d8-9183-855b673fda31\nhandle = 0x002c, char properties = 0x0e, char value handle = 0x002d, uuid = 457871e8-d516-4ca1-9116-57d0b17b9cb2\nhandle = 0x002e, char properties = 0x12, char value handle = 0x002f, uuid = 5f78df94-798c-46f5-990a-b3eb6a065c88\nhandle = 0x0032, char properties = 0x0a, char value handle = 0x0033, uuid = 00001a00-0000-1000-8000-00805f9b34fb\nhandle = 0x0034, char properties = 0x1a, char value handle = 0x0035, uuid = 00001a01-0000-1000-8000-00805f9b34fb\nhandle = 0x0037, char properties = 0x02, char value handle = 0x0038, uuid = 00001a02-0000-1000-8000-00805f9b34fb\nhandle = 0x003b, char properties = 0x02, char value handle = 0x003c, uuid = 00001a11-0000-1000-8000-00805f9b34fb\nhandle = 0x003d, char properties = 0x1a, char value handle = 0x003e, uuid = 00001a10-0000-1000-8000-00805f9b34fb\nhandle = 0x0040, char properties = 0x02, char value handle = 0x0041, uuid = 00001a12-0000-1000-8000-00805f9b34fb\n```\n\n## Related Work\n\n- [https://wiki.hackerspace.pl/projects:xiaomi-flora](https://wiki.hackerspace.pl/projects:xiaomi-flora) (very nice teardown)\n- [https://github.com/open-homeautomation/miflora](https://github.com/open-homeautomation/miflora) (python library)\n\n## Doing a release\n\nInstall the [github-release binary](https://github.com/buildkite/github-release) helper somewhere into your path as `github-release`.\n\nYou also need a [personal access token](https://github.com/settings/tokens) for your Github account.\n\nThe below will create a Github release of `miflorad` based on your current git working copy and create a matching git tag:\n\n```bash\nexport GITHUB_RELEASE_ACCESS_TOKEN=my-personal-access-token\nMIFLORAD_VERSION=x.y.z make release\n```\n\n## License\n\nmiflorad is licensed under the Apache License, Version 2.0. See LICENSE for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmur2%2Fmiflorad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmur2%2Fmiflorad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmur2%2Fmiflorad/lists"}