Raspberry Pi – Relay use, X10 and Motion Detector
In this document we are going to launch a Raspberry Pi with some very practical functions that can make us think about implementing a home automation system, Super simple and cheap. On the one hand, we will connect a relay that will allow us to switch circuits like the lights at home, and on the other a motion sensor that will allow us to perform the function we are interested in, such as turning on those same lights and therefore not having to turn on the lights in the house anymore =)