Summary

In this chapter, we learned how to reproduce a smart plug using the Raspberry Pi Zero. We built a device that can control electrical devices and also measure their energy consumption. We built a nice interface to control this device, and also made it log data on the Pi itself.

You can, of course, now improve this project in many ways. You could, for example, plot the data measured by the project and have a real-time graph of the energy consumption of the device. For the more adventurous, you could also think about integrating all the components into a nice 3D-printed case, making it almost like a commercial smart plug.

In the following chapter, we are going to dive into an amazing field: the Internet of Things. We'll see how to use your Pi to send you all kinds of notifications about what is going on in your home.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset