Make IoT fixtures easier to review.
-IoT FixtureKit helps integration developers turn Tuya diagnostics into local fixture candidates and add heuristic fixture and HTTP archive checks to existing test workflows. Core runs locally, without device credentials, a cloud account or telemetry.
- +Test IoT integrations without waiting for devices.
+Build reviewed fixtures, audit selected sensitive fields, and replay synthetic failures and recovery in your existing Python tests. Local-first, without a cloud account or physical hardware.
+ +
Choose your first workflow
Make IoT fixtures easier to review.
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 3.9+. Use a virtual environment. PyPI package · Alpha 10 release.
python -m pip install iot-fixturekit==0.1.0a10
Use in a test workflow
@@ -61,11 +74,21 @@Make IoT fixtures easier to review.
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.
Build synthetic device regression scenarios
+Build synthetic device regression scenarios
P2 fixes loss of applied unsaved steps on close. Historical P1 (SHA-256) remains available for pinned consumers; save before closing P1.
Scenario Preview P2 combines a structured Tk editor, deterministic virtual time, offline replay and counts-only regression results. Choose climate or switch, define independent responses and expectations, and test without Home Assistant or physical devices.
-Download Scenario Preview P2 (ZIP) · SHA-256 checksum · Setup and limitations
+Follow one real bundled synthetic timeline
The P2 climate example runs a 31-second virtual timeline with a 30-second outage and recovery without sleeping. The following timeline describes the actual bundled manifest, not a live device.
+- 0 ms · HTTP 20019°CAvailable
- 1,000 ms · HTTP 503UnavailableOutage begins
- 30,000 ms · HTTP 503UnavailableOutage continues
- 31,000 ms · HTTP 20023°CRecovered
Original expectation: 23°C +status: pass +observations: 4 +virtual_elapsed_ms: 31000
Change expectation to 24°C +status: fail +stage: comparison +values_changed: 1
Condensed output from the P2 onboarding checks. Try the pass and deliberate failure.
+Download Scenario Preview P2 (ZIP) · SHA-256 checksum · Setup and limitations
Python 3.12 and package access for hash-pinned Alpha 10 dependencies are required. Tk is optional. This is an experimental source bundle, not an installer or a new PyPI release. Independent review remains open.
Real integration examples
Cosa V2 uses FixtureKit to project synthetic thermostat API responses into regression fixtures. @@ -84,8 +107,8 @@
Make IoT fixtures easier to review.
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
+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.
-Tuya contributor starter · SHA-256 checksum. Synthetic only, Python 3.12; keep existing upstream checks and manual review.
Share 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.