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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rfdevices-0.3.0.tar.gz | 24.3 kB | Without provenance | Details for rfdevices-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rfdevices-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for rfdevices-0.3.0-py3-none-any.whl |
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 |
Security for rfdevices 0.3.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.