Skip to main content

Qbus MQTT API

Python library for the MQTT protocol used by Qbus home automation controllers. It powers the Qbus integration in Home Assistant.

The library handles the conversion between Qbus MQTT messages and Python objects:

  • Discovery: parse the controller configuration into devices and their outputs.
  • State: read and write the state of outputs such as switches, dimmers, shutters, thermostats and weather stations.
  • Requests and topics: build command payloads and the MQTT topics to publish them on.

It doesn't connect to an MQTT broker itself; use it together with your MQTT client of choice.

Installation

pip install qbusmqttapi

Development

Requires Python 3.12 or newer.

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.dev.txt -e .

Linting and type checking:

ruff check src
ruff format src
pylint src/qbusmqttapi
mypy src

Ruff handles formatting and most lint rules. Pylint is used for the checks Ruff doesn't implement; overlapping messages are disabled in .pylintrc.toml.

Run tests with pytest.

When opening the project in VS Code, accept the prompt to install the recommended extensions (see .vscode/extensions.json).

Metadata

Release files for qbusmqttapi 1.6.1

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

Source distribution (sdist)

Source distribution for qbusmqttapi 1.6.1
File Size Uploaded Provenance Actions
qbusmqttapi-1.6.1.tar.gz 22.6 kB With provenance Details for qbusmqttapi-1.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qbusmqttapi 1.6.1
File Interpreter ABI Platform Actions
qbusmqttapi-1.6.1-py3-none-any.whl Python 3 none any Details for qbusmqttapi-1.6.1-py3-none-any.whl

Total release size: 38.8 kB

Release files / qbusmqttapi-1.6.1.tar.gz

Download URL qbusmqttapi-1.6.1.tar.gz
Size 22.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ce3ce877feecddbf0f52bc202eac13dd250f06a3d05462e29e9aa949c019d3ec
BLAKE2b-256 checksum
How to use checksums
ee17e1ae0be490c426df34ceff642d1f3b3a23974962122ab3104ed1bb3d804a
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 22, 2026.

Transparency log

Release files / qbusmqttapi-1.6.1-py3-none-any.whl

Download URL qbusmqttapi-1.6.1-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d2928f3339dadf1a02edb499006c051c54f7f89bb387107091e8abe045498ea7
BLAKE2b-256 checksum
How to use checksums
185c0f6d7031aa03a55d928baa5ad978a137e00ea54675413fe4de488efbece4
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 22, 2026.

Transparency log

Security for qbusmqttapi 1.6.1

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 qbusmqttapi-1.6.1.tar.gz

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 22, 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.

Release history Release notifications | RSS feed

This release

1.6.1 This release

2 release files Full provenance

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