Book Review: IoT Home Hacks with ESP8266
The Raspberry Pi is a tremendous device for controlling things around the house, but for many applications it is overkill. A platform based on a microcontroller is then more appropriate. The ESP8266 is a popular platform for IoT applications that connect via WiFi. It is Arduino based, you can find many cheap ESP8266 boards and you have access to various analogue and digital pins.