Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 757 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 757 Bytes

About

Fork of the rcswitch-pi library. Use for controlling rc remote controlled power sockets with the raspberry pi. This fork has been slightly changed to work specificially with the 'Watts Clever' outlets as sold by Jaycar Electroncis in Australia. Kudos to the original projects: rcswitch-pi, rc-switch and wiringpi.

Usage

First you have to install the wiringpi library. After that you can compile the example program send by executing make. You can then send a command using: sudo ./send <pin> <unitNumber> <command>

For example, to turn unit 4 on when the transmitter is connected to wiring pi pin 9: sudo ./send 9 4 1