RFOutlet library
A Raspberry PI C++ library with python bindings for controlling Holiday Time RF outlets.
It needs a 315 MHz transmitter module hooked up to a GPIO pin.
The outlets are specified with a board revision, channel, and outlet number.
If unsure of the board revision, try REV2 and REV3.
Dependencies
CMake 2.8 or Python 2 or 3
How to use
- Executable command line interface for sending one shot on/off commands
./rfoutlet [gpio-pin] [product-revision] [channel] [number] [on/off]
- Python object
import pyrfoutlet import logging logging.basicConfig(level=logging.INFO) # Get log messages from pyrfoutlet pin = 4 rfoutlet = pyrfoutlet.RFOutlet(pin) product = pyrfoutlet.parseProduct("REV3") channel = "F" outlet = 1 rfoutlet.setState(product,channel,outlet,True)
License
MIT License
Any questions please contact: alan@lightningtoads.com
Metadata
Release files for pyrfoutlet 0.0.2
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 |
|---|---|---|---|---|
| pyrfoutlet-0.0.2.tar.gz | 8.3 kB | Without provenance | Details for pyrfoutlet-0.0.2.tar.gz |
Release files / pyrfoutlet-0.0.2.tar.gz
| Download URL | pyrfoutlet-0.0.2.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4bb129fa9db7823df7dcbf2e65e682fefc6c51df58f2988dacc50eb4ebad051b
|
|
BLAKE2b-256 checksum How to use checksums |
3137802653b7689e15e5ba3f7825ebfabd21a236501c4b48d151a0cb3f4a466d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyrfoutlet 0.0.2
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.