This project is an Arduino compatible software that control a power line using InfraRed remote control.
You can see it working on Youtube:
https://www.youtube.com/watch?v=q09QiujExD4
I made it with Arduino Uno and Aduino IDE 1.8.0.
I have replaced the default arduino InfraRed(because it doesn't compile) with this:
https://github.com/z3t0/Arduino-IRremote
If it compile on your machine you didn't replace, no changes need be done on code with both libraries.