Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.19 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.19 KB

About rfoutlet-pi

This is a super-simple standalone program for controlling the Etekcity Wireless Remote Control Electrical Outlet Switches, 5-pack or 3-pack, and probably other models, from your Raspberry Pi.

The code is based off of that of 433Utils, although it has been cleaned up and reduced to the bare bones minimum. It is also written in C rather than C++.

Requirements

  • Raspberry Pi
  • Development toolchain; git, gcc, etc.
  • RF 433 MHz transmitter module, such as this one from SMAKN

Installation and Usage

  1. Wire the 433 MHz module up to wiringPi ping 0 (Broadcom pin 17)
  2. Install wiringpi if you don't have it already; this should be available on your Pi distro of choice
  3. Clone this repository
  4. Run make
  5. Run a command like ./rfoutlet 1 on to turn switch 1 on

Inspiration and related projects