In the second project of the book, we will continue to use the features of the Arduino Yún to connect to the Web using the web service Temboo. One thing people usually want to do in home automation is follow the energy consumption of their electrical devices and turn them on or off remotely, for example, using their smartphones or tablets.
Of course, many devices that currently exist can measure energy consumption on a power socket as well as being able to switch the device that is connected to this socket on and off. These devices are now very compact and easy to connect to a local Wi-Fi network, and these can also communicate with mobile devices using Bluetooth. Many large electronics manufacturers have developed their own solutions, and everyone can now buy these products and install them in their homes.
In this project, we are going to build our own do-it-yourself version of such a device and build a power switch and energy...