hass-occupancy
Home Assistant add-on that forecasts who will be home, hour by hour, for the next 48 hours. Including estimated time of depature and arrival
What XERJ indexed
Snapshot
The whole repository at commit c1ec448a7f (2026-10-13). main is 21 commits ahead.
Selected work

“Promote 0.4.3: training that fits in memory and publishes models whole”. 5 files, 318 lines in occupancy-forecast, occupancy-forecast-edge.
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-15. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
homeassistanthomeassistant-addonsoccupancy-prediction
Example questions
- How does hass-occupancy implement homeassistant?
- Where does hass-occupancy handle “Promote 0.4.3: training that fits in memory and publishes models whole”?
- What does occupancy-forecast do in hass-occupancy?
Inside the indexed corpus
- 275 files, 3.7 MB in total, about 13.7 KB per file.
- The selected commit changed 5 of those files (1.8%).
- Languages by size: Python 76.9%, TypeScript 17.6%, CSS 3.3%, Shell 2%, Dockerfile 0.2%.
- On GitHub since 2026-08-31, last push 2026-10-28, 65 commits on main.
- The pin is 21 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for MartvanMale/hass-occupancy on 2026-10-31, and the LICENSE file at commit c1ec448a7f was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Mart van Male (@MartvanMale) has 1 selected repository on the hub.
Using XERJ with hass-occupancy
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones MartvanMale/hass-occupancy at the pinned commit and indexes it on your machine.
Search the GitHub repository MartvanMale/hass-occupancy with XERJ (https://hub.xerj.org/corpus/martvanmale--hass-occupancy). 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/MartvanMale/hass-occupancy hass-occupancy && git -C hass-occupancy checkout c1ec448a7f950e49e823a433ba625aa5599958a5 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./hass-occupancy --url http://127.0.0.1:9200 --prefix hass-occupancy --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: MIT. Keep the copyright notice and credit the authors.
Related
Mart van MaleAPI design and specification corporagritaro/gigachainmarpi82/ha-atmostomasbobala/smart_heating
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.