# hth-sdk Python client for `hthd` (`hth.api.v1` over Unix sockets). Install (from `host/`): ```bash python3 -m pip install -e sdk/python ``` Generate protobuf stubs (required for the real gRPC client, not for MockClient): ```bash python3 tools/gen_python_stubs.py ``` This package depends only on `grpcio` and `protobuf`. It does not depend on NumPy, pandas, or PyTorch. ## Legacy door profile (not the 6400 thermal facade) The following no-ACK statement applies only to the historical door controller. Its current hardware protocol is percent-close doors `0..100` (`0` = full open, not STOP), `GET_MOTOR_STATUS` exists, **no ACK**, FPGA watchdog 30 s fed only by valid `SET_ALL` after startup, `GET_TEMPERATURE` dropped during startup. Fan RPM / encoder / firmware version = `NOT_SUPPORTED`. Temperature channel mapping = `UNKNOWN`. Hardware validation: **NOT RUN**. ## 6400 thermal facade `hth_sdk.thermal.connect_thermal()` accepts only `6400-control`, `6400-identification`, or `6400-sim-debug`; the old `production` and `identification` aliases are rejected. The facade validates the canonical profile ID and generated CPLD contract SHA-256 on every command and snapshot response. GET_SNAPSHOT wire sequencing (`0x82` ACK followed by `0x42` data) is owned by `hthd`; the SDK never opens or parses a serial stream.