Skip to main content

rusthinq

Prebuilt binaries of rusthinq, a local server for LG ThinQ appliances: it accepts appliance connections, runs Rhai device drivers, and exposes a management API, a web dashboard and optional MQTT output. This package installs the rusthinq daemon and the rusthinqctl management CLI with pip, with no Rust toolchain and no system libraries needed.

  • Linux x86_64 and aarch64, glibc and musl (Alpine). The binaries are statically linked.
  • The binaries are the unmodified ones from the rusthinq GitHub release of the same version, checked against that release's SHA256SUMS.

Install

pip install rusthinq          # or: pipx install rusthinq / uv tool install rusthinq
rusthinq --version

While rusthinq 0.2 is in pre-release, add --pre (pip, pipx) or --prerelease allow (uv), or pin an exact version such as rusthinq==0.2.0rc8.

Run the daemon

Create a CA once; appliances are provisioned to trust it, so keep both files:

mkdir -p ~/rusthinq && cd ~/rusthinq
openssl req -x509 -newkey rsa:2048 -nodes -sha256 -days 36500 \
  -subj '/CN=rusthinq CA' -addext 'basicConstraints=critical,CA:TRUE' \
  -addext 'keyUsage=critical,keyCertSign,cRLSign' -addext 'subjectKeyIdentifier=hash' \
  -keyout ca.key -out ca.cert

A minimal config.toml (paths are relative to it):

hostname = "thinq.lan"
ca_certificate = "ca.cert"
ca_key = "ca.key"
device_ledger = "devices.json"
https_bind = "0.0.0.0:443"
mqtt_bind = "0.0.0.0:8883"

[management]
bind = "127.0.0.1:44401"
gui = true
rusthinq config.toml

Open http://127.0.0.1:44401/ for the dashboard. Device drivers (rusthinq-scripts), MQTT output, the LG cloud bridge, appliance routing and every other setting are described in the rusthinq documentation.

Manage it

rusthinqctl health
rusthinqctl devices
rusthinqctl set DEVICE PROPERTY VALUE

rusthinqctl talks to http://127.0.0.1:44401/ by default; set RUSTHINQ_API, and RUSTHINQ_USER / RUSTHINQ_PASSWORD when the management API requires a login. rusthinqctl without arguments lists every command.

Use from Python

The package does not start or supervise anything; it only tells you where the binaries are.

import subprocess
import rusthinq

print(rusthinq.RUSTHINQ_TAG)  # the rusthinq release these binaries come from, e.g. v0.2.0-rc8
daemon = subprocess.Popen([rusthinq.binary_path(), "config.toml"])
subprocess.run([rusthinq.binary_path("rusthinqctl"), "health"], check=True)
daemon.terminate()  # SIGTERM shuts rusthinq down cleanly

The rusthinq Home Assistant integration uses it this way.

Versions

Release v0.2.0-rc8 is package 0.2.0rc8; a .postN suffix means the same binaries repackaged.

License and source

rusthinq is licensed under GPL-2.0-or-later; the full text is in COPYING. The binaries statically link OpenSSL 3 (Apache-2.0) and are therefore distributed under the terms of GPL version 3 or later where that matters.

The complete corresponding source for every packaged release is the rusthinq git tag of the same name (rusthinq.SOURCE_URL points at it), and the release build is reproduced by that tag's .github/workflows/release.yml and scripts/build-openssl.sh. If that source is ever unavailable there, ask in the packaging repository and it will be provided for at least three years after the release was published.

Metadata

Release files for rusthinq 0.2.0

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

Built distributions (wheels)

Table of built distributions (wheels) for rusthinq 0.2.0
File Interpreter ABI Platform Actions
rusthinq-0.2.0-py3-none-manylinux_2_17_x86_64.musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64, Linux glibc 2.17+ x86-64 Details for rusthinq-0.2.0-py3-none-manylinux_2_17_x86_64.musllinux_1_2_x86_64.whl
rusthinq-0.2.0-py3-none-manylinux_2_17_aarch64.musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64, Linux glibc 2.17+ ARM64 Details for rusthinq-0.2.0-py3-none-manylinux_2_17_aarch64.musllinux_1_2_aarch64.whl

Total release size: 17.8 MB

Release files / rusthinq-0.2.0-py3-none-manylinux_2_17_x86_64.musllinux_1_2_x86_64.whl

Download URL rusthinq-0.2.0-py3-none-manylinux_2_17_x86_64.musllinux_1_2_x86_64.whl
Size 9.0 MB
Tags Linux glibc 2.17+ x86-64 Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
d9e022cb3fa824f9fd47f9cfbb33793f8133a060843164591ba57afc5745ec2c
BLAKE2b-256 checksum
How to use checksums
dc9e8dcaea54082eabc4fe3ea6b36a903e28474fced6dbe37335663f72101390
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 1, 2026.

Transparency log

Release files / rusthinq-0.2.0-py3-none-manylinux_2_17_aarch64.musllinux_1_2_aarch64.whl

Download URL rusthinq-0.2.0-py3-none-manylinux_2_17_aarch64.musllinux_1_2_aarch64.whl
Size 8.8 MB
Tags Linux glibc 2.17+ ARM64 Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
a615a501d92fc056082ea7d8b96b552b3bef3b77b16033c43d4287c05da3f481
BLAKE2b-256 checksum
How to use checksums
be52440208fc1e86368933c001ddbf6619cf3e0b656c3c2294c2c31d9bb86eb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 1, 2026.

Transparency log

Security for rusthinq 0.2.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rusthinq-0.2.0-py3-none-manylinux_2_17_x86_64.musllinux_1_2_x86_64.whl

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 Nov 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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