Open source · Apache 2.0 · Experimental alpha

Make IoT fixtures easier to review.

IoT FixtureKit helps integration developers turn Tuya diagnostics into local fixture candidates and add heuristic checks to existing test workflows. It runs locally, without device credentials, a cloud account or telemetry.

Choose your first workflow

Start with one workflow. Core and the current starter ZIPs require no Home Assistant installation.

Install the published package

Python 3.9+. Use a virtual environment. Available on PyPI.

python -m pip install iot-fixturekit==0.1.0a9

Five-minute quickstart and synthetic examples

Use in a test workflow

iot-fixture-audit --profile tuya tests/fixtures/device.json

Use generic checks, a Tuya profile, or opt-in Overkiz, Kasa/Tapo, PyISYox and Plugwise profiles. Add pytest or pre-commit to check reviewed local files.

See the Tuya loader pilot and Overkiz masking pilot. These are first-party compatibility tests using synthetic input, not upstream adoption.

Inspect Studio without installing anything

Explore four recorded synthetic reports from a completed first-party GitHub Actions run. The static dashboard shows 36 expected checks, with detailed climate recovery and consumer compatibility observations.

Open the recorded Studio demo · Extended 47-check demo · Compare passing and authored failure demos

Download Studio Offline P1 (ZIP) · SHA-256 checksum. Python 3.9+, no repository checkout or optional dependencies. Live execution still requires the trusted source checkout.

Download single-file Studio (Python ZipApp) · SHA-256 checksum. Run with Python 3.9+ without extracting. Verify the executable archive before running.

Download Studio Desktop P2 (Python ZipApp) · SHA-256 checksum. Verify the archive, then run with Python 3.9+ and the desktop command (Tk and a graphical session required). Offline CLI is available without Tk.

Studio remains experimental and separate from the published alpha wheel. Recorded and authored demonstrations are not independent endorsement.

Real integration examples

Cosa V2 uses FixtureKit to project synthetic thermostat API responses into regression fixtures. Tapo S200B/S200D uses a single explicit policy for click and rotation event fixtures. Both are first-party projects with a development-only dependency, not independent endorsements.

Plain-text documentation index · CI template

Try a recorded switch fixture offline

Download a small synthetic replay example with pinned dependencies and nine pytest checks. Python 3.12 and network access for installation are required; the tests do not need Home Assistant or a device.

Download the portable replay example (ZIP) · SHA-256 checksum

Recorded first-party observations, not independent acceptance or a device emulator. Source and scope.

Start a mixed-profile fixture project

Try four synthetic fixture groups (generic, Tuya, Plugwise and Shelly with a reviewed placeholder policy) with one configuration and a ready-to-adapt GitHub Actions workflow. Python 3.12 and network access for installing the hash-pinned Alpha 9 wheel are required. No device or source checkout is needed.

Download the mixed-profile starter (ZIP) · SHA-256 checksum

Historical Alpha 8 starter · SHA-256 checksum

First-party synthetic example, not independent adoption. Source and limitations.

Replay synthetic responses in your tests

Try the shared response helper used in first-party Cosa and Tapo tests, with four local checks for failure recovery, strict request matching, projection and exact helper integrity. Python 3.12 and the hash-pinned Alpha 9 wheel are sufficient; no Home Assistant or real HTTP transport.

Download the response replay starter (ZIP) · SHA-256 checksum

Experimental test example, not a public Core API or independent adoption.

Help shape a useful tool

If you already maintain IoT test fixtures, try a synthetic example and share what worked or failed: setup time, steps saved, false positives, or missing checks.

Pilot feedback · Contributing

Tuya contributor starter · SHA-256 checksum. Synthetic only, Python 3.12; keep existing upstream checks and manual review.

Security boundaries

A clean audit is not a privacy guarantee. Keep existing redactors and manual review. Do not upload real diagnostics or identifiers. Independent security review is pending.

Report a vulnerability privately