Skip to main content

A library for controlling Holiday Time rf outlets

Project description

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.


  • 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


  • MIT License

Any questions please contact:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyrfoutlet-0.0.2.tar.gz (8.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page