skillfed

pyRFXtrx

A library to communicate with the RFXtrx family of devices

pyrfxtrx v0.34.0 74.6K downloads/30d#14,808 on PyPI41
Copyleft license LGPL-3.0-or-later Active released

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 pyrfxtrx

uv

uv add pyrfxtrx

poetry

poetry add pyrfxtrx

Installing 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

Development Status :: 3 - AlphaEnvironment :: Other EnvironmentIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonTopic :: Home AutomationTopic :: Software Development :: Libraries :: Python Modules

Tags

rfxtrx device communicationhome automation rf receiverrfxcom python libraryrf sensor data collectionwireless sensor integration
home-automationrf-receiveriot

More Python Modules packages