--- id: pyrfxtrx version: "0.34.0" license: LGPL-3.0-or-later license_treatment: copyleft maintenance: active --- # pyRFXtrx — A library to communicate with the RFXtrx family of devices License: copyleft · Maintenance: active · Downloads: 74.6K/mo ## 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 above — 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 pip install pyrfxtrx uv add pyrfxtrx 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_current - Install friction: low - Maintenance: active - Downloads: 74.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags rfxtrx device communication, home automation rf receiver, rfxcom python library, rf sensor data collection, wireless sensor integration, home-automation, rf-receiver, iot [View on SkillFed](https://skillfed.io/packages/pyrfxtrx) · [View on PyPI](https://pypi.org/project/pyrfxtrx/)