Skip to main content

PyPI Version Binder Code style: black

Introduction

The HASS-data-detective package helps you explore and analyse the data in your Home Assistant) database. If you are running HASS-data-detective on a machine with Home Assistant installed, it will automatically discover your database and by default collect information about the entities in your database. See the notebooks directory for examples of using the detective package. If you are on a Raspberry pi you should use the official JupyterLab add-on which includes HASS-data-detective

Prerequisites

  • Python 3.12.x is required.

Installation on your machine

You can either: pip install HASS-data-detective for the latest released version from pypi, or pip install git+https://github.com/robmarkcole/HASS-data-detective.git --upgrade for the bleeding edge version from github. Note that due to the matplotlib dependency, libfreetype6-dev is a requirement on aarch64 platforms (i.e. RPi).

Which version to install?

The 3.0 version from pypi requires the existence of a states_meta table which is not present in older Home Assistant databases. If you get the error (sqlite3.OperationalError) no such table: states_meta then you should install the earlier release with pip install HASS-data-detective==2.6

Development (VScode)

  • Create a venv: python3.12 -m venv venv
  • Activate venv: source venv/bin/activate
  • Confirm Python version: python --version (should be 3.12.x)
  • Install requirements: pip install -r requirements.txt
  • Install detective in development mode: pip install -e .
  • Install Jupyterlab to run the notebooks: pip install jupyterlab
  • Open the notebook at notebooks/Getting started with detective.ipynb

Running tests

  • Install dependencies: pip install -r requirements_test.txt
  • Run: python -m pytest tests

Contributors

Big thanks to @balloob and @frenck, checkout their profiles!

Metadata

Release files for HASS-data-detective 3.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for HASS-data-detective 3.5.1
File Size Uploaded
hass_data_detective-3.5.1.tar.gz 36.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for HASS-data-detective 3.5.1
File Interpreter ABI Platform
hass_data_detective-3.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 45.5 kB

Release files / hass_data_detective-3.5.1.tar.gz

Download URL hass_data_detective-3.5.1.tar.gz
Size 36.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5615fbd57a2aaccc181f768729e759285ba8ad858657237de5dab2ce1872ec95
BLAKE2b-256 checksum
How to use checksums
1dc8e50cda02d16949efbbd67a6113428ac339eef86be49850392ea7d658b400
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release files / hass_data_detective-3.5.1-py3-none-any.whl

Download URL hass_data_detective-3.5.1-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18fb39b25e90358c72d64b8f2652281b360eee537dc0c89d3f0c5bb3bf7c0be1
BLAKE2b-256 checksum
How to use checksums
02dee568834211e974123e6116af7911eb3c8127f59d886194b61b4ed36ae8b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

3.5.1 This release

2 release files

3.4

2 release files

3.3

2 release files

3.2

2 release files

3.0

2 release files

2.6

2 release files

2.5

2 release files

2.4

1 release file

2.3

1 release file

2.1

1 release file

2.0

1 release file

1.0

1 release file

0.9

1 release file

0.8

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page