Ever wondered how to control items like your fans, lights, and more using your phone or computer from anywhere? I was looking to control my Christmas lights using any mobile phone, tablet, laptop... simply by using a Raspberry Pi. Let me show you how to operate relays and control GPIO pins with the Pi using PHP and a temperature sensor. I put them all together using AJAX. [OS_EMBEDDED_MENU_RIGHT:]