🏠 HADocs

Smart Home Intelligence for Home Assistant
Find root causes. Improve health. Generate documentation.


πŸš€ What is HADocs?

HADocs is a local-first Smart Home Intelligence tool for Home Assistant.

Instead of overwhelming you with hundreds or thousands of entities, HADocs analyzes your installation, groups symptoms into Root Causes, calculates a transparent Health Score, and generates a modern intelligence dashboard.

HADocs runs locally. No cloud. No telemetry. No external AI calls.


✨ Why HADocs?

Traditional diagnostics tell you what is broken.

HADocs helps you understand what to fix first.

Traditional tools HADocs
Hundreds of unavailable entities βœ… Groups symptoms into root causes
Raw technical data βœ… Executive summary
Manual troubleshooting βœ… Prioritized repair plan
Unknown impact βœ… Health Score prediction
Scattered information βœ… Dashboard, Explorer and Markdown docs
Hard to share safely βœ… Local, redacted Knowledge Pack

❀️ Dashboard Engine v2

Dashboard Overview

The new Dashboard Engine gives you a product-like view of your Home Assistant installation:

  • Executive Summary
  • Health Score
  • Potential Health Score
  • Estimated repair time
  • Installation Overview
  • Root Cause cards
  • Recommended Actions
  • History
  • Explorer and Knowledge Pack shortcuts

❀️ Health Score v2

Installation Overview

Health Score v2 is designed to be explainable and fair for both small and large installations.

It considers active affected entities, critical issues, warnings, maintenance issues, root cause complexity, installation size, disabled entities and potential improvement.

Disabled entities are ignored as active problems, and penalties are normalized so large installations are not punished unfairly.


⚑ Smart Recommendations

Top Recommendations

HADocs prioritizes what matters most.

For each recommendation, HADocs can show likely root cause, affected entities, affected devices, estimated repair time, expected Health Score gain and child incidents.

Don't fix everything. Fix what matters first.


πŸ”₯ Root Cause Intelligence

Root Cause Analysis

HADocs focuses on causes, not symptoms.

Instead of showing 176 unavailable entities as 176 separate problems, HADocs can group them into a single Root Cause.

Mobile App devices
3 devices offline
176 affected entities
Estimated repair time: 2 minutes
Potential Health Score gain: +8

πŸ“ˆ Transparent Scoring

Score Explanation

No black box.

Health Score v2 explains why points were lost and what can improve them.


πŸ“š Generated Output

Generated Output

Every scan generates a complete local intelligence package:

output/
β”œβ”€β”€ index.html
β”œβ”€β”€ index.md
β”œβ”€β”€ 00_executive_dashboard.md
β”œβ”€β”€ 01_root_causes.md
β”œβ”€β”€ 02_incidents.md
β”œβ”€β”€ explorer/
β”œβ”€β”€ knowledge/
β”œβ”€β”€ history/
└── csv/

Generated formats include interactive HTML Dashboard, HTML Explorer, Markdown documentation, Knowledge Pack, redacted Knowledge Pack, CSV exports and history snapshots.


πŸ” Explorer

The Explorer lets you browse generated data by areas, devices, entities, integrations and relationships.


🧠 Knowledge Pack

HADocs exports structured local knowledge that can be used with AI assistants manually.

HADocs does not upload it automatically.

You choose what to share.

output/knowledge/
output/knowledge/redacted/

πŸ”’ Privacy first

HADocs is built for local analysis.

  • βœ… Runs locally
  • βœ… No telemetry
  • βœ… No cloud upload
  • βœ… No external AI calls
  • βœ… Home Assistant token stored in Windows Credential Manager
  • βœ… config.json does not store tokens
  • βœ… Redacted Knowledge Pack available

πŸ–₯️ Installation

Windows

  1. Download the latest release from GitHub Releases.
  2. Extract HADocs-v0.13.0-win64.zip.
  3. Run HADocs.exe.
  4. Enter your Home Assistant URL and Long-Lived Access Token.
  5. Click Scan Home Assistant.

Python is not required for the Windows release.

From source

git clone https://github.com/SirBlondieDK/HADocs.git
cd HADocs
py -3.14 -m pip install -e .
py -3.14 main.py

πŸ§ͺ Development

Run tests:

py -3.14 -m pytest

Build Windows package:

powershell -ExecutionPolicy Bypass -File installer/build_windows.ps1
Compress-Archive -Path dist\HADocs\* -DestinationPath HADocs-v0.13.0-win64.zip -Force

πŸ—ΊοΈ Roadmap

See ROADMAP.md.

Next milestones:

  • v0.14: Explain This, deeper repair guidance, dependency graph
  • v0.15: Automation Intelligence, Lovelace review, Zigbee health
  • v1.0: stable public release, localization, installer and automatic updates

🀝 Contributing

Contributions are welcome. See CONTRIBUTING.md.


❀️ Built for the Home Assistant community

HADocs was created by a Home Assistant user to make troubleshooting faster, clearer and more enjoyable.

If HADocs saves you time, consider giving the project a ⭐ on GitHub.