This is a modified version of RC-Switch. It contains the fix for a bug (preent only on Raspberry Pi). The bug does not allow to receive after sending some data. The library is modified so that it is still compatible to Arduino. Thank you very to sui77 and the other contributors for a so smart and useful library.
Use your Arduino or Raspberry Pi to operate remote radio controlled devices
https://github.com/simonepernice/rc-switch/releases/latest
rc-switch is also listed in the arduino library manager.
https://github.com/sui77/rc-switch/wiki
Use your Arduino or Raspberry Pi to operate remote radio controlled devices. This will most likely work with all popular low cost power outlet sockets. If yours doesn't work, you might need to adjust the pulse length.
All you need is a Arduino or Raspberry Pi, a 315/433MHz AM transmitter and one or more devices with one of the supported chipsets:
- SC5262 / SC5272
- HX2262 / HX2272
- PT2262 / PT2272
- EV1527 / RT1527 / FP1527 / HS1527
- Intertechno outlets
- HT6P20X
Find out what codes your remote is sending. Use your remote to control your Arduino.
All you need is an Arduino, a 315/433MHz AM receiver (altough there is no instruction yet, yes it is possible to hack an existing device) and a remote hand set.
For the Raspberry Pi, clone the https://github.com/ninjablocks/433Utils project to compile a sniffer tool and transmission commands.