pyRFXtrx
A library to communicate with the RFXtrx family of devices
What it is and what it does
pyRFXtrx is a Python interface to RFXtrx RF receiver/transmitter devices, which capture and send wireless signals from home automation sensors and controllers. It bridges the gap between RFXtrx hardware and Python applications, allowing you to receive events from wireless sensors and control RF-enabled devices. The library handles serial communication with the device via pyserial and parses incoming RF packets into usable Python objects.
The package targets developers building custom automation logic or integrating RFXtrx devices into broader systems. It requires only pyserial as a runtime dependency and supports Python 3.9 or later, making it straightforward to integrate into existing Python projects that need RF sensor data.
Use it for:
- Receive wireless sensor data from RFXtrx-compatible devices in a home automation system.
- Build a custom Python daemon that listens to RF signals and triggers local actions.
- Integrate RFXtrx hardware with home automation platforms via a Python bridge.
- Send RF commands to control wireless devices through the RFXtrx transmitter.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python library that communicates with RFXtrx devices to receive RF signals for home automation and sensor data collection.
Yes, if you own an RFXtrx device and need Python-level control over RF signals. The library is actively maintained, has low install friction, and the copyleft license is standard for this project type. Not relevant if you don't have RFXtrx hardware.
Install
pyrfxtrx on PyPI
pip
pip install pyrfxtrxuv
uv add pyrfxtrxpoetry
poetry add pyrfxtrxInstalling pyRFXtrx
Before you install
Low install friction with a single runtime dependency (pyserial). Actively maintained with a recent release 88 days ago and ongoing repository activity.
License in practice
Licensed under LGPL-3.0-or-later (copyleft). You may use and modify the library freely, but any derivative works must also be distributed under a compatible copyleft license.
Quickstart
pip install pyRFXtrx
import pyrfxtrx
# Connect to RFXtrx device and listen for RF signals
device = pyrfxtrx.Connect('/dev/ttyUSB0')
device.event_callback = callback_function
Requires a physical RFXtrx device connected via serial port and Python 3.9 or later.
Verify before relying
- Which RFXtrx device models and firmware versions are supported.
- Performance characteristics when handling high-frequency RF signal streams.
- Specific integration capabilities with Home Assistant.
Package facts
| License | LGPL-3.0-or-later (copyleft) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — pyserial |
| Maintenance | actively maintained — 88 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 74,634/month — #14,808 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyrfxtrx-0.34.0-py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
zigpy-xbeeEnables zigpy to communicate with XBee-based…
copyleft · top 15,000 on PyPI
PyRICPyRIC provides programmatic control over Linux…
copyleft · top 15,000 on PyPI
rflinkLibrary and command-line interface for…
permissive · top 15,000 on PyPI
pydexcomFetches real-time glucose readings from Dexcom…
permissive · top 15,000 on PyPI
zigpy-znpAdds support for Texas Instruments ZNP Zigbee…
copyleft · top 15,000 on PyPI
python-ipmiPure Python library for communicating with…
copyleft · top 15,000 on PyPI
zigpy-zigateProvides a Python 3 driver for ZiGate Zigbee…
copyleft · top 15,000 on PyPI
rf-protocolsDecodes and encodes radio frequency signals for…
permissive · top 15,000 on PyPI
broadlinkA Python module and CLI for discovering,…
permissive · top 15,000 on PyPI
scikit-rfscikit-rf is an object-oriented Python library…
permissive · top 15,000 on PyPI