📻 pyrtl_433
A standalone, dependency-light async client for the rtl_433 HTTP server's
WebSocket + /cmd API.
pyrtl_433 speaks the transport/protocol half of an rtl_433 receiver: it
connects to one server over a WebSocket, parses the JSON event stream, and drives
the HTTP /cmd endpoint that reports and controls the SDR configuration.
Deliberate non-scope: this is a client, not a policy engine. It does not
include the Home Assistant integration's entity model, desired-state store, SDR
adoption/enforcement, or availability watchdog. It emits normalized,
replay-classified events and gives you the /cmd setter primitive plus the SDR
value transforms — you build any higher-level policy on top.
Full documentation: https://rtl-433-hass.github.io/pyrtl_433/latest/
Install
This project is uv-first. Not yet published to PyPI; once it is:
uv add pyrtl_433
From a clone of this repository: uv pip install .. See the
installation guide
for pip and other options.
Quick start
Inject an aiohttp.ClientSession, construct the client, and consume events with
async for event in client (or an on_event callback):
import asyncio
import aiohttp
from pyrtl_433 import Rtl433Client
async def main() -> None:
async with aiohttp.ClientSession() as session:
client = Rtl433Client("192.0.2.10", session=session)
await client.start()
try:
async for event in client:
if event.is_replay:
continue # already-seen / stale-gap frame; seed only, don't act
print(event.device_key, event.model, event.fields)
finally:
await client.stop()
asyncio.run(main())
See the
Quick Start guide
for the callback style, the full constructor signature, and SDR /cmd writes.
Documentation
License
Apache-2.0. This library was extracted from the transport/protocol code of the
rtl-433-hass/rtl_433 Home Assistant integration. See LICENSE and
NOTICE for the source modules and attribution.
Metadata
Release files for pyrtl-433 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyrtl_433-0.2.0.tar.gz | 64.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyrtl_433-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 94.6 kB
Release files / pyrtl_433-0.2.0.tar.gz
| Download URL | pyrtl_433-0.2.0.tar.gz |
|---|---|
| Size | 64.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc8decb4250b77fc15cc43e836d28132f8a75cd84bc759b233b35d8b5db5100d
|
|
BLAKE2b-256 checksum How to use checksums |
c5a8fb1106f5f0cf2a1ece3e3b78e47f1ddcd5974b875fd2221363af7050c54a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 17, 2026.
Transparency logRelease files / pyrtl_433-0.2.0-py3-none-any.whl
| Download URL | pyrtl_433-0.2.0-py3-none-any.whl |
|---|---|
| Size | 30.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d60ca3239f2088759f6dfdeffd7b747b8b8b78c934e4461f91c6b68021720310
|
|
BLAKE2b-256 checksum How to use checksums |
2aacb7486e059781b4a7d099c4a4b7018bb30129ddac94abb82ae3d179e763f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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 Jul 17, 2026.
Transparency log