Arduino.
Arduino Is a a cheap circuit board that you can program to do about anything that you want it to do. for example you could program it to do simple things like turn on alight bulb or more advanced things such as make your lights turns of when you hit play on your TV remote or create types of robots.