com.xiaomi-miio
Homey app to control Mi Home devices that implement the miIO protocol and Xiaomi gateway child devices
What XERJ indexed
Snapshot
The whole repository at commit dd829a771a (2026-10-04). master is 30 commits ahead.
Selected work

“Fixed Roborock S5 polling recovery to prevent repeated reconnects and…”. 3 files, 228 lines in test, drivers.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-06. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: approach only
homeyhomeyappxiaomimihomemihomeymiiozigbeegateway
Example questions
- How does com.xiaomi-miio implement homey?
- What does drivers do in com.xiaomi-miio?
- Show the homeyapp code in com.xiaomi-miio.
Inside the indexed corpus
- 2,085 files, 27.3 MB in total, about 13.4 KB per file.
- The selected commit changed 3 of those files (0.1%).
- Languages by size: JavaScript 78.2%, HTML 21.7%, Shell 0.1%.
- On GitHub since 2017-05-13, last push 2026-10-27, 658 commits on master.
- The pin is 30 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported GPL-3.0 for shaarkys/com.xiaomi-miio on 2026-10-31, and the LICENSE file at commit dd829a771a was reviewed as GPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Bretislav Kubesa (@shaarkys) has 1 selected repository on the hub.
Using XERJ with com.xiaomi-miio
- Index a monorepo so your agent stops reading the whole repo The pinned tree has 2,085 files.
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
The prompt
Paste it into your AI agent. It clones shaarkys/com.xiaomi-miio at the pinned commit and indexes it on your machine.
Search the GitHub repository shaarkys/com.xiaomi-miio with XERJ (https://hub.xerj.org/corpus/shaarkys--com-xiaomi-miio). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/shaarkys/com.xiaomi-miio com.xiaomi-miio && git -C com.xiaomi-miio checkout dd829a771a83ef9868ff730c4256cc3ee5a5e9a4 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./com.xiaomi-miio --url http://127.0.0.1:9200 --prefix com-xiaomi-miio --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: GPL-3.0. Read it for the approach only, do not copy code.
Related
Bretislav KubesaNetworking, protocols and serialisation corporagateway-apigrpc-gatewaymozilla-ai/otariashaffah/edgesanketdhole/torana-gateway
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.