Skip to main content

Introduction

High level RF library for interacting with common devices.

Requirements

  • Python 3

  • Native GPIO library (see Installation)

Installation

Clone this repo locally, then: bash pip install rfdevices

Native GPIO Library

For GPIO operations, this library uses adafruit/Adafruit_Python_GPIO for compatibility with multiple SoC boards. As a result, you’ll need to ensure you manually install your platform’s GPIO library.

If you have a Raspberry Pi: bash pip install RPi.GPIO See RPi.GPIO on Sourceforge for more information.

If you have a Beaglebone Black: bash pip install Adafruit_BBIO See adafruit/adafruit-beaglebone-io-python for more information.

If you have an Intel (e.g. Galileo, Edison) board, follow the instructions at intel-iot-devkit/mraa.

Usage

After installing, the rfsend tool will be available in your PATH.

Here’s an example of sending a command to a UC7070T (Harbor Breeze) fan to toggle the light on/off: bash # GPIO pin 23 / fan dipswitch set to 1101 rpi-rftx -g 23 -t uc7070t -b 111010000001

Credits

This was originally forked from `milaq/rpi-rf <https://github.com/milaq/rpi-rf>`_.

Portions of the code are: Copyright (c) 2016 Suat Özgür, Micha LaQua Copyright (c) 2017 Milas Bowman

Release files for rfdevices 0.3.0

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

Source distribution (sdist)

Source distribution for rfdevices 0.3.0
File Size Uploaded
rfdevices-0.3.0.tar.gz 24.3 kB Details

Built distribution (wheel)

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

Total release size: 39.4 kB

Release files / rfdevices-0.3.0.tar.gz

Download URL rfdevices-0.3.0.tar.gz
Size 24.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5ee50427ce9ba4110ba255279a9eaf87f664e4e9cee78a3298136ce23b6494a2
BLAKE2b-256 checksum
How to use checksums
b55c20ca80dac783b7e27bada93a0e5036114a3da6a895a47d353231d3bc07f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / rfdevices-0.3.0-py3-none-any.whl

Download URL rfdevices-0.3.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9efc7cc2fe142538610b8f7cae375364cb9d0e838b8e4142ac36fcdfd3c256c7
BLAKE2b-256 checksum
How to use checksums
adcb95d6b7db2ee8a2f6fc22383ea0943f87fbf84923b6f39c350dd07272a994
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

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