# IDM Web Capture

Read-only diagnostics for IDM Navigator heat pumps, with a Windows wizard and a Python CLI. Companion to [IDM Heatpump for Home Assistant](https://github.com/Xerolux/idm-heatpump-hass). Current standalone tool: **1.19.9**, bundled runtime **CPython 3.15.2 x64**.

Submitted diagnostics and optional metadata are used **exclusively to improve the IDM integration for Home Assistant**: integration fixes and Navigator/device/register support. Contact, withdrawal and deletion requests: **git@xerolux.de**.

## Windows 10/11 x64: extract and start

Download the Windows x64 ZIP from [idmtools.xerolux.de](https://idmtools.xerolux.de/), extract the entire archive, then double-click **IDM Web Capture.lnk**. Keep the `runtime` directory. No administrator rights or separate Python installation are required. Choose the controller host, user web PIN and output folder in the wizard. The ZIP is saved locally and is never automatically uploaded.

The package contains visible application source plus an unmodified CPython runtime. Python executables retain their original Python Software Foundation signatures. **The application and ordinary Windows shortcut themselves are unsigned.** This is not a code-signing certificate for IDM Web Capture, and no guarantee of antivirus acceptance is made. Defender malware classification and SmartScreen reputation are separate checks.

See [BUILD-VERIFICATION.md](BUILD-VERIFICATION.md) for checks tied to exact artifact hashes.

## Linux and other Python architectures

Download the Linux `.tar.gz`, extract it completely, then run:

```sh
tar -xzf idm-web-capture-1.19.9-linux.tar.gz
cd IDM-Web-Capture
./idm-web-capture <controller-IP>
# Optional GUI in a graphical session (GNOME, KDE, X11/Wayland):
./idm-web-capture --gui
# Existing ZIP: local integrity check, redaction copy, graphical viewer:
./idm-web-capture --verify capture.zip
./idm-web-capture --anonymize capture.zip
./idm-web-capture --view capture.zip
# Optional upload, interactive explicit consent; no personal data in comment:
./idm-web-capture --upload capture.zip --issue 577 --comment "Example symptom"
```

SSH/headless capture needs Python 3.11+ and the standard library, with no pip packages or Tk dependency. Debian/Ubuntu: `sudo apt install python3`; the optional GUI/viewer additionally needs `sudo apt install python3-tk` and a graphical session. `--consent-upload` gives explicit consent to the one selected archive in scripts; without it a noninteractive session sends nothing. Capture itself never uploads. A confirmed receipt is saved next to the ZIP; a matching existing receipt prevents another console upload.

The Linux package is pure Python and architecture independent: Linux x86 (32 bit), x86-64, ARM32 and ARM64 use the distribution's matching Python interpreter. This release is tested on Ubuntu 24.04 x86-64 / Python 3.12 and Windows x64 / Python 3.15.2, including native Tk widgets under a virtual Linux display. Other CPU architectures are compatible targets, not hardware-tested builds. Windows x86 and ARM64 can use the complete source ZIP with the corresponding official Python 3.11+ and `python idm_web_capture.py --gui` or `<host>`; their native bundled runtimes are not included. Windows ARM32 is unsupported: no official current CPython runtime is available for it. The published self-contained Windows package remains x64.

From 1.19.4, Linux/source clients automatically install signed application updates using the existing system Python. Linux needs the distribution's `openssl` command (`sudo apt install openssl` on Debian/Ubuntu); Windows source clients use Windows CNG. Versions through 1.19.3 need one manual upgrade to this complete package. The updater never replaces system Python. Linux Python/security updates belong to the distribution/package manager. Runtime license texts included for reference describe the bundled Windows components; the Linux archive redistributes application code, no Python/.NET/Tcl runtime. System packages keep their distribution licenses.

## Python CLI (Windows, Linux, macOS)

Run `python idm_web_capture.py <host>` and enter the PIN at the hidden prompt. Use `--help` for optional ports, controller family, Modbus gateway and output folder. Extract the complete source ZIP first: the application also requires `capture_plan.py`, `capture_redaction.py`, `network_redaction.py`, `capture_integrity.py`, `capture_naming.py`, `upload_client.py`, `ui_dialogs.py`, `web_archive.py`, `diagnostic_viewer.py`, `VIEWER-REGISTERS.json`, `CAPTURE-CATALOG.json` and its license materials alongside the script. All runtime code uses the Python standard library. For the bundled Windows runtime, run `Werkzeuge\Diagnose-Konsole.cmd <host>`.

Only read functions FC01/FC03/FC04 and web detail/overview requests are used. No register writes, clock setting, acknowledgements or access-level unlocks are sent. Without a PIN the web steps are skipped and Modbus is captured. Update requests do not send controller diagnostics. Help and email actions open the user's browser or mail client.

Before saving, the app removes recognized direct identifiers: PIN/password fields, myIDM/serial/session identifiers, IP/MAC addresses, hostnames, Wi-Fi names and personal name/contact/location fields. Images, fonts, embedded image data and uninspectable binary resources become placeholders. The manifest records the scope; SHA-256 is calculated afterward over the stored bytes. Technical measurements, operating states, register/menu structures, model/software information and timestamps remain useful and potentially distinctive. This is not a guarantee of complete anonymity. Share diagnostics privately. The operator sees the connection IP during an optional upload; optional notes/issue references and email sender information can identify you.

## Licenses and third-party software

Our application source is covered by the [MIT license](LICENSE). Bundled Python and its libraries retain their own licenses; our MIT license does not relicense them. The Windows package includes the full texts and copyright notices, not just links.

- **In the application:** choose **Hilfe â†’ Lizenzen & Drittanbieter**, or the button on the initial terms page. Choose a component in the searchable table, then select its original license or additional notices. All documents open locally without Internet access. **Ãœber** lists the public project, documentation and download links. The Windows runtime redistribution conditions are also called out before acceptance.
- **On the website:** [Licenses and third-party notices](https://idmtools.xerolux.de/licenses.html), with the complete original texts, component versions, provenance and a downloadable inventory.
- **In the package/source repository:** [THIRD-PARTY-NOTICES.txt](THIRD-PARTY-NOTICES.txt), [licenses/](licenses/), [catalog](licenses/catalog.json), [original sources and hashes](licenses/sources.json) and [audit scope](LICENSE-AUDIT.md).
- **In the console:** `Werkzeuge\Diagnose-Konsole.cmd --licenses` or `python idm_web_capture.py --licenses` prints the full local notices without contacting a controller or the update service.

The reviewed component groups are CPython and its incorporated code (including HACL*, mimalloc, BLAKE2, dtoa and MT19937), OpenSSL, SQLite, Expat, zlib/zlib-ng, Zstandard, bzip2, XZ/liblzma, libffi, libmpdec, Unicode data, Tcl/Tk, LibTomMath and Microsoft runtime code. See the catalog for exact versions, selected licenses, native binary hashes and distinctions between runtime-reported versions and build configuration.

Python uses its PSF/historical licenses. OpenSSL uses Apache-2.0; further components use MIT, BSD, Zlib, Unicode terms or public-domain dedications. The Windows Microsoft runtime has separate redistribution restrictions. Keep the notices and applicable conditions when redistributing. The application does not claim endorsement by any upstream project. Source collections intentionally retain notices for conditional upstream implementations as well; they do not assert that every such implementation is in the Windows binaries.

Every shipped native binary is checked against the reviewed official runtime; every runtime file and every member of the stdlib and embedded Tcl/Tk archives appears in `RUNTIME-INVENTORY.json`. The upstream SBOM includes pip/development dependencies omitted from our package; its 34 package entries are explicitly classified in the catalog. Updates preserve the license materials through their signed per-file ledger. The signer refuses archives missing the notice bundle, catalog or inventory. This documents the technical review and retained terms; it is not a promise of universal legal compliance.

## Build and verify

Use the reviewed official CPython **3.15.2 x64** runtime, including Tcl/Tk. Run `build.cmd` when `py -3.15` selects it. Alternatively extract the official complete Windows runtime ZIP and run `build.ps1 -PythonExe C:\path\to\python.exe`; `build.cmd -PythonExe C:\path\to\python.exe` also works. No global Python installation needs to be changed.

The PowerShell entry point checks the original PSF signatures before building. The builder checks the source hash in `HASHES.txt`, all reviewed native file hashes, component coverage and original notice hashes. Run `python license_inventory.py` after reviewing license-source changes to regenerate the aggregate. Missing, changed or unreviewed materials stop the build. The builder copies runtime binaries unchanged, isolates the stdlib from user-installed packages and smoke-tests CLI and embedded Tcl resources. No pip dependencies or executable packers are required.

Output: `dist/idm-web-capture-1.19.9-windows-x64.zip`. It includes source, runtime, launchers, full license materials, runtime inventory, build metadata and a file-level `SHA256SUMS.txt`. Hashes verify file identity; they do not independently prove source-to-binary provenance.

Regression tests: `py -3.15 -m unittest discover -s tests -v` (or use the selected runtime's `python.exe`).

## Mandatory updates from 1.19.4

Every startup checks the signed update feed before controller access or upload. The GUI also checks every five minutes. A verified newer release is downloaded, verified, installed and restarted automatically; the progress window offers retry or exit if installation fails. An already running capture finishes and saves its ZIP before updating. A known pending update blocks another capture. The CLI hands its arguments to the updated application; PIN arguments pass only through an ephemeral child environment, never a new command line.

If the update service cannot be reached, local use remains available and the capture records `update_check.status=offline`. Invalid signatures, metadata or missing source-verification prerequisites block collection instead of being treated as offline. `--help`, `--version` and license information remain available. A newer verified local installation is preferred even offline.

The Windows x64 bundle updates its included runtime with the complete package. Linux/source updates replace application files using the existing interpreter; install the distribution's `openssl` command for Linux signature verification. Python itself is maintained through your operating system. Older Linux/source clients through 1.19.3 need one manual upgrade. Older Windows clients still show their original update choices until upgraded.

Managed versions live under `%LOCALAPPDATA%/Xerolux/IDMWebCapture` or `~/.local/share/Xerolux/IDMWebCapture`; source installations use a separate `source` subdirectory. A successful startup acknowledgement activates the new version. Cleanup retains the active version and one verified fallback, preserving original portable folders, diagnostic ZIPs, extra user files and unconfirmed installs. A failed GUI restart returns to the previous verified copy with retry/exit, without starting another automatic crash loop. A known update still blocks old captures.

Current captures are preferred, but the server accepts older versions too. There is no minimum tool-version gate for tickets or archive acceptance. Existing saved ZIPs may be uploaded after the app updates; their original capture version is preserved. ZIP format, checksum, size and sanitization checks still apply.

RSA-3072/SHA-256 signatures are verified with the pinned public key through Windows CNG or the system OpenSSL command. Signed metadata authenticates the allowed HTTPS origin, version, archive hash/size and complete checksum ledger. Safe extraction rejects traversal, links, duplicate paths and oversized archives. Release maintainers sign the final immutable Windows ZIP and source tar.gz on the protected signing host, publishing `/updates/stable.json` and `/updates/source.json` only after their artifacts exist. Never distribute the signing private key. Metadata expires after one year and must be renewed even if no release is made. Signing metadata does not Authenticode-sign the app or guarantee antivirus acceptance.

## Refreshing the capture catalog

`CAPTURE-CATALOG.json` records the reviewed PyPI wheel URL/hash and register source hash. To reproduce it, download that wheel, verify its SHA-256, extract it into a temporary directory and save the `api_wheel` object as a provenance JSON file. With a compatible Python runtime and the generator dependency available, run:

```
python generate_capture_catalog.py --api-path <extracted-wheel> --provenance <provenance.json>
```

Review changes against the upstream register definitions before shipping; retain the corresponding upstream license and refresh the license catalog. The shipped app reads only the frozen data and does not download the API.

## Privacy notice

The application-specific [privacy notice](https://datenschutz.xerolux.de/idm-web-capture.html) is also shipped as `PRIVACY.txt` and displayed offline through Help, About and the upload dialog. It distinguishes local capture, update requests, optional upload, email/external links, server logs, live-inbox retention and separately controlled copies. The local `.upload.json` receipt itself contains metadata and any support note, so it must also be treated as private. Opening a saved receipt never queries the server.

## Capture-to-support workflow

The current [step-by-step user guide](https://idmtools.xerolux.de/anleitung.html) explains the complete process. A [plain-text copy](https://idmtools.xerolux.de/download/ANLEITUNG.txt) can be saved offline.

1. Extract the complete package, start the wizard and review its notices. Enter the controller host, web PIN and output folder. Without a PIN, web steps are skipped and Modbus can still be read.
2. Complete the read-only capture and review the result. Different controllers expose different interfaces; a missing web response does not invalidate all captured evidence.
3. Review the private ZIP and optionally check it through **Hilfe â†’ Diagnose-ZIP prÃ¼fen â€¦**. Never attach it or its receipt to a public issue.
4. Choose **Diagnose privat hochladen â€¦**, review the file, destination and retention, optionally select a known Navigator family and enter a short issue reference. Give fresh per-file consent and click **Jetzt hochladen**. Do not put PINs/passwords in the note.
5. Wait for the matching receipt; retain its reference and the adjacent receipt file. After successful verified storage, the server automatically emails the operator with only reference, reception time and the protected inbox link. The uploader's confirmation is in the app. A confirmed upload does not require sending the ZIP again by email.
6. Use the receipt reference in subsequent support correspondence. A delayed operator email or support reply is not a reason to repeat a confirmed upload. Server mail retries do not repeat the client's ZIP transmission.

With a failed/interrupted upload, metadata or some/all ZIP bytes may already have arrived. Repeating it can create a duplicate; retain the local file and use the receipt or approximate time/tool version when asking about uncertain delivery. Without internet access, capture remains local. If direct upload is unavailable or exceeds 32 MiB, **Alternativ per E-Mail â€¦** opens a draft: manually attach the ZIP and send it privately from your own mail program. Merely opening the draft does not send or attach the file automatically.

## Voluntary private upload

From 1.14.3, the form stays within the monitor work area. Its details scroll while the bold consent, progress and action area stay visible. Clicking **Jetzt hochladen** without the checkbox explains what is missing; it never sends data or selects consent automatically. After success, a separate compact confirmation offers **Vorgangsnummer kopieren**, **VollstÃ¤ndigen Beleg ansehen â€¦**, **SchlieÃŸen** and **Programm beenden**. Matching saved receipts use the same offline confirmation.


After capture, the large green **Diagnose privat hochladen â€¦** button above the result table opens a separate dialog. **Daten vorher ansehen â€¦** opens the offline viewer, which also offers the upload button after verification. No mail program or manual attachment is needed for direct upload. It shows the exact ZIP, destination, size and 90-day retention, plus optional Navigator category, support comment and integration GitHub issue number/link. Nothing is transmitted on opening; the consent checkbox starts unchecked and **Jetzt hochladen** requires explicit consent for this file. Email remains available. The source CLI does not upload automatically.

The upload uses certificate-validated HTTPS directly to `https://idmtools.xerolux.de`, checks the local per-file ledger first and announces the whole-file SHA-256/size and processing-policy revision. Both client and server require the current processing report; older clients without the policy field are rejected at init before any ZIP body is sent. This compatibility gate is not independent proof of anonymity or controller origin. It rejects redirects and mismatched receipts, has a 32 MiB limit, progress/cancellation, and leaves the local ZIP intact on failure. A confirmed receipt contains the server-assigned reference and matching received-file hash; it is saved alongside the ZIP as `.upload.json`. With a network interruption the receive status can be uncertain; do not assume a retry cannot create a duplicate.

Only the operator can access submissions through the private two-factor-protected inbox. Data is outside the public document root and AES-GCM encrypted at rest under a dedicated service account. This is server-side storage encryption, not end-to-end encryption. Completed live submissions and metadata expire after **90 days**. No diagnostic ZIP is submitted to public antivirus or external analysis services. See [server/README.md](server/README.md) for deployment, trust boundaries and admin access.

Names follow `idm-nav20-20261023T123456Z-a1b2c3d4e5f6.zip`: category, UTC capture time and unique reference. Automatic categories describe available interfaces: `nav20`, `nav10pro`, `mixed`, `modbus` or `unknown`. Shared Modbus addresses never prove a model. The upload dialog permits an explicitly user-declared Navigator 1.0/1.7/2.0/10/Pro category; the inbox marks that distinction. Both capture and server reception times are indexed. Missing/redacted capture times use reception time for server naming and are flagged. Filenames omit controller host/IP. The private inbox supports pagination, search, category/status filters, original ZIP downloads and CSV export.

The private inbox queues operator email independently of capture acceptance. Temporary mail failures survive service restarts and retry with backoff; historical uploads are not backfilled. The private dashboard shows waiting/submitted-to-mail-server status. Mailbox copies have their own retention. The online privacy notice describes these operator notifications.

A successful upload confirms the bytes received at this server, not authentic controller measurements. The existing local-integrity limitation remains unchanged.

## Maintainer / AI handoff

For authorized private-data review, see [AI diagnostic handoff (German)](docs/KI-DIAGNOSE-UEBERGABE.md): protected inbox/SSH access, verified exports, archive structure, evidence requirements, analysis pitfalls and the capture/API/Home Assistant workflow. It contains no credentials or donated data.

## Frontend and menu archive

The collector recursively discovers same-origin browser-delivered HTML, JavaScript, lazy-loaded chunks, CSS, translations, source maps and resource references. The final privacy pass removes recognized direct identifiers and replaces images, fonts, inline image data and uninspectable binaries with placeholders. `web/index.html` opens the minimized source inventory; `web/index.json` records minimized URLs, neutral file references, links, routes, errors and limits. Resource names are derived from minimized URLs, and original-response hashes are removed. The final SHA256SUMS.txt covers the actual stored bytes. This is a privacy-filtered diagnostic record, not an exact original resource copy.

Navigator 10/Pro also starts at the real settings root and recursively follows advertised submenus and detail IDs, with additional room, graph, statistics, cascade and ventilation reads. `nav10/menu_index.html` lists requests, returned menu names, parent navigation and stored replies after the privacy filter; `nav10/menu_index.json` includes skipped action/credential entries and any unfinished queue. Empty or rejected replies are distinguished from available data. No JavaScript is executed, form submitted, action triggered or higher PIN level unlocked.

This is source/data evidence, not a working offline clone or a guarantee that every hidden device function is known. Backend source is not delivered by HTTP. External origins, action URLs and credential URLs are excluded. Discovery is bounded to 1,200 HTTP resources, 64 MiB of response bodies, 8 MiB per resource, 2,000 additional menu requests and ten minutes per discovery phase; every reached limit is recorded as partial coverage. Upload still permits up to 32 MiB compressed. Technical operating data can remain distinctive; share captures privately.

## Local diagnostic viewer

Choose **Diagnose ansehen â€¦** in the top menu to open an existing ZIP, use the result-page button after capture, or inspect the selected archive directly from the upload dialog. Console: `Werkzeuge\Diagnose-Konsole.cmd --view capture.zip` (or `python idm_web_capture.py --view capture.zip`). This standalone action does not request a PIN, query updates or contact the controller/server.

Five tabs show the capture summary and gaps, searchable values, parent-linked web menus, possible private identifiers, and the complete file/checksum list with text/hex previews. The viewer verifies the full ZIP ledger before rendering and reads an immutable in-memory snapshot. It never extracts or changes the ZIP, executes archived code, renders HTML or opens archived links. The wizard's ordinary background update checks are independent of the viewer and do not transmit diagnostics.

Modbus decoding selects a bundled catalog by the capture's exact API version. Current captures use API 2.17.0rc1, a release candidate. Older 2.14.4 archives use their original bundled definitions. It applies the API's word order, signed types, scaling, units, two-decimal numeric rules and declared sentinel markers. A mismatching/missing captured API version disables decoding. Default model handling permits only definitions identical across model maps; selecting a model is a user choice, not detection. A complete multiword value must come from one recorded segment. Raw words remain visible; unavailable data is not replaced with zero. Web JSON scalars and literal HTML table cells retain their source and path; frontend demo JSON never becomes a real measurement.

Privacy matches are a bounded heuristic over metadata/web answers, not an anonymity guarantee. New captures omit uninspectable binaries; older archives can still contain direct identifiers. Technical operating data can remain distinctive. Limits: 128 MiB compressed ZIP, existing 512 MiB expanded-archive guard, 8 MiB per structured JSON file, 64 MiB parsed data, 50,000 scalar rows/Modbus words and depth 40. Each value filter displays up to 2,000 matches; menu/privacy tabs display up to 5,000 rows with totals. Previews are bounded to 256 KiB text or 16 KiB hex. Reached limits are disclosed; viewing does not alter the verified archive. Separately creating a sanitized copy intentionally changes its contents and ledger.

Regenerate display metadata with the reviewed API wheel unpacked locally: `python generate_viewer_catalog.py --api-path <wheel-folder> --provenance <provenance.json>`. The API is a generator-only dependency; its original MIT license already ships in the component catalog and notices.

## Changes in 1.17.2

- Archive canonicalization stays independent of the UI language. Switching languages cannot change an existing sanitized ZIP or make its upload preflight reject translated archive headings.

- German/English throughout the application: wizard, updates, upload consent and receipts, viewer, license navigation, About, progress and offline privacy/instructions. First start follows the Windows UI language or Linux locale (German for German locales, English otherwise). The Language menu persists Deutsch, English or System language locally; switching preserves current input and does not start captures or uploads. Console override: `--language en|de|auto`.
- The website has complete English download, guide, privacy and license pages at `/en/`, a visible DE/EN switch and browser-language selection. Explicit website preferences remain in local browser storage. No external translation service is contacted. Original third-party notices and captured controller text retain their original language.
- The upload gate remains free of server-side antivirus scanning. ZIP/checksum validation, encryption, owner-only access, voluntary consent and automatic 90-day retention remain enforced.

## Changes in 1.16.2

- Removed the server-side antivirus dependency from uploads and private downloads after legitimate diagnostic archives hit its scan-time limit and returned HTTP 503. ZIP format/size limits, SHA-256 checks, encrypted storage, authenticated downloads, explicit upload consent and 90-day automatic retention remain enforced. Existing local ZIPs can be submitted again without a new capture. Receipt and documentation text match the new behavior.
- Public statistics count completed submissions from the last 90 days, without claiming malware scanning or unique plants. Historical scan records remain historical and do not gate receipt, notifications or private download.
- Version 1.16.1 introduced the synthetic app gallery, measured reference duration and aggregate donation statistics. Those features remain available. No diagnostics are sent to external scanning services.

## Changes in 1.16.0

- Uploads accept an optional comment and a separate integration GitHub issue number/link. Strictly validated issue references appear in the private inbox/search, CSV, receipt and operator notification; comments/ZIPs are never posted to GitHub. Empty fields remain optional and old clients work. Privacy text explains the extra metadata and possible public-profile association.

- Start Windows with **IDM Web Capture** (`IDM Web Capture.lnk`), an ordinary Windows shortcut to the original isolated Python runtime. Its standard Windows application icon works at any location; app windows and the optional desktop shortcut use the project's thermometer icon. There is no custom executable, .NET dependency, packer, installation or elevation. Windows computes the relative target fallback; tracking/property blocks and build-volume serial identifiers are removed. Generic temporary build paths contain no operator username. The complete extracted folder can be moved.
- Choose **Über → Desktop-Symbol erstellen** to create an optional desktop shortcut to the original portable starter. This target follows verified updates and survives managed-version cleanup. Keep the portable folder; recreate the shortcut after moving it. Existing installations can update normally; to get the new starter in the original folder, extract the current full ZIP once. Older Start-IDM.cmd copies continue to follow the active installation.
- Find optional console and alternate startup in **Werkzeuge/Diagnose-Konsole.cmd** and **Werkzeuge/Start-ohne-Symbol.cmd**. Keep the complete extracted package together. Never copy the EXE alone.
- Updates show actual downloaded bytes and percentage, then an animated indicator while verifying, unpacking and testing. Failure stops the indicator and leaves retry/manual actions available. Signed metadata, archive size/hash, per-file verification and startup rollback remain required.

## Changes in 1.15.1

- Replace the scrolling upload form with one compact grid: file/destination/90-day retention, essential data/privacy summary, local review/details actions, Navigator and note, explicit consent, status and Send/Cancel remain together.
- Move full transfer/privacy information into a separate offline details window, including the complete filename. Keep long failure text there too, with the uncertain-delivery warning visible in the form. Errors no longer grow into or cover the input area.
- Retain unchecked consent, local pre-upload review, 200-character note validation, cancellation, retry consent reset and the separate receipt/copy flow. Native layout regressions include Navigator/note/status bounds and separation from consent.

## Changes in 1.15.0

- Use one light visual theme with clear Segoe UI typography, petrol actions, consistent spacing, styled inputs, larger table rows and slim arrow-free scrollbars across the wizard, viewer and auxiliary dialogs. No new runtime dependency is introduced.
- Give setup a persistent stage header and fixed action footer. Controller/PIN and optional proxy/gateway fields are directly visible, with a compact explanation and separate full capture details. Secondary result actions use two responsive rows.
- Remove redundant outer scrollbars from resizable text pages and the license browser. Other content scrolls only when it exceeds its viewport; text panes and tables use the same themed scrollbars. Viewer filters use two rows at compact widths.
- Preserve local read-only capture, privacy filtering, explicit upload consent, 90-day automatic inbox retention, receipt copying, licenses and the signed update path.

## Changes in 1.14.6

- Set private diagnostic-upload retention to 90 days with automatic deletion at startup and hourly. The upload ticket, client consent text, receipt, private inbox, operator notification and privacy/instruction pages use the same period.
- Keep the upload voluntary and private. Old clients expecting 30 days reject the new ticket before sending ZIP bytes and should update first; old saved receipts retain their original stated period.
- Verify that records younger than 90 days survive cleanup and older ones, their index records and orphaned ciphertext are removed. An optional explicit manual mode remains available for operator-controlled deployments, but production uses automatic deletion.

## Changes in 1.14.4

- Detect JSON by content as well as filename before privacy filtering, including Navigator 2.0 `.capture` responses. Preserve valid JSON and numeric measurements while removing identifiers and custom heating-circuit names. Sanitizing an older ZIP creates a separate copy and repairs an unquoted identifier redaction marker; it does not restore removed information or modify the original.
- Save and report HTML fallback responses to asset requests without recursively treating them as real asset pages. This prevents repeated nested asset paths from consuming the archive limits. Unavailable resources and capture limits remain explicit; the tool cannot guarantee every controller route is reachable.
- Use the donated response schema only in synthetic regression tests. Private uploads retain the published 30-day inbox policy.

## Changes in 1.14.3

- Bound application windows to the monitor work area (excluding the taskbar), give long content scroll areas and reserve footers for actions. Viewer tables shrink within their content row instead of pushing Upload and Close offscreen; explanatory labels wrap when resized. The wizard, license browser, About, privacy and update dialogs use the same bounded sizing.
- Make upload consent bold and keep it beside the fixed action area. Clicking Send without checking it gives a clear missing-consent explanation and sends nothing. Consent remains initially unchecked and is reset after a failed attempt; active uploads cannot be started twice.
- Replace the form with a separate compact confirmation after receipt. Copy the exact reference with **Vorgangsnummer kopieren**, open the complete receipt, close the confirmation or explicitly exit the app. Matching saved receipts open this offline view directly without a new upload. Receipt-save failures retain the reference and show a copy warning.

## Changes in 1.14.2

- Make the private-upload entry a prominent green primary action above the capture results, with a separate local review button and a short explanation of the benefit. Keep email as a secondary alternative.
- Add the same visible upload action to the ZIP viewer after successful parsing/integrity checks; disable it for loading and invalid archives. Clicking opens a separate fresh-consent dialog and does not start a transfer.
- Highlight the actual send button without changing the unchecked consent, retry/cancel/receipt behavior, private destination or 30-day retention.

## Changes in 1.14.1

- Preserve built-in Navigator labels such as `System`, protocol names, source text and archive references during privacy minimization. Custom graph/room names and explicit personal/device credentials remain subject to removal.
- Add regression cases for built-in labels, intact menu/manifest paths, mixed custom names, retained measurements and explicit private fields with colliding values.
- Already replaced text in a 1.14.0 archive cannot be reconstructed by reprocessing it. Use 1.14.1 for a new capture when the original technical labels/routes are needed; existing originals and uploads remain unchanged.

## Changes in 1.14.0

- Extend direct-identifier minimization to network addresses/hostnames, Wi-Fi identifiers, recognized personal name/contact/location fields, labelled controller name fields and explicit unique hardware IDs. Preserve small Modbus device/unit IDs, register/menu IDs, measurements and recognized version fields.
- Replace images, fonts, inline image data and uninspectable binaries with declared placeholders. Neutralize original host-derived resource names and remove original-response hashes; update all resource references before creating the complete SHA-256 ledger.
- Distinguish replaced fields from remaining privacy-review hints in the local viewer. Explain clearly in app, guide, homepage and privacy notice what is removed, what remains and what optional upload/email still disclose.
- Require the current privacy-policy revision at upload init and inside the archive manifest; old clients are refused before a ZIP upload ticket is issued. Keep original capture version/time and record the processing tool version separately.
- Never claim complete anonymity: model/software, timestamps and operating data remain potentially distinctive, while transport/optional metadata can identify the sender. Data remains exclusively for improving the IDM Home Assistant integration. Originals and earlier uploads stay unchanged.

## Changes in 1.13.0

- Remove recognized myIDM identifiers, session/access tokens, labelled PIN/password fields and serial numbers before writing new capture ZIPs and their SHA-256 ledger. The manifest records the scope and changed files without retaining removed values.
- Preserve numeric measurements, Modbus words, register addresses, menu IDs and technical myIDM flags. A matching short PIN is no longer blindly replaced across data.
- Add **ZIP bereinigen â€¦** and `python idm_web_capture.py --anonymize old.zip --out folder` to create a separate verified local copy of an existing verified ZIP. No controller, update or upload request is made. Originals and previously uploaded files remain unchanged.
- Block direct uploads of older ZIPs with recognizable unredacted identifiers before opening the HTTPS connection; ask the user to create and inspect a sanitized copy first. The upload preflight accepts at most 64 MiB expanded data.
- This is a scoped text filter, not a guarantee of complete anonymity. IP/network information, timestamps and unrecognized binary/image content can remain. Inspect the local viewer before sharing; never post diagnostic ZIPs publicly.

## Changes in 1.12.0

- Add a verified local ZIP viewer with overview, searchable Web/Modbus values, model selection, menu tree, possible private identifiers and safe raw-file/checksum views.
- Add a direct offline `--view ZIP` mode and entry points in the menu, capture result and consent dialog.
- Decode known registers only from bundled reviewed metadata; preserve raw words and distinguish sentinels, ambiguous models and unavailable data.
- Bound archive parsing, table rendering and previews; verify a snapshot before viewing and never execute archive content or change the original ZIP.

## Changes in 1.11.0

- Retry temporary Windows directory locks during verified update installation, with a bounded failure and no premature activation.

- Recursively archive frontend sources, binary assets, lazy chunks, links and route metadata instead of only a fixed set of pages.
- Traverse advertised Navigator settings submenus and read their detail values, plus additional advertised room, graph, heating-circuit, charging and statistics IDs.
- Add browsable source/menu inventories, explicit unavailable/error outcomes, skipped-action metadata and discovery limits.
- Preserve all capture files in the existing SHA-256 ledger and extend the encrypted inbox's strict entry allowlist for frontend resources.
- Explain the expanded ZIP contents in consent, offline/online privacy notices and the guide.

## Changes in 1.10.2

- Retry partially captured multiword definitions with one complete documented read, preserving values whose second word cannot be queried independently. Explain unavailable Modbus addresses clearly in progress output.
- Restrict the declared use of submitted diagnostics and optional metadata exclusively to improving the IDM integration for Home Assistant, including integration fixes and Navigator/device/register support.
- Use git@xerolux.de consistently for public contact, consent withdrawal and deletion requests; update consent and the offline/online privacy notice.
- Ship the current user guide offline and clarify automatic operator notifications and receipt handling.

## Changes in 1.10.1

- Ship the dedicated privacy and data-transfer notice offline as `PRIVACY.txt`, available from Help, About and before upload; link the application-specific online notice.
- Disclose ZIP contents, extra metadata, technical connection data, retention, recipient/purpose, withdrawal and deletion contact before consent.
- Record transmitted metadata locally with the receipt; show destination, reception time and retention after upload, and distinguish previous matching local receipts from a new server query or uncertain delivery.

## Changes in 1.10.0

- Add explicit, per-file consent for private HTTPS diagnostic upload, with local verification, exact-byte receipt, progress and recoverable failures.
- Add the dedicated encrypted server inbox and owner-only two-factor administration with quotas, expiring one-use tokens, strict archive checks and 30-day retention.
- Use descriptive, non-identifying archive names and distinguish reported Navigator categories from observed interfaces; index metadata for larger collections.

## Checking received diagnostic ZIPs

Every newly created diagnostic ZIP contains `SHA256SUMS.txt` covering all captured files, `manifest.json`, the catalog and `README.txt`. The ledger cannot hash itself. The app verifies the finished archive before publishing its local filename. Choose **Hilfe â†’ Diagnose-ZIP prÃ¼fen â€¦**, or run:

```
Werkzeuge\Diagnose-Konsole.cmd --verify capture.zip
python idm_web_capture.py --verify capture.zip
```

Verification needs no PIN, controller or update-service request. Exit status 0 means every listed file matches; status 4 rejects changed, missing, extra, duplicate or malformed files. Legacy archives without a ledger are unverified. Do not use failed archives as unchanged evidence; the verifier never deletes received files automatically.

**This checks local consistency, not authenticity.** A sender controlling their computer can alter the data and regenerate the ledger. There is no server seal, secret client key or claim that these hashes prove controller origin. No additional network transmission is made for integrity checking.

## Changes in 1.9.1

- Add per-file SHA-256 ledgers to diagnostic ZIPs and an offline GUI/CLI verifier that rejects altered or incomplete archives, with an explicit authenticity limitation.
- Add a standalone **Ãœber** menu item with the actual running application version, Python version, application folder and Python executable. Paths are selectable for copying.
- Clean obsolete verified managed installations only after the active-version pointer confirms startup. Keep the active release and one prior verified fallback, preserving the original portable directory and user data.
- Remember the previous active release during the new GUI startup handshake, including when the update is supervised by an older updater. Preserve unknown/altered installs, future updates, symlinks/junctions and extra user files/directories; record cleanup failures without preventing startup.

## Changes in 1.9.0

- Read the complete known address union from API 2.14.4 for Navigator 1.0/1.7, 2.0, 10 and Pro, including PV/GLT at 74â€“90, all configured circuit/zone definitions and the documented 4000+ ranges. The frozen catalog records each definition and its upstream provenance; the API is a generator dependency only.
- Use exactly the declared FC03/FC04 addresses in 92 blocks of at most 50 words, without probing undocumented gaps or reading write-only definitions. Preserve raw words without guessing their model-dependent meaning. The documented FC01 command-bit snapshot remains read-only.
- Include daily WebSocket statistics (period 0), alongside periods 1 and 7. Log named interfaces, block results and per-family definition coverage, and show a final overview. Readability of shared addresses is not model identification. Unavailable optional interfaces do not prove a device fault.
- Pace every physical Modbus request, reconnect after transport failures and stop after three consecutive failed blocks. Record unsupported functions and unattempted blocks explicitly.
- Replace the concatenated license dialog with a searchable component table and selectable original documents. Add an About window linking to Xerolux, the public Home Assistant integration, documentation, source download, imprint and privacy information.

The catalog covers all read definitions in the reviewed API snapshot, not unknown firmware addresses or undiscovered controller features. Maximum supported circuits and zones are requested; individual installations will expose a subset. Simulated-controller and native GUI tests verify the implementation; real legacy hardware validation remains pending.

## Changes in 1.8.0

- Move the Windows runtime to official CPython 3.15.1, retaining original signatures and testing compatibility, including Tcl/Tk 9 and CNG update signatures.
- Expose complete licenses in the GUI, CLI, package, README and website; retain upstream original notices and binary/resource inventories.
- Reject unknown native runtime files, changed license texts and release archives missing authenticated license materials.
- Include documented classification of the upstream SBOM and source/build version evidence, while omitting development, installer and test payloads.

## Changes in 1.7.0

- Add the mandatory online update window, manual download, verified automatic installation/restart and explicit exit.
- Preserve normal offline use, captures in progress, output folders and previous application files.
- Verify signed release metadata and every bundled file; isolate installs and retain startup recovery.
- Test native CNG signatures, corruption, replay, unsafe archives, capture gates and startup/rollback behavior.

## Changes in 1.6.0

- Capture the complete documented Navigator 1.0/1.7 coil block **c3000-c3003** using FC01, automatically alongside FC03/FC04 register reads.
- Store requested bits in address order and original packed response bytes, including padding, in `modbus/coils_<start>_<end>.json`. Bit packing is least-significant-bit first.
- Record individual address holes, partial coverage and unsupported FC01 in the manifest without discarding successful register reads.
- Label coils as **momentary command-bit snapshots**, not persistent operating states. FC05/FC15 and other write functions remain rejected before socket access. Reading the command coils never triggers them.
- Preserve FC03/FC04 register decoding and add regression coverage, including a complete capture against a simulated Modbus TCP server.

The coil range comes from the coil table in `ma_de_812049 Rev.1` (2016-06-13), also referenced by the integration/API. It is the documented block, not a scan of undocumented coil addresses. A zero bit does not establish that heating, cooling or DHW is inactive; these command bits may reset immediately. Real Navigator 1.x hardware verification is still pending.

## Changes in 1.5.0

- Historical PIN redaction covered metadata/errors and encoded values; 1.13.0 replaces blind numeric masking with the scoped privacy filter described above.
- Validate hosts, ports, unit IDs and finite timeouts before prompting for a PIN or contacting a device.
- Bypass environment HTTP proxies for controller requests and block cross-origin redirects.
- Validate the WebSocket handshake and Modbus response identity; bound complete fragmented messages and decode fragmented UTF-8 correctly.
- Write ZIPs atomically with distinct filenames; retain an existing complete capture if a write fails.
- Choose the output folder in the wizard, retain actionable errors, and update Tk widgets from the GUI thread.
- Ship an unmodified Python runtime instead of a custom unsigned self-extracting executable.

## Related submissions in 1.18.0

Donated before? A code derived from the serial number helps us group submissions from the same heat pump and compare changes. The serial number itself is not transmitted. The optional local SHA-256 pseudonym is stable across reinstalls; missing or conflicting primary serials produce no code. It is included in the manifest and upload metadata, shown before consent and described in both privacy notices. This is pseudonymization, not anonymity or an authenticity signature. Candidate serials can be guessed. Private inbox groups and identical-ZIP markers do not reject donations; associations expire with each submission after 90 days. No public plant registry or grouping oracle.

## Changes in 1.18.1

- Stop recursive frontend discovery when an SVG request returns an HTML fallback. Preserve that response as an explicit unavailable asset without following its links.
- Let the authenticated operator exclude confirmed test submissions from public category counts and include them again. Review status and original uploads are unchanged; ordinary user notes never trigger automatic classification. Statistics update on their next scheduled publication.

## Private response-structure inspection

The server inbox can highlight added/missing response fields and changed types against an earlier reviewed capture, without comparing measurement values. See [operator rules and limits](docs/Response-Structure-Review.md). This is a server-side feature; the released 1.18.1 client needs no update and sends no additional data. The original capture and review state remain unchanged.

The private server now sends counted finding notices only for newly observed structural facts, with duplicate suppression and a protected detail link. Optional local Qwen3 wording supplies unverified developer review suggestions; it never controls notification or writes to a heat pump. See the operator guide for bounds, privacy and deployment settings. Client version 1.18.1 remains valid.

## Changes in 1.19.8

- Accept the Navigator 2.0 controller software series from the HTTP information table (unprefixed plus `T_`/`m_`/`s_` prefixes) as a reported identity hint. Such captures previously stayed category-unknown and never contributed firmware sightings, although the catalog maintains those series as separate comparison groups. Series are never mixed: a capture reporting both an `NAV10_` series and a Navigator 2.0 series stays conflicting and unknown.
- Accept the legacy "Navigator Version" self-report (for example `n1.7z72`) from bold information-page markup as a Navigator 1.0/1.7 hint. Unknown legacy series values stay insufficient instead of being guessed, and WebSocket-sourced values never reclassify a plant.
- Mask myIDM identifiers that information pages render as bold markup with an entity gap (`<b>myIDMID:&nbsp</b>…`). The value is discovered at its labelled origin and masked everywhere, including copies elsewhere in the archive; technical measurements, software versions and IP minimization are unchanged.
- Server telemetry screening now counts reports that blink on Modbus and web in the same window as a separate parallel-channel signal, and reports `capabilities` as optional-register probe hints (a responding address counts as present, not verified equipment).

## Changes in 1.19.7

- Show captured FC01 coil bits in the Values tab with a dedicated Modbus coil filter, on/off values and reviewed Navigator 1.x command labels for c3000–c3003. These are command-bit snapshots, never persistent heating/cooling/DHW operating-state indicators.
- Keep unknown addresses, mismatched catalog versions and other selected model families unassigned. Labels inside a donated ZIP cannot override bundled names. Invalid bit values, inconsistent lengths and out-of-range addresses are rejected from interpreted rows; original files remain available.
- The overview counts captured bits separately from register words. Old diagnostic ZIPs benefit immediately when opened in the new viewer; no fresh plant capture is needed.

## Changes in 1.19.6

- Remove HTTP settings access codes and custom circuit/room labels using stable descriptor IDs, including labels embedded in room temperature/humidity settings. Preserve technical IDs, numeric measurements, offsets, units and raw Modbus words.
- Resolve JavaScript browser resources against the document base; keep module imports, source maps and CSS resources relative to their proper source. Ignore source-map library variables rather than requesting them as pages.
- For older captures, use **Clean ZIP** to create a newly checked copy before sharing. Existing originals and already stored submissions are not rewritten. Minimization remains scoped and does not guarantee anonymity.

## Changes in 1.19.5

- Show Navigator identity from explicit firmware metadata immediately after the data read; transport log lines no longer say “no model detection”.
- Index explicit donated firmware metadata with source-bound retention. Independent firmware sightings keep the existing consent revision and aggregate without plant identifiers; generic Pro component metadata is marked unconfirmed and cannot trigger a heat-pump update notice. A single matching version is already the latest observed.

- Accept diagnostic uploads from older tool versions; prefer current captures without a version-based server rejection. Remove the version floor and its HTTP 426 response. Keep automatic application updates, explicit upload consent and existing archive safety/privacy checks.

## Changes in 1.19.4

- Automatically install and restart signed updates before capture or upload on Windows and Linux/source clients; preserve offline use, block invalid verification and record update-check provenance.
- Enforce a server-side minimum capture version before allocating a ticket, freeze that requirement for in-progress uploads and provide actionable HTTP 426 feedback.
- Accept the new sanitized web-login diagnostics file and verify complete current-client archives against the encrypted server storage path.
- After explicit continuation without working web access, preserve login evidence and continue with Modbus without extra frontend requests.

## Changes in 1.19.3

- Keep the result upload action, consent and upload/cancel controls in fixed footers at compact resolutions and scaled fonts. Long details can scroll independently.
- Replace the misleading global countdown with live elapsed time and a measured estimate for the current step. Dynamic discovery and stalled requests keep the overall remaining time unknown.
- Distinguish the Navigator 10 heat-pump controller from NAVIGATOR Pro individual room control. WebSocket capture is a protocol hint, never proof of a Pro installation. Legacy combined categories remain accepted; the public display groups their WebSocket count without changing stored submissions.
- Include a statistics-response index and manifest summary alongside existing raw HTTP/WebSocket statistics. The collector follows advertised statistic subtypes, respects unavailable replies and limits, and never invents missing values or units.

### Modbus collection outcomes

The ZIP records whether Modbus was requested, whether connection/reads were attempted, whether the target came from the plant address or a separate proxy, and the observed failure class. A refused connection is distinct from a deliberate skip, timeout, unreadable registers or internal capture failure. It does not prove Modbus is disabled: check the endpoint/port (usually 502), controller enablement with the installer, firewall, network/VPN and proxy. No private endpoint is added to the sanitized outcome metadata.

CONTROLLER IDENTITY AND WEB TRANSPORT
HTTP and WebSocket are read paths, not proven controller models. HTTP compatibility success must not automatically identify Navigator 2.0. The ZIP records controller_identity from explicit response metadata or unknown. NAV10_ and T_NAV10_ software-version fields indicate Navigator 10; missing/conflicting metadata remains unknown. Legacy nav20/nav10 folders and names are compatibility/interface categories, not model or authenticity proof. A manually selected upload category remains a user declaration.


Web authentication and failure evidence (1.19.3)
----------------------------------------------
If a PIN was supplied but neither web interface yields usable data, the GUI
pauses before further capture. Choose Correct connection details, Continue
without web data, or Cancel. Correction preserves the address/proxy but requires
a fresh PIN entry; the previous failure ZIP remains intact. A returned login
form does not prove an incorrect PIN: an unsupported authentication flow is also
possible. Try a fresh private-browser login with the same details. Never send
us a PIN. web_diagnostics.json and sanitized login responses preserve attempted
paths/field names, HTTP status, form structure without values/query strings,
redirect path, elapsed time and outcomes. Known PIN, CSRF and session fields are
removed before saving. Each login response is limited to 64 KiB; truncation is
marked. Discovered forms are documented, never automatically submitted. One
working HTTP or WebSocket interface is sufficient. No PIN means web was disabled
intentionally. Terminal/SSH: noninteractive web failure preserves an evidence ZIP
and cancels further capture unless --continue-without-web was explicitly chosen.
No upload occurs automatically. Purpose and retention remain unchanged.

## Changes in 1.19.9

- Bundle the official CPython 3.15.2 security release on Windows.
- Generate Modbus catalogs with idm-heatpump-api 2.17.0rc1 and keep the 2.14.4 catalog for older captures.
